17 using namespace genie;
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...
THE MAIN GENIE PROJECT NAMESPACE
bool AreEqual(double x1, double x2)
DISStructureFunc & operator=(const DISStructureFunc &sf)
const DISStructureFuncModelI * fModel
void Copy(const DISStructureFunc &sf)
ostream & operator<<(ostream &stream, const T2KEvGenMetaData &md)
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) ...
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
Root of GENIE utility namespaces.
QTextStream & endl(QTextStream &s)
void Reset(Option_t *opt="")