Some common run-time GENIE options. More...
Classes | |
struct | Cleaner |
Public Member Functions | |
void | ReadFromCommandLine (int argc, char **argv) |
TuneId * | Tune (void) const |
string | EventGeneratorList (void) const |
string | CacheFile (void) const |
string | MesgThresholdFiles (void) const |
TBits * | UnphysEventMask (void) const |
int | EventRecordPrintLevel (void) const |
int | MCJobStatusRefreshRate (void) const |
bool | BareXSecPreCalc (void) const |
string | XMLPath (void) const |
void | SetTuneName (string tuneName="Default") |
void | BuildTune () |
build tune and inform XSecSplineList More... | |
void | SetEventGeneratorList (string evgenlist) |
void | EnableBareXSecPreCalc (bool flag) |
void | Print (ostream &stream) const |
Static Public Member Functions | |
static RunOpt * | Instance (void) |
Private Member Functions | |
void | Init (void) |
RunOpt () | |
RunOpt (const RunOpt &opt) | |
virtual | ~RunOpt () |
Private Attributes | |
TuneId * | fTune |
GENIE comprehensive neutrino interaction model tune. More... | |
string | fEventGeneratorList |
Name of event generator list to be loaded by the event generation drivers. More... | |
string | fCacheFile |
Name of cache file, is cache is to be re-used. More... | |
string | fMesgThresholds |
List of files (delimited with : if more than one) with custom mesg stream thresholds. More... | |
TBits * | fUnphysEventMask |
Unphysical event mask. More... | |
int | fEventRecordPrintLevel |
GHEP event r ecord print level. More... | |
int | fMCJobStatusRefreshRate |
MC job status file refresh rate. More... | |
bool | fEnableBareXSecPreCalc |
string | fXMLPath |
An path to look for XML in. Higher priority than GXMLPATH. More... | |
Static Private Attributes | |
static RunOpt * | fInstance = 0 |
Friends | |
struct | Cleaner |
ostream & | operator<< (ostream &stream, const RunOpt &opt) |
Some common run-time GENIE options.
January 29, 2013
Copyright (c) 2003-2019, The GENIE Collaboration For the full text of the license visit http://copyright.genie-mc.org or see $GENIE/LICENSE
|
private |
Definition at line 48 of file RunOpt.cxx.
References fInstance, and Init().
Referenced by Instance().
|
private |
|
privatevirtual |
Definition at line 55 of file RunOpt.cxx.
References fInstance, fTune, and fUnphysEventMask.
|
inline |
Definition at line 52 of file RunOpt.h.
References fEnableBareXSecPreCalc.
Referenced by genie::DISXSec::Integrate(), genie::DMDISXSec::Integrate(), genie::ReinSehgalRESXSec::Integrate(), genie::ReinSehgalRESXSecFast::Integrate(), genie::QPMDISPXSec::LoadConfig(), and genie::QPMDMDISPXSec::LoadConfig().
void genie::RunOpt::BuildTune | ( | ) |
build tune and inform XSecSplineList
Definition at line 100 of file RunOpt.cxx.
References genie::TuneId::Build(), genie::XSecSplineList::Instance(), LOG, genie::TuneId::Name(), pINFO, genie::XSecSplineList::SetCurrentTune(), and Tune().
Referenced by Initialize(), main(), and XMLPath().
Definition at line 47 of file RunOpt.h.
References fCacheFile.
|
inline |
Definition at line 61 of file RunOpt.h.
References fEnableBareXSecPreCalc, Init(), operator<<, MECModelEnuComparisons::opt, Print(), and runNovaSAM::stream.
Referenced by GetCommandLineArgs().
Definition at line 46 of file RunOpt.h.
References fEventGeneratorList.
Definition at line 50 of file RunOpt.h.
References fEventRecordPrintLevel.
Definition at line 72 of file RunOpt.cxx.
References fCacheFile, fEnableBareXSecPreCalc, fEventGeneratorList, fEventRecordPrintLevel, fMCJobStatusRefreshRate, fMesgThresholds, fTune, fUnphysEventMask, fXMLPath, MECModelEnuComparisons::i, and genie::GHepFlags::NFlags().
Referenced by EnableBareXSecPreCalc(), and RunOpt().
Definition at line 62 of file RunOpt.cxx.
References genie::RunOpt::Cleaner::DummyMethodAndSilentCompiler(), fInstance, and RunOpt().
Referenced by genie::EventGeneratorListAssembler::AssembleGeneratorList(), GenerateEventsAtFixedInitState(), GetCommandLineArgs(), GetEventGenDriver(), Initialize(), genie::DISXSec::Integrate(), genie::DMDISXSec::Integrate(), genie::ReinSehgalRESXSec::Integrate(), genie::ReinSehgalRESXSecFast::Integrate(), genie::QPMDISPXSec::LoadConfig(), genie::QPMDMDISPXSec::LoadConfig(), and main().
Definition at line 51 of file RunOpt.h.
References fMCJobStatusRefreshRate.
Definition at line 48 of file RunOpt.h.
References fMesgThresholds.
void genie::RunOpt::Print | ( | ostream & | stream | ) | const |
Definition at line 165 of file RunOpt.cxx.
References fCacheFile, fEnableBareXSecPreCalc, fEventGeneratorList, fEventRecordPrintLevel, fMCJobStatusRefreshRate, fMesgThresholds, fTune, fUnphysEventMask, fXMLPath, and genie::GHepFlags::NFlags().
Referenced by EnableBareXSecPreCalc(), and genie::operator<<().
Definition at line 107 of file RunOpt.cxx.
References genie::CmdLnArgParser::ArgAsInt(), genie::CmdLnArgParser::ArgAsString(), fCacheFile, fEnableBareXSecPreCalc, fEventRecordPrintLevel, fMCJobStatusRefreshRate, fMesgThresholds, fUnphysEventMask, fXMLPath, MECModelEnuComparisons::i, LOG, getGoodRuns4SAM::n, genie::GHepFlags::NFlags(), genie::CmdLnArgParser::OptionExists(), plot_validation_datamc::parser, pDEBUG, SetEventGeneratorList(), and SetTuneName().
Referenced by GetCommandLineArgs().
Definition at line 60 of file RunOpt.h.
References fEventGeneratorList.
Referenced by ReadFromCommandLine().
Definition at line 89 of file RunOpt.cxx.
References fTune, genie::gDefaultTune, LOG, genie::TuneId::Name(), and pNOTICE.
Referenced by ReadFromCommandLine(), and XMLPath().
Definition at line 45 of file RunOpt.h.
References fTune.
Referenced by BuildTune().
|
inline |
Definition at line 49 of file RunOpt.h.
References fUnphysEventMask.
Definition at line 53 of file RunOpt.h.
References BuildTune(), fXMLPath, and SetTuneName().
|
friend |
|
private |
Name of cache file, is cache is to be re-used.
Definition at line 74 of file RunOpt.h.
Referenced by CacheFile(), Init(), Print(), and ReadFromCommandLine().
|
private |
Cache calcs relevant to free-nucleon xsecs before any nuclear xsec computation? The option switches on/off cacheing calculations which interfere with event reweighting.
Definition at line 79 of file RunOpt.h.
Referenced by BareXSecPreCalc(), EnableBareXSecPreCalc(), Init(), Print(), and ReadFromCommandLine().
|
private |
Name of event generator list to be loaded by the event generation drivers.
Definition at line 73 of file RunOpt.h.
Referenced by EventGeneratorList(), Init(), Print(), and SetEventGeneratorList().
|
private |
GHEP event r ecord print level.
Definition at line 77 of file RunOpt.h.
Referenced by EventRecordPrintLevel(), Init(), Print(), and ReadFromCommandLine().
|
staticprivate |
Definition at line 84 of file RunOpt.h.
Referenced by Instance(), genie::operator<<(), RunOpt(), genie::RunOpt::Cleaner::~Cleaner(), and ~RunOpt().
|
private |
MC job status file refresh rate.
Definition at line 78 of file RunOpt.h.
Referenced by Init(), MCJobStatusRefreshRate(), Print(), and ReadFromCommandLine().
|
private |
List of files (delimited with : if more than one) with custom mesg stream thresholds.
Definition at line 75 of file RunOpt.h.
Referenced by Init(), MesgThresholdFiles(), Print(), and ReadFromCommandLine().
|
private |
|
private |
Unphysical event mask.
Definition at line 76 of file RunOpt.h.
Referenced by Init(), Print(), ReadFromCommandLine(), UnphysEventMask(), and ~RunOpt().
|
private |