26 using namespace genie;
 
   45   string expandedinpfile = 
"";
 
   46   string fullinpfile     = 
"";
 
   47   if ( inpfile != 
"" ) {
 
   49     expandedinpfile = gSystem->ExpandPathName(inpfile.c_str());
 
   52       fullinpfile   = expandedinpfile;
 
   66          << 
"Problem reading file: " << expandedinpfile;
 
   75     if (inpfile.size() > 0) {
 
   77           << 
"Input cross-section file [" << inpfile << 
"] does not exist!\n" 
   78           << 
"looked for " << expandedinpfile << 
" in $GXMLPATH locations ";
 
   86          LOG(
"AppInit", 
pWARN) << 
"No cross-section file was specified in the application inputs";
 
   87          LOG(
"AppInit", 
pWARN) << 
"If none is loaded, event generation might be inefficient";
 
   89          LOG(
"AppInit", 
pFATAL) << 
"No cross-section file was specified in the application inputs";
 
   90          LOG(
"AppInit", 
pFATAL) << 
"This is mandatory as, otherwise, event generation will be prohibitively inefficient";
 
  102   for (
size_t i=0; i < files.size(); ++i ) {
 
  103     std::string inp_file = files[i];
 
  104     if(inp_file.size() > 0) {
 
  109           << 
"Could not load customized mesg thresholds from: " 
  119   if(inp_file.size() > 0) {
 
void RandGen(long int seed)
 
void XSecTable(string inpfile, bool require_table)
 
static RandomGen * Instance()
Access instance. 
 
bool FileExists(string filename)
 
static XSecSplineList * Instance()
 
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
 
void OpenCacheFile(string filename)
cache file 
 
bool SetPrioritiesFromXmlFile(string filename)
 
static Messenger * Instance(void)
 
string GetXMLFilePath(string basename)
 
A more convenient interface to the log4cpp Message Service. 
 
vector< string > Split(string input, string delim)
 
void MesgThresholds(string inpfile)
 
static Cache * Instance(void)
 
enum genie::EXmlParseStatus XmlParserStatus_t
 
List of cross section vs energy splines. 
 
static constexpr double m
 
XmlParserStatus_t LoadFromXml(const string &filename, bool keep=false)
 
void CacheFile(string inpfile)
 
void SetSeed(long int seed)