GENIEGenerator
|
Public Member Functions | |
GNuMIFluxXMLHelper (GNuMIFlux *gnumi) | |
~GNuMIFluxXMLHelper () | |
bool | LoadConfig (std::string cfg) |
std::vector< double > | GetDoubleVector (std::string str) |
std::vector< long int > | GetIntVector (std::string str) |
Private Member Functions | |
bool | LoadParamSet (xmlDocPtr &, std::string cfg) |
void | ParseParamSet (xmlDocPtr &, xmlNodePtr &) |
void | ParseBeamDir (xmlDocPtr &, xmlNodePtr &) |
void | ParseBeamPos (std::string) |
void | ParseRotSeries (xmlDocPtr &, xmlNodePtr &) |
void | ParseWindowSeries (xmlDocPtr &, xmlNodePtr &) |
void | ParseEnuMax (std::string) |
TVector3 | AnglesToAxis (double theta, double phi, std::string units="deg") |
TVector3 | ParseTV3 (const std::string &) |
Private Attributes | |
int | fVerbose |
how noisy to be when parsing XML More... | |
GNuMIFlux * | fGNuMI |
TVector3 | fBeamPosXML |
TRotation | fBeamRotXML |
TVector3 | fFluxWindowPtXML [3] |
Definition at line 73 of file GNuMIFlux.cxx.
|
inline |
Definition at line 75 of file GNuMIFlux.cxx.
|
inline |
Definition at line 76 of file GNuMIFlux.cxx.
|
private |
std::vector< double > GNuMIFluxXMLHelper::GetDoubleVector | ( | std::string | str | ) |
Definition at line 2450 of file GNuMIFlux.cxx.
References fVerbose, genie::utils::str::Split(), and genie::utils::str::TrimSpaces().
Referenced by ParseBeamDir(), ParseBeamPos(), ParseEnuMax(), ParseParamSet(), ParseTV3(), and ParseWindowSeries().
std::vector< long int > GNuMIFluxXMLHelper::GetIntVector | ( | std::string | str | ) |
Definition at line 2473 of file GNuMIFlux.cxx.
References fVerbose, genie::utils::str::Split(), and genie::utils::str::TrimSpaces().
Referenced by ParseParamSet().
bool GNuMIFluxXMLHelper::LoadConfig | ( | std::string | cfg | ) |
Definition at line 2496 of file GNuMIFlux.cxx.
References fGNuMI, genie::flux::GFluxFileConfigI::GetXMLFileBase(), genie::utils::xml::GetXMLFilePath(), LoadParamSet(), pERROR, pINFO, and SLOG.
Referenced by genie::flux::GNuMIFlux::LoadConfig().
|
private |
Definition at line 2539 of file GNuMIFlux.cxx.
References genie::utils::xml::GetAttribute(), ParseParamSet(), pINFO, SLOG, and genie::utils::str::TrimSpaces().
Referenced by LoadConfig(), and ParseParamSet().
|
private |
Definition at line 2650 of file GNuMIFlux.cxx.
References AnglesToAxis(), fBeamRotXML, fVerbose, genie::utils::xml::GetAttribute(), GetDoubleVector(), ParseRotSeries(), pWARN, SLOG, genie::utils::str::TrimSpaces(), and genie::utils::xml::TrimSpaces().
Referenced by ParseParamSet().
|
private |
Definition at line 2724 of file GNuMIFlux.cxx.
References fBeamPosXML, fBeamRotXML, fVerbose, GetDoubleVector(), pWARN, and SLOG.
Referenced by ParseParamSet().
|
private |
Definition at line 2750 of file GNuMIFlux.cxx.
References fGNuMI, fVerbose, GetDoubleVector(), genie::flux::GNuMIFlux::SetMaxEFudge(), genie::flux::GNuMIFlux::SetMaxEnergy(), and genie::flux::GNuMIFlux::SetMaxWgtScan().
Referenced by ParseParamSet().
|
private |
Definition at line 2569 of file GNuMIFlux.cxx.
References fBeamPosXML, fBeamRotXML, fFluxWindowPtXML, fGNuMI, fVerbose, GetDoubleVector(), GetIntVector(), LoadParamSet(), ParseBeamDir(), ParseBeamPos(), ParseEnuMax(), ParseWindowSeries(), pFATAL, pINFO, pWARN, genie::flux::GNuMIFlux::SetBeamCenter(), genie::flux::GNuMIFlux::SetBeamRotation(), genie::flux::GNuMIFlux::SetEntryReuse(), genie::flux::GNuMIFlux::SetFluxWindow(), genie::flux::GNuMIFlux::SetLengthUnits(), genie::flux::GFluxFileConfigI::SetUpstreamZ(), SLOG, genie::utils::xml::TrimSpaces(), and genie::utils::units::UnitFromString().
Referenced by LoadParamSet().
|
private |
Definition at line 2778 of file GNuMIFlux.cxx.
References fBeamRotXML, fVerbose, genie::utils::xml::GetAttribute(), pINFO, pWARN, SLOG, genie::utils::str::TrimSpaces(), and genie::utils::xml::TrimSpaces().
Referenced by ParseBeamDir().
|
private |
Definition at line 2895 of file GNuMIFlux.cxx.
References GetDoubleVector(), pWARN, and SLOG.
|
private |
Definition at line 2825 of file GNuMIFlux.cxx.
References fFluxWindowPtXML, fVerbose, genie::utils::xml::GetAttribute(), GetDoubleVector(), pWARN, SLOG, genie::utils::str::TrimSpaces(), and genie::utils::xml::TrimSpaces().
Referenced by ParseParamSet().
|
private |
Definition at line 99 of file GNuMIFlux.cxx.
Referenced by ParseBeamPos(), and ParseParamSet().
|
private |
Definition at line 100 of file GNuMIFlux.cxx.
Referenced by ParseBeamDir(), ParseBeamPos(), ParseParamSet(), and ParseRotSeries().
|
private |
Definition at line 101 of file GNuMIFlux.cxx.
Referenced by ParseParamSet(), and ParseWindowSeries().
|
private |
Definition at line 96 of file GNuMIFlux.cxx.
Referenced by LoadConfig(), ParseEnuMax(), and ParseParamSet().
|
private |
how noisy to be when parsing XML
Definition at line 94 of file GNuMIFlux.cxx.
Referenced by GetDoubleVector(), GetIntVector(), ParseBeamDir(), ParseBeamPos(), ParseEnuMax(), ParseParamSet(), ParseRotSeries(), and ParseWindowSeries().