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 Strategy Pattern.
Apr 20, 2004
Copyright (c) 2003-2020, The GENIE Collaboration For the full text of the license visit http://copyright.genie-mc.org
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.
bool ELFormFactors::Compare | ( | const ELFormFactors & | ff | ) | const |
Definition at line 89 of file ELFormFactors.cxx.
void ELFormFactors::Copy | ( | const ELFormFactors & | ff | ) |
Definition at line 80 of file ELFormFactors.cxx.
|
inline |
|
inline |
|
inline |
|
inline |
|
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 |
Definition at line 99 of file ELFormFactors.cxx.
void ELFormFactors::Reset | ( | Option_t * | opt = "" | ) |
Definition at line 66 of file ELFormFactors.cxx.
void ELFormFactors::SetModel | ( | const ELFormFactorsModelI * | model | ) |
|
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.