GENIEGenerator
|
Initialization code commonly occuring in GENIE apps, factored out from existing apps for convenience. Not generic GENIE initialization code. More...
Functions | |
void | RandGen (long int seed) |
void | XSecTable (string inpfile, bool require_table) |
void | MesgThresholds (string inpfile) |
void | CacheFile (string inpfile) |
Initialization code commonly occuring in GENIE apps, factored out from existing apps for convenience. Not generic GENIE initialization code.
void genie::utils::app_init::CacheFile | ( | string | inpfile | ) |
Definition at line 117 of file AppInit.cxx.
References genie::Cache::Instance(), and genie::Cache::OpenCacheFile().
Referenced by Initialize(), and main().
void genie::utils::app_init::MesgThresholds | ( | string | inpfile | ) |
Definition at line 99 of file AppInit.cxx.
References genie::Messenger::Instance(), LOG, genie::units::m, pWARN, genie::Messenger::SetPrioritiesFromXmlFile(), and genie::utils::str::Split().
Referenced by Initialize(), and main().
void genie::utils::app_init::RandGen | ( | long int | seed | ) |
Definition at line 30 of file AppInit.cxx.
References genie::RandomGen::Instance(), and genie::RandomGen::SetSeed().
Referenced by main().
void genie::utils::app_init::XSecTable | ( | string | inpfile, |
bool | require_table | ||
) |
Definition at line 38 of file AppInit.cxx.
References genie::utils::system::FileExists(), genie::gAbortingInErr, genie::utils::xml::GetXMLFilePath(), genie::XSecSplineList::Instance(), genie::kXmlOK, genie::XSecSplineList::LoadFromXml(), LOG, pFATAL, and pWARN.
Referenced by main().