GENIEGenerator
|
A class holding the Axial Form Factor. More...
#include <AxialFormFactor.h>
Public Member Functions | |
AxialFormFactor () | |
AxialFormFactor (const AxialFormFactor &form_factors) | |
virtual | ~AxialFormFactor () |
void | SetModel (const AxialFormFactorModelI *model) |
Attach an algorithm. More... | |
void | Calculate (const Interaction *interaction) |
Calculate the form factors for the input interaction using the attached algorithm. More... | |
double | FA (void) const |
Get the computed axial form factor. More... | |
const AxialFormFactorModelI * | Model (void) const |
Get the attached model. More... | |
void | Reset (Option_t *opt="") |
void | Copy (const AxialFormFactor &ff) |
bool | Compare (const AxialFormFactor &ff) const |
void | Print (ostream &stream) const |
bool | operator== (const AxialFormFactor &ff) const |
AxialFormFactor & | operator= (const AxialFormFactor &ff) |
Private Attributes | |
double | fFA |
const AxialFormFactorModelI * | fModel |
Friends | |
ostream & | operator<< (ostream &stream, const AxialFormFactor &ff) |
A class holding the Axial Form Factor.
This class is using the \b Strategy Pattern. \n
Definition at line 38 of file AxialFormFactor.h.
AxialFormFactor::AxialFormFactor | ( | ) |
Definition at line 37 of file AxialFormFactor.cxx.
AxialFormFactor::AxialFormFactor | ( | const AxialFormFactor & | form_factors | ) |
Definition at line 42 of file AxialFormFactor.cxx.
|
inlinevirtual |
Definition at line 43 of file AxialFormFactor.h.
void AxialFormFactor::Calculate | ( | const Interaction * | interaction | ) |
Calculate the form factors for the input interaction using the attached algorithm.
Definition at line 53 of file AxialFormFactor.cxx.
Referenced by CalculateFormFactor(), genie::LwlynSmithFF::FA(), and genie::LwlynSmithFF::StrangeFA().
bool AxialFormFactor::Compare | ( | const AxialFormFactor & | ff | ) | const |
Definition at line 83 of file AxialFormFactor.cxx.
References genie::utils::math::AreEqual(), and fFA.
void AxialFormFactor::Copy | ( | const AxialFormFactor & | ff | ) |
Definition at line 77 of file AxialFormFactor.cxx.
|
inline |
Get the computed axial form factor.
Definition at line 52 of file AxialFormFactor.h.
References fFA.
Referenced by CalculateFormFactor(), genie::LwlynSmithFF::FA(), and genie::LwlynSmithFF::StrangeFA().
|
inline |
AxialFormFactor & AxialFormFactor::operator= | ( | const AxialFormFactor & | ff | ) |
Definition at line 99 of file AxialFormFactor.cxx.
bool AxialFormFactor::operator== | ( | const AxialFormFactor & | ff | ) | const |
Definition at line 94 of file AxialFormFactor.cxx.
void AxialFormFactor::Print | ( | ostream & | stream | ) | const |
void AxialFormFactor::Reset | ( | Option_t * | opt = "" | ) |
Definition at line 66 of file AxialFormFactor.cxx.
void AxialFormFactor::SetModel | ( | const AxialFormFactorModelI * | model | ) |
Attach an algorithm.
Definition at line 47 of file AxialFormFactor.cxx.
Referenced by CalculateFormFactor(), and genie::LwlynSmithFF::LoadConfig().
|
friend |
Definition at line 30 of file AxialFormFactor.cxx.
|
private |
Definition at line 68 of file AxialFormFactor.h.
|
private |
Definition at line 70 of file AxialFormFactor.h.