|
GENIEGenerator
|
A class holding the Elastic Form Factors Ge,Gm. More...
#include <ELFormFactors.h>
Public Member Functions | |
| ELFormFactors () | |
| ELFormFactors (const ELFormFactors &form_factors) | |
| virtual | ~ELFormFactors () |
| void | SetModel (const ELFormFactorsModelI *model) |
| Attach an algorithm. | |
| void | Calculate (const Interaction *interaction) |
| Calculate the form factors for the input interaction using the attached algorithm. | |
| double | Gep (void) const |
| Get the computed form factor Gep. | |
| double | Gmp (void) const |
| Get the computed form factor Gmp. | |
| double | Gen (void) const |
| Get the computed form factor Gen. | |
| double | Gmn (void) const |
| Get the computed form factor Gmn. | |
| const ELFormFactorsModelI * | Model (void) const |
| Get the attached model. | |
| void | Reset (Option_t *opt="") |
| void | Copy (const ELFormFactors &ff) |
| bool | Compare (const ELFormFactors &ff) const |
| void | Print (ostream &stream) const |
| bool | operator== (const ELFormFactors &ff) const |
| ELFormFactors & | operator= (const ELFormFactors &ff) |
Private Attributes | |
| double | fGep |
| double | fGmp |
| double | fGen |
| double | fGmn |
| const ELFormFactorsModelI * | fModel |
Friends | |
| ostream & | operator<< (ostream &stream, const ELFormFactors &ff) |
A class holding the Elastic Form Factors Ge,Gm.
This class is using the \b Strategy Pattern. \n
Definition at line 36 of file ELFormFactors.h.
| ELFormFactors::ELFormFactors | ( | ) |
Definition at line 34 of file ELFormFactors.cxx.
References Reset().
Referenced by Compare(), Copy(), ELFormFactors(), operator<<, operator=(), and operator==().
| ELFormFactors::ELFormFactors | ( | const ELFormFactors & | form_factors | ) |
Definition at line 39 of file ELFormFactors.cxx.
References Copy(), and ELFormFactors().
|
inlinevirtual |
Definition at line 41 of file ELFormFactors.h.
| void ELFormFactors::Calculate | ( | const Interaction * | interaction | ) |
Calculate the form factors for the input interaction using the attached algorithm.
Definition at line 50 of file ELFormFactors.cxx.
References fGen, fGep, fGmn, fGmp, fModel, LOG, pERROR, and Reset().
Referenced by main().
| bool ELFormFactors::Compare | ( | const ELFormFactors & | ff | ) | const |
Definition at line 89 of file ELFormFactors.cxx.
References genie::utils::math::AreEqual(), ELFormFactors(), fGen, fGep, fGmn, and fGmp.
Referenced by operator==().
| void ELFormFactors::Copy | ( | const ELFormFactors & | ff | ) |
Definition at line 80 of file ELFormFactors.cxx.
References ELFormFactors(), fGen, fGep, fGmn, fGmp, and fModel.
Referenced by ELFormFactors(), and operator=().
|
inline |
Get the computed form factor Gen.
Definition at line 56 of file ELFormFactors.h.
References fGen.
Referenced by main().
|
inline |
Get the computed form factor Gep.
Definition at line 50 of file ELFormFactors.h.
References fGep.
Referenced by main().
|
inline |
Get the computed form factor Gmn.
Definition at line 59 of file ELFormFactors.h.
References fGmn.
Referenced by main().
|
inline |
Get the computed form factor Gmp.
Definition at line 53 of file ELFormFactors.h.
References fGmp.
Referenced by main().
|
inline |
| ELFormFactors & ELFormFactors::operator= | ( | const ELFormFactors & | ff | ) |
Definition at line 111 of file ELFormFactors.cxx.
References Copy(), and ELFormFactors().
| bool ELFormFactors::operator== | ( | const ELFormFactors & | ff | ) | const |
Definition at line 106 of file ELFormFactors.cxx.
References Compare(), and ELFormFactors().
| void ELFormFactors::Print | ( | ostream & | stream | ) | const |
Definition at line 99 of file ELFormFactors.cxx.
References fGen, fGep, fGmn, and fGmp.
Referenced by operator<<.
| void ELFormFactors::Reset | ( | Option_t * | opt = "" | ) |
Definition at line 66 of file ELFormFactors.cxx.
References fGen, fGep, fGmn, fGmp, and fModel.
Referenced by Calculate(), ELFormFactors(), and SetModel().
| void ELFormFactors::SetModel | ( | const ELFormFactorsModelI * | model | ) |
|
friend |
Definition at line 27 of file ELFormFactors.cxx.
References ELFormFactors(), and Print().
|
private |
Definition at line 77 of file ELFormFactors.h.
Referenced by Calculate(), Compare(), Copy(), Gen(), Print(), and Reset().
|
private |
Definition at line 75 of file ELFormFactors.h.
Referenced by Calculate(), Compare(), Copy(), Gep(), Print(), and Reset().
|
private |
Definition at line 78 of file ELFormFactors.h.
Referenced by Calculate(), Compare(), Copy(), Gmn(), Print(), and Reset().
|
private |
Definition at line 76 of file ELFormFactors.h.
Referenced by Calculate(), Compare(), Copy(), Gmp(), Print(), and Reset().
|
private |
Definition at line 80 of file ELFormFactors.h.
Referenced by Calculate(), Copy(), Model(), Reset(), and SetModel().