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 Strategy Pattern.
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.
April 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 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.
bool QELFormFactors::Compare | ( | const QELFormFactors & | ff | ) | const |
Definition at line 88 of file QELFormFactors.cxx.
void QELFormFactors::Copy | ( | const QELFormFactors & | ff | ) |
Definition at line 78 of file QELFormFactors.cxx.
|
inline |
|
inline |
|
inline |
|
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 |
Definition at line 98 of file QELFormFactors.cxx.
void QELFormFactors::Reset | ( | Option_t * | opt = "" | ) |
Definition at line 64 of file QELFormFactors.cxx.
void QELFormFactors::SetModel | ( | const QELFormFactorsModelI * | model | ) |
|
inline |
|
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.