17 using namespace genie;
18 using namespace genie::utils;
53 <<
"No DISStructureFuncModelI attached. Can not calculate SF's";
58 fModel->Calculate(interaction);
60 this->fF1 = fModel->F1();
61 this->fF2 = fModel->F2();
62 this->fF3 = fModel->F3();
63 this->fF4 = fModel->F4();
64 this->fF5 = fModel->F5();
65 this->fF6 = fModel->F6();
81 if(option.find(
"D") == string::npos) {this->fModel = 0;}
110 stream <<
"(F1-F6) = ("
111 << this->fF1 <<
", " << this->fF2 <<
", "
112 << this->fF3 <<
", " << this->fF4 <<
", "
113 << this->fF5 <<
", " << this->fF6 <<
")" << endl;
126 return this->Compare(sf);
void SetModel(const DISStructureFuncModelI *model)
Attach an algorithm.
Pure Abstract Base Class. Defines the DISStructureFuncModelI interface to be implemented by any algor...
bool AreEqual(double x1, double x2)
DISStructureFunc & operator=(const DISStructureFunc &sf)
const DISStructureFuncModelI * fModel
void Copy(const DISStructureFunc &sf)
Summary information for an interaction.
bool Compare(const DISStructureFunc &sf) const
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
A class holding Deep Inelastic Scattering (DIS) Form Factors (invariant structure funstions) ...
ostream & operator<<(ostream &stream, const AlgConfigPool &config_pool)
bool operator==(const DISStructureFunc &sf) const
void Calculate(const Interaction *interaction)
Calculate the S/F's for the input interaction using the attached algorithm.
void Print(ostream &stream) const
void Reset(Option_t *opt="")