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. More... | |
void | Calculate (const Interaction *interaction) |
Calculate the form factors for the input interaction using the attached algorithm. More... | |
double | Gep (void) const |
Get the computed form factor Gep. More... | |
double | Gmp (void) const |
Get the computed form factor Gmp. More... | |
double | Gen (void) const |
Get the computed form factor Gen. More... | |
double | Gmn (void) const |
Get the computed form factor Gmn. More... | |
const ELFormFactorsModelI * | Model (void) const |
Get the attached model. More... | |
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.
ELFormFactors::ELFormFactors | ( | const ELFormFactors & | form_factors | ) |
Definition at line 39 of file ELFormFactors.cxx.
|
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.
Referenced by genie::MKFFEM::F1N(), genie::LwlynSmithFF::F1N(), genie::MKFFEM::F1P(), genie::LwlynSmithFF::F1P(), genie::LwlynSmithFFNC::F1V(), genie::MKFFEM::F2N(), genie::LwlynSmithFF::F2N(), genie::MKFFEM::F2P(), genie::LwlynSmithFF::F2P(), genie::LwlynSmithFF::GVE(), genie::LwlynSmithFF::GVM(), main(), genie::LwlynSmithFFNC::xiF2V(), and genie::RosenbluthPXSec::XSec().
bool ELFormFactors::Compare | ( | const ELFormFactors & | ff | ) | const |
Definition at line 89 of file ELFormFactors.cxx.
References genie::utils::math::AreEqual(), fGen, fGep, fGmn, and fGmp.
void ELFormFactors::Copy | ( | const ELFormFactors & | ff | ) |
|
inline |
Get the computed form factor Gen.
Definition at line 56 of file ELFormFactors.h.
References fGen.
Referenced by genie::MKFFEM::F1N(), genie::LwlynSmithFF::F1N(), genie::MKFFEM::F2N(), genie::LwlynSmithFF::F2N(), genie::LwlynSmithFF::GVE(), main(), and genie::RosenbluthPXSec::XSec().
|
inline |
Get the computed form factor Gep.
Definition at line 50 of file ELFormFactors.h.
References fGep.
Referenced by genie::MKFFEM::F1P(), genie::LwlynSmithFF::F1P(), genie::LwlynSmithFFNC::F1V(), genie::MKFFEM::F2P(), genie::LwlynSmithFF::F2P(), genie::LwlynSmithFF::GVE(), main(), genie::LwlynSmithFFNC::xiF2V(), and genie::RosenbluthPXSec::XSec().
|
inline |
Get the computed form factor Gmn.
Definition at line 59 of file ELFormFactors.h.
References fGmn.
Referenced by genie::MKFFEM::F1N(), genie::LwlynSmithFF::F1N(), genie::MKFFEM::F2N(), genie::LwlynSmithFF::F2N(), genie::LwlynSmithFF::GVM(), main(), and genie::RosenbluthPXSec::XSec().
|
inline |
Get the computed form factor Gmp.
Definition at line 53 of file ELFormFactors.h.
References fGmp.
Referenced by genie::MKFFEM::F1P(), genie::LwlynSmithFF::F1P(), genie::LwlynSmithFFNC::F1V(), genie::MKFFEM::F2P(), genie::LwlynSmithFF::F2P(), genie::LwlynSmithFF::GVM(), main(), genie::LwlynSmithFFNC::xiF2V(), and genie::RosenbluthPXSec::XSec().
|
inline |
ELFormFactors & ELFormFactors::operator= | ( | const ELFormFactors & | ff | ) |
Definition at line 111 of file ELFormFactors.cxx.
bool ELFormFactors::operator== | ( | const ELFormFactors & | ff | ) | const |
Definition at line 106 of file ELFormFactors.cxx.
void ELFormFactors::Print | ( | ostream & | stream | ) | const |
void ELFormFactors::Reset | ( | Option_t * | opt = "" | ) |
Definition at line 66 of file ELFormFactors.cxx.
void ELFormFactors::SetModel | ( | const ELFormFactorsModelI * | model | ) |
Attach an algorithm.
Definition at line 44 of file ELFormFactors.cxx.
Referenced by genie::MKFFEM::LoadConfig(), genie::RosenbluthPXSec::LoadConfig(), genie::LwlynSmithFF::LoadConfig(), and main().
|
friend |
Definition at line 27 of file ELFormFactors.cxx.
|
private |
Definition at line 77 of file ELFormFactors.h.
|
private |
Definition at line 75 of file ELFormFactors.h.
|
private |
Definition at line 78 of file ELFormFactors.h.
|
private |
Definition at line 76 of file ELFormFactors.h.
|
private |
Definition at line 80 of file ELFormFactors.h.