GENIEGenerator
|
Functions | |
string | TrimSpaces (xmlChar *xmls) |
string | GetAttribute (xmlNodePtr xml_cur, string attr_name) |
string | GetXMLPathList (bool add_tune=true) |
string | GetXMLDefaultPath () |
string | GetXMLFilePath (string basename) |
xmlNodePtr | FindNode (xmlDocPtr xml_doc, string node_path) |
bool | GetBool (xmlDocPtr xml_doc, string node_path) |
int | GetInt (xmlDocPtr xml_doc, string node_path) |
vector< int > | GetIntArray (xmlDocPtr xml_doc, string node_path) |
double | GetDouble (xmlDocPtr xml_doc, string node_path) |
vector< double > | GetDoubleArray (xmlDocPtr xml_doc, string node_path) |
string | GetString (xmlDocPtr xml_doc, string node_path) |
string | GetROOTFileName (xmlDocPtr xml_doc, string node_path) |
string | GetROOTObjName (xmlDocPtr xml_doc, string node_path) |
string | GetROOTObjType (xmlDocPtr xml_doc, string node_path) |
TFile * | GetTFile (xmlDocPtr xml_doc, string node_path, string base_dir="<env>") |
TH1F * | GetTH1F (xmlDocPtr xml_doc, string node_path, string base_dir="<env>") |
TH1D * | GetTH1D (xmlDocPtr xml_doc, string node_path, string base_dir="<env>") |
TH2D * | GetTH2D (xmlDocPtr xml_doc, string node_path, string base_dir="<env>") |
TVectorD * | GetTVectorD (xmlDocPtr xml_doc, string node_path, string base_dir="<env>") |
xmlNodePtr genie::utils::xml::FindNode | ( | xmlDocPtr | xml_doc, |
string | node_path | ||
) |
Definition at line 130 of file XmlParserUtils.cxx.
References LOG, pERROR, and genie::utils::str::Split().
Referenced by genie::geometry::ROOTGeomAnalyzer::GenerateVertex(), GetBool(), GetDouble(), GetDoubleArray(), GetInt(), GetIntArray(), and GetString().
string genie::utils::xml::GetAttribute | ( | xmlNodePtr | xml_cur, |
string | attr_name | ||
) |
Definition at line 44 of file XmlParserUtils.cxx.
References genie::utils::str::TrimSpaces().
Referenced by genie::PathLengthList::LoadFromXml(), genie::Spline::LoadFromXmlFile(), genie::AlgConfigPool::LoadMasterConfig(), genie::flux::GNuMIFluxXMLHelper::LoadParamSet(), genie::AlgConfigPool::LoadRegistries(), genie::flux::GNuMIFluxXMLHelper::ParseBeamDir(), genie::flux::GNuMIFluxXMLHelper::ParseRotSeries(), genie::flux::GNuMIFluxXMLHelper::ParseWindowSeries(), genie::FermiMomentumTablePool::ParseXMLTables(), and genie::Messenger::SetPrioritiesFromXmlFile().
bool genie::utils::xml::GetBool | ( | xmlDocPtr | xml_doc, |
string | node_path | ||
) |
Definition at line 163 of file XmlParserUtils.cxx.
References FindNode(), LOG, pERROR, and TrimSpaces().
Referenced by genie::HadronTransporter::Configure().
double genie::utils::xml::GetDouble | ( | xmlDocPtr | xml_doc, |
string | node_path | ||
) |
Definition at line 230 of file XmlParserUtils.cxx.
References FindNode(), and TrimSpaces().
vector< double > genie::utils::xml::GetDoubleArray | ( | xmlDocPtr | xml_doc, |
string | node_path | ||
) |
Definition at line 243 of file XmlParserUtils.cxx.
References FindNode(), genie::utils::str::Split(), genie::utils::str::TrimSpaces(), and TrimSpaces().
int genie::utils::xml::GetInt | ( | xmlDocPtr | xml_doc, |
string | node_path | ||
) |
Definition at line 196 of file XmlParserUtils.cxx.
References FindNode(), and TrimSpaces().
vector< int > genie::utils::xml::GetIntArray | ( | xmlDocPtr | xml_doc, |
string | node_path | ||
) |
Definition at line 208 of file XmlParserUtils.cxx.
References FindNode(), genie::utils::str::Split(), genie::utils::str::TrimSpaces(), and TrimSpaces().
string genie::utils::xml::GetROOTFileName | ( | xmlDocPtr | xml_doc, |
string | node_path | ||
) |
Definition at line 276 of file XmlParserUtils.cxx.
References GetString().
Referenced by GetTFile().
string genie::utils::xml::GetROOTObjName | ( | xmlDocPtr | xml_doc, |
string | node_path | ||
) |
Definition at line 281 of file XmlParserUtils.cxx.
References GetString().
Referenced by GetTH1D(), GetTH1F(), GetTH2D(), and GetTVectorD().
string genie::utils::xml::GetROOTObjType | ( | xmlDocPtr | xml_doc, |
string | node_path | ||
) |
Definition at line 286 of file XmlParserUtils.cxx.
References GetString().
string genie::utils::xml::GetString | ( | xmlDocPtr | xml_doc, |
string | node_path | ||
) |
Definition at line 265 of file XmlParserUtils.cxx.
References FindNode(), and TrimSpaces().
Referenced by GetROOTFileName(), GetROOTObjName(), GetROOTObjType(), genie::NuclearModelI::LoadConfig(), and genie::PDGLibrary::LoadDBase().
TFile * genie::utils::xml::GetTFile | ( | xmlDocPtr | xml_doc, |
string | node_path, | ||
string | base_dir = "<env>" |
||
) |
Definition at line 291 of file XmlParserUtils.cxx.
References GetROOTFileName(), LOG, pERROR, and pINFO.
Referenced by GetTH1D(), GetTH1F(), GetTH2D(), and GetTVectorD().
TH1D * genie::utils::xml::GetTH1D | ( | xmlDocPtr | xml_doc, |
string | node_path, | ||
string | base_dir = "<env>" |
||
) |
Definition at line 341 of file XmlParserUtils.cxx.
References GetROOTObjName(), GetTFile(), LOG, and pERROR.
TH1F * genie::utils::xml::GetTH1F | ( | xmlDocPtr | xml_doc, |
string | node_path, | ||
string | base_dir = "<env>" |
||
) |
Definition at line 318 of file XmlParserUtils.cxx.
References GetROOTObjName(), GetTFile(), LOG, and pERROR.
TH2D * genie::utils::xml::GetTH2D | ( | xmlDocPtr | xml_doc, |
string | node_path, | ||
string | base_dir = "<env>" |
||
) |
Definition at line 364 of file XmlParserUtils.cxx.
References GetROOTObjName(), GetTFile(), LOG, and pERROR.
TVectorD * genie::utils::xml::GetTVectorD | ( | xmlDocPtr | xml_doc, |
string | node_path, | ||
string | base_dir = "<env>" |
||
) |
Definition at line 387 of file XmlParserUtils.cxx.
References GetROOTObjName(), GetTFile(), LOG, and pERROR.
|
inline |
Definition at line 76 of file XmlParserUtils.h.
Referenced by genie::TuneId::CheckDirectory(), and GetXMLPathList().
string genie::utils::xml::GetXMLFilePath | ( | string | basename | ) |
Definition at line 98 of file XmlParserUtils.cxx.
References GetXMLPathList(), and genie::utils::str::Split().
Referenced by genie::Messenger::Configure(), genie::AlgConfigPool::LoadAlgConfig(), genie::AlgConfigPool::LoadCommonLists(), genie::flux::GNuMIFluxXMLHelper::LoadConfig(), genie::AlgConfigPool::LoadGlobalParamLists(), genie::AlgConfigPool::LoadMasterConfig(), genie::FermiMomentumTablePool::LoadTables(), genie::AlgConfigPool::LoadTuneGeneratorList(), main(), genie::Messenger::SetPrioritiesFromXmlFile(), and genie::utils::app_init::XSecTable().
string genie::utils::xml::GetXMLPathList | ( | bool | add_tune = true | ) |
Definition at line 53 of file XmlParserUtils.cxx.
References GetXMLDefaultPath(), LOG, and pFATAL.
Referenced by genie::TuneId::CheckDirectory(), GetXMLFilePath(), and main().
string genie::utils::xml::TrimSpaces | ( | xmlChar * | xmls | ) |
Definition at line 28 of file XmlParserUtils.cxx.
References genie::utils::str::TrimSpaces().
Referenced by GetBool(), GetDouble(), GetDoubleArray(), GetInt(), GetIntArray(), GetString(), genie::PathLengthList::LoadFromXml(), genie::Spline::LoadFromXmlFile(), genie::AlgConfigPool::LoadMasterConfig(), genie::AlgConfigPool::LoadRegistries(), genie::flux::GNuMIFluxXMLHelper::ParseBeamDir(), genie::flux::GNuMIFluxXMLHelper::ParseParamSet(), genie::flux::GNuMIFluxXMLHelper::ParseRotSeries(), genie::flux::GNuMIFluxXMLHelper::ParseWindowSeries(), genie::FermiMomentumTablePool::ParseXMLTables(), and genie::Messenger::SetPrioritiesFromXmlFile().