|
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. | |
| void | Calculate (const Interaction *interaction) |
| Compute the form factors for the input interaction using the attached model. | |
| double | F1V (void) const |
| Get the computed form factor F1V. | |
| double | xiF2V (void) const |
| Get the computed form factor xi*F2V. | |
| double | FA (void) const |
| Get the computed form factor FA. | |
| double | Fp (void) const |
| Get the computed form factor Fp. | |
| const QELFormFactorsModelI * | Model (void) const |
| Get the attached model. | |
| 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.
References Reset().
Referenced by Compare(), Copy(), operator<<, operator=(), operator==(), and QELFormFactors().
| QELFormFactors::QELFormFactors | ( | const QELFormFactors & | form_factors | ) |
Definition at line 38 of file QELFormFactors.cxx.
References Copy(), and QELFormFactors().
|
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.
References F1V(), FA(), fF1V, fFA, fFp, fModel, Fp(), fxiF2V, LOG, pERROR, Reset(), and xiF2V().
| bool QELFormFactors::Compare | ( | const QELFormFactors & | ff | ) | const |
Definition at line 88 of file QELFormFactors.cxx.
References genie::utils::math::AreEqual(), fF1V, fFA, fFp, fxiF2V, and QELFormFactors().
Referenced by operator==().
| void QELFormFactors::Copy | ( | const QELFormFactors & | ff | ) |
Definition at line 78 of file QELFormFactors.cxx.
References fF1V, fFA, fFp, fModel, fxiF2V, and QELFormFactors().
Referenced by operator=(), and QELFormFactors().
|
inline |
Get the computed form factor F1V.
Definition at line 53 of file QELFormFactors.h.
References fF1V.
Referenced by Calculate().
|
inline |
Get the computed form factor FA.
Definition at line 59 of file QELFormFactors.h.
References fFA.
Referenced by Calculate().
|
inline |
Get the computed form factor Fp.
Definition at line 62 of file QELFormFactors.h.
References fFp.
Referenced by Calculate().
|
inline |
| QELFormFactors & QELFormFactors::operator= | ( | const QELFormFactors & | ff | ) |
Definition at line 112 of file QELFormFactors.cxx.
References Copy(), and QELFormFactors().
| bool QELFormFactors::operator== | ( | const QELFormFactors & | ff | ) | const |
Definition at line 107 of file QELFormFactors.cxx.
References Compare(), and QELFormFactors().
| void QELFormFactors::Print | ( | ostream & | stream | ) | const |
Definition at line 98 of file QELFormFactors.cxx.
References fF1V, fFA, fFp, and fxiF2V.
Referenced by operator<<.
| void QELFormFactors::Reset | ( | Option_t * | opt = "" | ) |
Definition at line 64 of file QELFormFactors.cxx.
References fF1V, fFA, fFp, fModel, and fxiF2V.
Referenced by Calculate(), QELFormFactors(), and SetModel().
| void QELFormFactors::SetModel | ( | const QELFormFactorsModelI * | model | ) |
|
inline |
Get the computed form factor xi*F2V.
Definition at line 56 of file QELFormFactors.h.
References fxiF2V.
Referenced by Calculate().
|
friend |
Definition at line 26 of file QELFormFactors.cxx.
References Print(), and QELFormFactors().
|
private |
Definition at line 78 of file QELFormFactors.h.
Referenced by Calculate(), Compare(), Copy(), F1V(), Print(), and Reset().
|
private |
Definition at line 80 of file QELFormFactors.h.
Referenced by Calculate(), Compare(), Copy(), FA(), Print(), and Reset().
|
private |
Definition at line 81 of file QELFormFactors.h.
Referenced by Calculate(), Compare(), Copy(), Fp(), Print(), and Reset().
|
private |
Definition at line 83 of file QELFormFactors.h.
Referenced by Calculate(), Copy(), Model(), Reset(), and SetModel().
|
private |
Definition at line 79 of file QELFormFactors.h.
Referenced by Calculate(), Compare(), Copy(), Print(), Reset(), and xiF2V().