|
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. | |
| void | Calculate (const Interaction *interaction) |
| Calculate the S/F's for the input interaction using the attached algorithm. | |
| double | F1 (void) const |
| Get the computed structure function F1. | |
| double | F2 (void) const |
| Get the computed structure function F2. | |
| double | F3 (void) const |
| Get the computed structure function F3. | |
| double | F4 (void) const |
| Get the computed structure function F4. | |
| double | F5 (void) const |
| Get the computed structure function F5. | |
| double | F6 (void) const |
| Get the computed structure function F6. | |
| const DISStructureFuncModelI * | Model (void) const |
| Get the attached model. | |
| 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 Strategy Pattern.
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.
References Reset().
Referenced by Compare(), Copy(), DISStructureFunc(), operator<<, operator=(), and operator==().
| DISStructureFunc::DISStructureFunc | ( | const DISStructureFunc & | form_factors | ) |
Definition at line 38 of file DISStructureFunc.cxx.
References Copy(), and DISStructureFunc().
|
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.
References fF1, fF2, fF3, fF4, fF5, fF6, fModel, LOG, pERROR, and Reset().
Referenced by BuildStdNtuple(), MakePlots(), and VerticalSlice().
| bool DISStructureFunc::Compare | ( | const DISStructureFunc & | sf | ) | const |
Definition at line 96 of file DISStructureFunc.cxx.
References genie::utils::math::AreEqual(), DISStructureFunc(), fF1, fF2, fF3, fF4, fF5, and fF6.
Referenced by operator==().
| void DISStructureFunc::Copy | ( | const DISStructureFunc & | sf | ) |
Definition at line 84 of file DISStructureFunc.cxx.
References DISStructureFunc(), fF1, fF2, fF3, fF4, fF5, fF6, and fModel.
Referenced by DISStructureFunc(), and operator=().
|
inline |
Get the computed structure function F1.
Definition at line 53 of file DISStructureFunc.h.
References fF1.
Referenced by BuildStdNtuple(), and MakePlots().
|
inline |
Get the computed structure function F2.
Definition at line 56 of file DISStructureFunc.h.
References fF2.
Referenced by BuildStdNtuple(), and MakePlots().
|
inline |
Get the computed structure function F3.
Definition at line 59 of file DISStructureFunc.h.
References fF3.
Referenced by BuildStdNtuple(), and MakePlots().
|
inline |
Get the computed structure function F4.
Definition at line 62 of file DISStructureFunc.h.
References fF4.
Referenced by BuildStdNtuple(), and MakePlots().
|
inline |
Get the computed structure function F5.
Definition at line 65 of file DISStructureFunc.h.
References fF5.
Referenced by BuildStdNtuple(), and MakePlots().
|
inline |
Get the computed structure function F6.
Definition at line 68 of file DISStructureFunc.h.
References fF6.
Referenced by MakePlots().
|
inline |
| DISStructureFunc & DISStructureFunc::operator= | ( | const DISStructureFunc & | sf | ) |
Definition at line 129 of file DISStructureFunc.cxx.
References Copy(), and DISStructureFunc().
| bool DISStructureFunc::operator== | ( | const DISStructureFunc & | sf | ) | const |
Definition at line 124 of file DISStructureFunc.cxx.
References Compare(), and DISStructureFunc().
| void DISStructureFunc::Print | ( | ostream & | stream | ) | const |
Definition at line 108 of file DISStructureFunc.cxx.
References fF1, fF2, fF3, fF4, fF5, and fF6.
Referenced by operator<<.
| void DISStructureFunc::Reset | ( | Option_t * | opt = "" | ) |
Definition at line 68 of file DISStructureFunc.cxx.
References fF1, fF2, fF3, fF4, fF5, fF6, and fModel.
Referenced by Calculate(), DISStructureFunc(), and SetModel().
| void DISStructureFunc::SetModel | ( | const DISStructureFuncModelI * | model | ) |
Attach an algorithm.
Definition at line 43 of file DISStructureFunc.cxx.
References fModel, and Reset().
Referenced by BuildStdNtuple(), MakePlots(), and VerticalSlice().
|
friend |
Definition at line 26 of file DISStructureFunc.cxx.
References DISStructureFunc(), and Print().
|
private |
Definition at line 84 of file DISStructureFunc.h.
Referenced by Calculate(), Compare(), Copy(), F1(), Print(), and Reset().
|
private |
Definition at line 85 of file DISStructureFunc.h.
Referenced by Calculate(), Compare(), Copy(), F2(), Print(), and Reset().
|
private |
Definition at line 86 of file DISStructureFunc.h.
Referenced by Calculate(), Compare(), Copy(), F3(), Print(), and Reset().
|
private |
Definition at line 87 of file DISStructureFunc.h.
Referenced by Calculate(), Compare(), Copy(), F4(), Print(), and Reset().
|
private |
Definition at line 88 of file DISStructureFunc.h.
Referenced by Calculate(), Compare(), Copy(), F5(), Print(), and Reset().
|
private |
Definition at line 89 of file DISStructureFunc.h.
Referenced by Calculate(), Compare(), Copy(), F6(), Print(), and Reset().
|
private |
Definition at line 91 of file DISStructureFunc.h.
Referenced by Calculate(), Copy(), Model(), Reset(), and SetModel().