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 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.
May 05, 2004
Copyright (c) 2003-2020, The GENIE Collaboration For the full text of the license visit http://copyright.genie-mc.org
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.
| bool DISStructureFunc::Compare | ( | const DISStructureFunc & | sf | ) | const |
Definition at line 96 of file DISStructureFunc.cxx.
| void DISStructureFunc::Copy | ( | const DISStructureFunc & | sf | ) |
Definition at line 84 of file DISStructureFunc.cxx.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Get the attached model.
Definition at line 71 of file DISStructureFunc.h.
| 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 |
Definition at line 108 of file DISStructureFunc.cxx.
| 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.
|
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.11