GENIEGenerator
|
GENIE tune ID. More...
#include <TuneId.h>
Public Member Functions | |
TuneId (const string &id_str, bool failOnInvalid=true) | |
TuneId (const TuneId &id) | |
~TuneId () | |
string | Name (void) const |
string | Prefix (void) const |
string | Year (void) const |
string | ModelId (void) const |
string | MajorModelId (void) const |
string | MinorModelId (void) const |
string | TunedParamSetId (void) const |
string | FitDataSetId (void) const |
bool | IsConfigured (void) const |
bool | IsValidated (void) const |
bool | IsCustom (void) const |
bool | OnlyConfiguration () const |
string | CMC (void) const |
string | Tail (void) const |
string | CMCDirectory (void) const |
string | TuneDirectory (void) const |
string | BaseDirectory (void) const |
string | CustomSource (void) const |
void | Build (const string &name="") |
void | Decode (string id_str) |
void | Copy (const TuneId &id) |
bool | Compare (const TuneId &id) const |
void | Print (ostream &stream) const |
Private Member Functions | |
TuneId () | |
bool | CheckDirectory () |
Private Attributes | |
string | fName |
string | fPrefix |
string | fYear |
string | fModelId |
string | fMajorModelId |
string | fMinorModelId |
string | fTunedParamSetId |
string | fFitDataSetId |
string | fBaseDirectory |
string | fCustomSource |
bool | fIsConfigured |
bool | fIsValidated |
Friends | |
ostream & | operator<< (ostream &stream, const TuneId &id) |
GENIE tune ID.
Costas Andreopoulos <c.andreopoulos cern.ch> University of Liverpool
TuneId::TuneId | ( | const string & | id_str, |
bool | failOnInvalid = true |
||
) |
Definition at line 52 of file TuneId.cxx.
References Build(), fIsConfigured, fIsValidated, and fName.
TuneId::TuneId | ( | const TuneId & | id | ) |
Definition at line 81 of file TuneId.cxx.
References CheckDirectory(), Copy(), LOG, Name(), and pWARN.
|
inline |
void TuneId::Build | ( | const string & | name = "" | ) |
Definition at line 124 of file TuneId.cxx.
References CheckDirectory(), Decode(), fIsConfigured, fIsValidated, fName, LOG, Name(), pDEBUG, pFATAL, and pINFO.
Referenced by genie::RunOpt::BuildTune(), and TuneId().
|
private |
Definition at line 205 of file TuneId.cxx.
References CMC(), genie::utils::system::DirectoryExists(), fBaseDirectory, fCustomSource, genie::utils::xml::GetXMLDefaultPath(), genie::utils::xml::GetXMLPathList(), LOG, Name(), OnlyConfiguration(), pDEBUG, pWARN, genie::utils::str::Split(), and TuneDirectory().
Referenced by Build(), and TuneId().
string TuneId::CMC | ( | void | ) | const |
Definition at line 90 of file TuneId.cxx.
References fPrefix, fYear, and ModelId().
Referenced by CheckDirectory(), and CMCDirectory().
string TuneId::CMCDirectory | ( | void | ) | const |
Definition at line 107 of file TuneId.cxx.
References CMC(), dir, and fBaseDirectory.
Referenced by TuneDirectory().
bool TuneId::Compare | ( | const TuneId & | id | ) | const |
Definition at line 179 of file TuneId.cxx.
References Name().
Referenced by genie::operator!=(), and genie::operator==().
void TuneId::Copy | ( | const TuneId & | id | ) |
Definition at line 165 of file TuneId.cxx.
References fFitDataSetId, fIsConfigured, fIsValidated, fMajorModelId, fMinorModelId, fName, fPrefix, fTunedParamSetId, and fYear.
Referenced by TuneId().
|
inline |
Definition at line 77 of file TuneId.h.
References fCustomSource.
Referenced by genie::NtpWriter::Initialize().
void TuneId::Decode | ( | string | id_str | ) |
Definition at line 140 of file TuneId.cxx.
References fFitDataSetId, fIsConfigured, fMajorModelId, fMinorModelId, fPrefix, fTunedParamSetId, fYear, LOG, and pFATAL.
Referenced by Build().
|
inline |
|
inline |
|
inline |
Definition at line 62 of file TuneId.h.
References fCustomSource.
Referenced by genie::NtpWriter::Initialize(), and Print().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 49 of file TuneId.h.
References fMajorModelId, and fMinorModelId.
Referenced by CMC().
|
inline |
Definition at line 46 of file TuneId.h.
References fName.
Referenced by Build(), genie::RunOpt::BuildTune(), CheckDirectory(), Compare(), genie::HEDISStrucFunc::HEDISStrucFunc(), genie::NtpWriter::Initialize(), Print(), genie::RunOpt::SetTuneName(), TuneDirectory(), and TuneId().
|
inline |
Definition at line 69 of file TuneId.h.
References TunedParamSetId().
Referenced by CheckDirectory(), and TuneDirectory().
|
inline |
void TuneId::Print | ( | ostream & | stream | ) | const |
Definition at line 184 of file TuneId.cxx.
References fBaseDirectory, fCustomSource, FitDataSetId(), IsConfigured(), IsCustom(), IsValidated(), MajorModelId(), MinorModelId(), Name(), Prefix(), TuneDirectory(), TunedParamSetId(), and Year().
string TuneId::Tail | ( | void | ) | const |
string TuneId::TuneDirectory | ( | void | ) | const |
Definition at line 116 of file TuneId.cxx.
References CMCDirectory(), dir, Name(), and OnlyConfiguration().
Referenced by CheckDirectory(), genie::NtpWriter::Initialize(), and Print().
|
inline |
Definition at line 52 of file TuneId.h.
References fTunedParamSetId.
Referenced by OnlyConfiguration(), and Print().
|
inline |
|
friend |
Definition at line 35 of file TuneId.cxx.
|
private |
Definition at line 103 of file TuneId.h.
Referenced by BaseDirectory(), CheckDirectory(), CMCDirectory(), and Print().
|
private |
Definition at line 104 of file TuneId.h.
Referenced by CheckDirectory(), CustomSource(), IsCustom(), and Print().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |