GENIEGenerator
|
A class holding Quasi Elastic (QEL) Form Factors. More...
#include <QELFormFactors.h>
Public Member Functions | |
QELFormFactors () | |
QELFormFactors (const QELFormFactors &form_factors) | |
virtual | ~QELFormFactors () |
void | SetModel (const QELFormFactorsModelI *model) |
Attach an algorithm. More... | |
void | Calculate (const Interaction *interaction) |
Compute the form factors for the input interaction using the attached model. More... | |
double | F1V (void) const |
Get the computed form factor F1V. More... | |
double | xiF2V (void) const |
Get the computed form factor xi*F2V. More... | |
double | FA (void) const |
Get the computed form factor FA. More... | |
double | Fp (void) const |
Get the computed form factor Fp. More... | |
const QELFormFactorsModelI * | Model (void) const |
Get the attached model. More... | |
void | Reset (Option_t *opt="") |
void | Copy (const QELFormFactors &ff) |
bool | Compare (const QELFormFactors &ff) const |
void | Print (ostream &stream) const |
bool | operator== (const QELFormFactors &ff) const |
QELFormFactors & | operator= (const QELFormFactors &ff) |
Private Attributes | |
double | fF1V |
double | fxiF2V |
double | fFA |
double | fFp |
const QELFormFactorsModelI * | fModel |
Friends | |
ostream & | operator<< (ostream &stream, const QELFormFactors &ff) |
A class holding Quasi Elastic (QEL) Form Factors.
This class is using the \b Strategy Pattern. \n It can accept requests to calculate itself, for a given interaction, that it then delegates to the algorithmic object, implementing the QELFormFactorsModelI interface, that it finds attached to itself.
Definition at line 38 of file QELFormFactors.h.
QELFormFactors::QELFormFactors | ( | ) |
Definition at line 33 of file QELFormFactors.cxx.
QELFormFactors::QELFormFactors | ( | const QELFormFactors & | form_factors | ) |
Definition at line 38 of file QELFormFactors.cxx.
|
inlinevirtual |
Definition at line 44 of file QELFormFactors.h.
void QELFormFactors::Calculate | ( | const Interaction * | interaction | ) |
Compute the form factors for the input interaction using the attached model.
Definition at line 49 of file QELFormFactors.cxx.
Referenced by genie::SmithMonizQELCCPXSec::d3sQES_dQ2dvdkF_SM(), genie::SmithMonizQELCCPXSec::dsQES_dQ2_SM(), genie::LwlynSmithQELCCPXSec::FullDifferentialXSec(), genie::LwlynSmithQELCCPXSec::XSec(), genie::PaisQELLambdaPXSec::XSec(), genie::NievesQELCCPXSec::XSec(), and genie::MKSPPPXSec2020::XSec().
bool QELFormFactors::Compare | ( | const QELFormFactors & | ff | ) | const |
Definition at line 88 of file QELFormFactors.cxx.
References genie::utils::math::AreEqual(), fF1V, fFA, fFp, and fxiF2V.
void QELFormFactors::Copy | ( | const QELFormFactors & | ff | ) |
|
inline |
Get the computed form factor F1V.
Definition at line 53 of file QELFormFactors.h.
References fF1V.
Referenced by genie::SmithMonizQELCCPXSec::d3sQES_dQ2dvdkF_SM(), genie::SmithMonizQELCCPXSec::dsQES_dQ2_SM(), genie::LwlynSmithQELCCPXSec::FullDifferentialXSec(), genie::NievesQELCCPXSec::LmunuAnumu(), genie::LwlynSmithQELCCPXSec::XSec(), genie::PaisQELLambdaPXSec::XSec(), and genie::MKSPPPXSec2020::XSec().
|
inline |
Get the computed form factor FA.
Definition at line 59 of file QELFormFactors.h.
References fFA.
Referenced by genie::SmithMonizQELCCPXSec::d3sQES_dQ2dvdkF_SM(), genie::SmithMonizQELCCPXSec::dsQES_dQ2_SM(), genie::LwlynSmithQELCCPXSec::FullDifferentialXSec(), genie::NievesQELCCPXSec::LmunuAnumu(), genie::LwlynSmithQELCCPXSec::XSec(), genie::PaisQELLambdaPXSec::XSec(), and genie::MKSPPPXSec2020::XSec().
|
inline |
Get the computed form factor Fp.
Definition at line 62 of file QELFormFactors.h.
References fFp.
Referenced by genie::SmithMonizQELCCPXSec::d3sQES_dQ2dvdkF_SM(), genie::SmithMonizQELCCPXSec::dsQES_dQ2_SM(), genie::LwlynSmithQELCCPXSec::FullDifferentialXSec(), genie::NievesQELCCPXSec::LmunuAnumu(), and genie::LwlynSmithQELCCPXSec::XSec().
|
inline |
QELFormFactors & QELFormFactors::operator= | ( | const QELFormFactors & | ff | ) |
Definition at line 112 of file QELFormFactors.cxx.
bool QELFormFactors::operator== | ( | const QELFormFactors & | ff | ) | const |
Definition at line 107 of file QELFormFactors.cxx.
void QELFormFactors::Print | ( | ostream & | stream | ) | const |
void QELFormFactors::Reset | ( | Option_t * | opt = "" | ) |
Definition at line 64 of file QELFormFactors.cxx.
void QELFormFactors::SetModel | ( | const QELFormFactorsModelI * | model | ) |
Attach an algorithm.
Definition at line 43 of file QELFormFactors.cxx.
Referenced by genie::LwlynSmithQELCCPXSec::LoadConfig(), genie::PaisQELLambdaPXSec::LoadConfig(), genie::NievesQELCCPXSec::LoadConfig(), genie::SmithMonizQELCCPXSec::LoadConfig(), and genie::MKSPPPXSec2020::LoadConfig().
|
inline |
Get the computed form factor xi*F2V.
Definition at line 56 of file QELFormFactors.h.
References fxiF2V.
Referenced by genie::SmithMonizQELCCPXSec::d3sQES_dQ2dvdkF_SM(), genie::SmithMonizQELCCPXSec::dsQES_dQ2_SM(), genie::LwlynSmithQELCCPXSec::FullDifferentialXSec(), genie::NievesQELCCPXSec::LmunuAnumu(), genie::LwlynSmithQELCCPXSec::XSec(), genie::PaisQELLambdaPXSec::XSec(), and genie::MKSPPPXSec2020::XSec().
|
friend |
Definition at line 26 of file QELFormFactors.cxx.
|
private |
Definition at line 78 of file QELFormFactors.h.
|
private |
Definition at line 80 of file QELFormFactors.h.
|
private |
Definition at line 81 of file QELFormFactors.h.
|
private |
Definition at line 83 of file QELFormFactors.h.
|
private |
Definition at line 79 of file QELFormFactors.h.