|
GENIEGenerator
|
A class holding Deep Inelastic Scattering (DIS) Form Factors (invariant structure funstions) More...
#include <DISStructureFunc.h>

Public Member Functions | |
| DISStructureFunc () | |
| DISStructureFunc (const DISStructureFunc &form_factors) | |
| virtual | ~DISStructureFunc () |
| void | SetModel (const DISStructureFuncModelI *model) |
| Attach an algorithm. More... | |
| void | Calculate (const Interaction *interaction) |
| Calculate the S/F's for the input interaction using the attached algorithm. More... | |
| double | F1 (void) const |
| Get the computed structure function F1. More... | |
| double | F2 (void) const |
| Get the computed structure function F2. More... | |
| double | F3 (void) const |
| Get the computed structure function F3. More... | |
| double | F4 (void) const |
| Get the computed structure function F4. More... | |
| double | F5 (void) const |
| Get the computed structure function F5. More... | |
| double | F6 (void) const |
| Get the computed structure function F6. More... | |
| const DISStructureFuncModelI * | Model (void) const |
| Get the attached model. More... | |
| void | Reset (Option_t *opt="") |
| void | Copy (const DISStructureFunc &sf) |
| bool | Compare (const DISStructureFunc &sf) const |
| void | Print (ostream &stream) const |
| bool | operator== (const DISStructureFunc &sf) const |
| DISStructureFunc & | operator= (const DISStructureFunc &sf) |
Private Attributes | |
| double | fF1 |
| double | fF2 |
| double | fF3 |
| double | fF4 |
| double | fF5 |
| double | fF6 |
| const DISStructureFuncModelI * | fModel |
Friends | |
| ostream & | operator<< (ostream &stream, const DISStructureFunc &sf) |
A class holding Deep Inelastic Scattering (DIS) Form Factors (invariant structure funstions)
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
DISStructureFuncModelI interface, that it finds attached to itself.
Definition at line 39 of file DISStructureFunc.h.
| DISStructureFunc::DISStructureFunc | ( | ) |
Definition at line 33 of file DISStructureFunc.cxx.
| DISStructureFunc::DISStructureFunc | ( | const DISStructureFunc & | form_factors | ) |
Definition at line 38 of file DISStructureFunc.cxx.
|
inlinevirtual |
Definition at line 44 of file DISStructureFunc.h.
| void DISStructureFunc::Calculate | ( | const Interaction * | interaction | ) |
Calculate the S/F's for the input interaction using the attached algorithm.
Definition at line 49 of file DISStructureFunc.cxx.
Referenced by BuildStdNtuple(), VerticalSlice(), genie::QPMDISPXSec::XSec(), and genie::QPMDMDISPXSec::XSec().
| bool DISStructureFunc::Compare | ( | const DISStructureFunc & | sf | ) | const |
Definition at line 96 of file DISStructureFunc.cxx.
References genie::utils::math::AreEqual(), fF1, fF2, fF3, fF4, fF5, and fF6.
| void DISStructureFunc::Copy | ( | const DISStructureFunc & | sf | ) |
Definition at line 84 of file DISStructureFunc.cxx.
References fF1, fF2, fF3, fF4, fF5, fF6, and fModel.
|
inline |
Get the computed structure function F1.
Definition at line 53 of file DISStructureFunc.h.
References fF1.
Referenced by BuildStdNtuple(), genie::QPMDISPXSec::XSec(), and genie::QPMDMDISPXSec::XSec().
|
inline |
Get the computed structure function F2.
Definition at line 56 of file DISStructureFunc.h.
References fF2.
Referenced by BuildStdNtuple(), genie::QPMDISPXSec::XSec(), and genie::QPMDMDISPXSec::XSec().
|
inline |
Get the computed structure function F3.
Definition at line 59 of file DISStructureFunc.h.
References fF3.
Referenced by BuildStdNtuple(), genie::QPMDISPXSec::XSec(), and genie::QPMDMDISPXSec::XSec().
|
inline |
Get the computed structure function F4.
Definition at line 62 of file DISStructureFunc.h.
References fF4.
Referenced by BuildStdNtuple(), genie::QPMDISPXSec::XSec(), and genie::QPMDMDISPXSec::XSec().
|
inline |
Get the computed structure function F5.
Definition at line 65 of file DISStructureFunc.h.
References fF5.
Referenced by BuildStdNtuple(), genie::QPMDISPXSec::XSec(), and genie::QPMDMDISPXSec::XSec().
|
inline |
Get the computed structure function F6.
Definition at line 68 of file DISStructureFunc.h.
References fF6.
|
inline |
Get the attached model.
Definition at line 71 of file DISStructureFunc.h.
References fModel.
| DISStructureFunc & DISStructureFunc::operator= | ( | const DISStructureFunc & | sf | ) |
Definition at line 129 of file DISStructureFunc.cxx.
| bool DISStructureFunc::operator== | ( | const DISStructureFunc & | sf | ) | const |
Definition at line 124 of file DISStructureFunc.cxx.
| void DISStructureFunc::Print | ( | ostream & | stream | ) | const |
| void DISStructureFunc::Reset | ( | Option_t * | opt = "" | ) |
Definition at line 68 of file DISStructureFunc.cxx.
| void DISStructureFunc::SetModel | ( | const DISStructureFuncModelI * | model | ) |
Attach an algorithm.
Definition at line 43 of file DISStructureFunc.cxx.
Referenced by BuildStdNtuple(), genie::QPMDISPXSec::LoadConfig(), genie::QPMDMDISPXSec::LoadConfig(), and VerticalSlice().
|
friend |
Definition at line 26 of file DISStructureFunc.cxx.
|
private |
Definition at line 84 of file DISStructureFunc.h.
|
private |
Definition at line 85 of file DISStructureFunc.h.
|
private |
Definition at line 86 of file DISStructureFunc.h.
|
private |
Definition at line 87 of file DISStructureFunc.h.
|
private |
Definition at line 88 of file DISStructureFunc.h.
|
private |
Definition at line 89 of file DISStructureFunc.h.
|
private |
Definition at line 91 of file DISStructureFunc.h.
1.8.5