147 if ( ! RunOpt::Instance()->Tune() ) {
148 LOG(
"gmkspl",
pFATAL) <<
" No TuneId in RunOption";
151 RunOpt::Instance()->BuildTune();
154 #if defined(HAVE_FENV_H) && defined(HAVE_FEENABLEEXCEPT) 155 feenableexcept(FE_DIVBYZERO | FE_INVALID | FE_OVERFLOW);
168 if(!neutrinos || neutrinos->
size() == 0 ) {
169 LOG(
"gmkspl",
pFATAL) <<
"Empty neutrino PDG code list";
173 if(!targets || targets->
size() == 0 ) {
174 LOG(
"gmkspl",
pFATAL) <<
"Empty target PDG code list";
179 LOG(
"gmkspl",
pINFO) <<
"Neutrinos: " << *neutrinos;
180 LOG(
"gmkspl",
pINFO) <<
"Targets: " << *targets;
188 for(nuiter = neutrinos->begin(); nuiter != neutrinos->end(); ++nuiter) {
189 for(tgtiter = targets->begin(); tgtiter != targets->end(); ++tgtiter) {
190 int nupdgc = *nuiter;
191 int tgtpdgc = *tgtiter;
void RandGen(long int seed)
PDGCodeList * GetTargetCodes(void)
void XSecTable(string inpfile, bool require_table)
PDGCodeList * GetNeutrinoCodes(void)
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
void SetEventGeneratorList(string listname)
GENIE Event Generation Driver. A minimalist user interface object for generating neutrino interaction...
void SaveAsXml(const string &filename, bool save_init=true) const
void Configure(int nu_pdgc, int Z, int A)
A vector of EventGeneratorI objects.
void CreateSplines(int nknots=-1, double emax=-1, bool inLogE=true)
void GetCommandLineArgs(int argc, char **argv)
void MesgThresholds(string inpfile)
List of cross section vs energy splines.
Initial State information.