91 if ( tuneName ==
"Default" || tuneName ==
"" ) tuneName =
gDefaultTune;
94 <<
", now being re-set to " << tuneName;
109 LOG(
"RunOpt",
pDEBUG) <<
"Reading "<<argc-1<<
" command line arguments.";
112 if( parser.
OptionExists(
"enable-bare-xsec-pre-calc") ) {
115 if( parser.
OptionExists(
"disable-bare-xsec-pre-calc") ) {
131 if( parser.
OptionExists(
"mc-job-status-refresh-rate") ) {
133 1, parser.
ArgAsInt(
"mc-job-status-refresh-rate"));
152 const char * bitfield =
153 parser.
ArgAsString(
"unphysical-event-mask").c_str();
157 bool flag = (bitfield[
i]==
'1');
167 stream <<
"Global running options:";
168 if (
fTune ) stream <<
"\n GENIE tune: " << *
fTune;
170 stream <<
"\n User-specified message thresholds : " <<
fMesgThresholds;
172 stream <<
"\n Unphysical event mask (bits: " 176 stream <<
"\n Pre-calculate all free-nucleon cross-sections? : " 180 stream <<
"\n XMLPath over-ride : "<<
fXMLPath;
TuneId * Tune(void) const
static RunOpt * fInstance
string ArgAsString(char opt)
THE MAIN GENIE PROJECT NAMESPACE
string fMesgThresholds
List of files (delimited with : if more than one) with custom mesg stream thresholds.
void ReadFromCommandLine(int argc, char **argv)
string fCacheFile
Name of cache file, is cache is to be re-used.
static XSecSplineList * Instance()
int fEventRecordPrintLevel
GHEP event r ecord print level.
void SetCurrentTune(const string &tune)
static const string gDefaultTune
void SetEventGeneratorList(string evgenlist)
Some common run-time GENIE options.
TBits * fUnphysEventMask
Unphysical event mask.
static unsigned int NFlags(void)
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
int fMCJobStatusRefreshRate
MC job status file refresh rate.
TuneId * fTune
GENIE comprehensive neutrino interaction model tune.
void BuildTune()
build tune and inform XSecSplineList
bool fEnableBareXSecPreCalc
string fEventGeneratorList
Name of event generator list to be loaded by the event generation drivers.
static RunOpt * Instance(void)
ostream & operator<<(ostream &stream, const AlgConfigPool &config_pool)
Command line argument parser.
void Build(const string &name="")
void DummyMethodAndSilentCompiler()
bool OptionExists(char opt)
was option set?
void Print(ostream &stream) const
void SetTuneName(string tuneName="Default")
string fXMLPath
An path to look for XML in. Higher priority than GXMLPATH.