GENIEGenerator
|
Some common run-time GENIE options. More...
#include <RunOpt.h>
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) |
static std::string | RunOptSyntaxString (bool include_generator_specific) |
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.
|
private |
Definition at line 40 of file RunOpt.cxx.
References fInstance, and Init().
Referenced by Instance().
|
private |
|
privatevirtual |
Definition at line 47 of file RunOpt.cxx.
References fInstance, fTune, and fUnphysEventMask.
|
inline |
Definition at line 53 of file RunOpt.h.
References fEnableBareXSecPreCalc.
Referenced by genie::DISXSec::Integrate(), genie::DMDISXSec::Integrate(), genie::SPPXSec::Integrate(), genie::ReinSehgalRESXSec::Integrate(), genie::ReinSehgalRESXSecFast::Integrate(), genie::KNOTunedQPMDISPXSec::LoadConfig(), and genie::QPMDMDISPXSec::LoadConfig().
void genie::RunOpt::BuildTune | ( | ) |
build tune and inform XSecSplineList
Definition at line 92 of file RunOpt.cxx.
References genie::TuneId::Build(), genie::XSecSplineList::Instance(), LOG, genie::TuneId::Name(), pINFO, genie::XSecSplineList::SetCurrentTune(), and Tune().
Referenced by Initialize(), and main().
|
inline |
Definition at line 48 of file RunOpt.h.
References fCacheFile.
|
inline |
|
inline |
Definition at line 47 of file RunOpt.h.
References fEventGeneratorList.
Referenced by main().
|
inline |
Definition at line 51 of file RunOpt.h.
References fEventRecordPrintLevel.
Referenced by main().
|
private |
Definition at line 64 of file RunOpt.cxx.
References fCacheFile, fEnableBareXSecPreCalc, fEventGeneratorList, fEventRecordPrintLevel, fMCJobStatusRefreshRate, fMesgThresholds, fTune, fUnphysEventMask, fXMLPath, and genie::GHepFlags::NFlags().
Referenced by RunOpt().
|
static |
Definition at line 54 of file RunOpt.cxx.
References genie::RunOpt::Cleaner::DummyMethodAndSilentCompiler(), fInstance, and RunOpt().
Referenced by genie::EventGeneratorListAssembler::AssembleGeneratorList(), DecodeCommandLine(), GenerateEventsAtFixedInitState(), GetCommandLineArgs(), GetEventGenDriver(), genie::HEDISStrucFunc::HEDISStrucFunc(), genie::NtpWriter::Initialize(), Initialize(), genie::DISXSec::Integrate(), genie::DMDISXSec::Integrate(), genie::SPPXSec::Integrate(), genie::ReinSehgalRESXSec::Integrate(), genie::ReinSehgalRESXSecFast::Integrate(), genie::KNOTunedQPMDISPXSec::LoadConfig(), genie::QPMDMDISPXSec::LoadConfig(), main(), and TestDecay().
|
inline |
Definition at line 52 of file RunOpt.h.
References fMCJobStatusRefreshRate.
|
inline |
Definition at line 49 of file RunOpt.h.
References fMesgThresholds.
void genie::RunOpt::Print | ( | ostream & | stream | ) | const |
Definition at line 185 of file RunOpt.cxx.
References fCacheFile, fEnableBareXSecPreCalc, fEventGeneratorList, fEventRecordPrintLevel, fMCJobStatusRefreshRate, fMesgThresholds, fTune, fUnphysEventMask, fXMLPath, and genie::GHepFlags::NFlags().
Referenced by genie::operator<<().
void genie::RunOpt::ReadFromCommandLine | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 99 of file RunOpt.cxx.
References genie::CmdLnArgParser::ArgAsInt(), genie::CmdLnArgParser::ArgAsString(), fCacheFile, fEnableBareXSecPreCalc, fEventRecordPrintLevel, fMCJobStatusRefreshRate, fMesgThresholds, fUnphysEventMask, fXMLPath, LOG, genie::GHepFlags::NFlags(), genie::CmdLnArgParser::OptionExists(), pDEBUG, SetEventGeneratorList(), and SetTuneName().
Referenced by DecodeCommandLine(), GetCommandLineArgs(), and main().
|
static |
|
inline |
Definition at line 61 of file RunOpt.h.
References fEventGeneratorList.
Referenced by ReadFromCommandLine().
void genie::RunOpt::SetTuneName | ( | string | tuneName = "Default" | ) |
Definition at line 81 of file RunOpt.cxx.
References fTune, genie::gDefaultTune, LOG, genie::TuneId::Name(), and pNOTICE.
Referenced by ReadFromCommandLine().
|
inline |
Definition at line 46 of file RunOpt.h.
References fTune.
Referenced by BuildTune(), genie::HEDISStrucFunc::HEDISStrucFunc(), and genie::NtpWriter::Initialize().
|
inline |
Definition at line 50 of file RunOpt.h.
References fUnphysEventMask.
|
inline |
Definition at line 54 of file RunOpt.h.
References fXMLPath.
|
friend |
Definition at line 32 of file RunOpt.cxx.
|
private |
Name of cache file, is cache is to be re-used.
Definition at line 75 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 80 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 74 of file RunOpt.h.
Referenced by EventGeneratorList(), Init(), Print(), and SetEventGeneratorList().
|
private |
GHEP event r ecord print level.
Definition at line 78 of file RunOpt.h.
Referenced by EventRecordPrintLevel(), Init(), Print(), and ReadFromCommandLine().
|
staticprivate |
Definition at line 85 of file RunOpt.h.
Referenced by Instance(), RunOpt(), genie::RunOpt::Cleaner::~Cleaner(), and ~RunOpt().
|
private |
MC job status file refresh rate.
Definition at line 79 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 76 of file RunOpt.h.
Referenced by Init(), MesgThresholdFiles(), Print(), and ReadFromCommandLine().
|
private |
|
private |
Unphysical event mask.
Definition at line 77 of file RunOpt.h.
Referenced by Init(), Print(), ReadFromCommandLine(), UnphysEventMask(), and ~RunOpt().
|
private |