83 if ( tuneName ==
"Default" || tuneName ==
"" ) tuneName =
gDefaultTune;
86 <<
", now being re-set to " << tuneName;
101 LOG(
"RunOpt",
pDEBUG) <<
"Reading "<<argc-1<<
" command line arguments.";
104 if( parser.
OptionExists(
"enable-bare-xsec-pre-calc") ) {
107 if( parser.
OptionExists(
"disable-bare-xsec-pre-calc") ) {
123 if( parser.
OptionExists(
"mc-job-status-refresh-rate") ) {
125 1, parser.
ArgAsInt(
"mc-job-status-refresh-rate"));
144 const char * bitfield =
145 parser.
ArgAsString(
"unphysical-event-mask").c_str();
149 bool flag = (bitfield[i]==
'1');
159 stream <<
"Global running options:";
160 if (
fTune ) stream <<
"\n GENIE tune: " << *
fTune;
162 stream <<
"\n User-specified message thresholds : " <<
fMesgThresholds;
164 stream <<
"\n Unphysical event mask (bits: " 168 stream <<
"\n Pre-calculate all free-nucleon cross-sections? : " 172 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)
ChannelGroupService::Name Name
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")
QTextStream & endl(QTextStream &s)
string fXMLPath
An path to look for XML in. Higher priority than GXMLPATH.