Classes | |
struct | id |
struct | knob_sampling_mode |
struct | name |
Public Member Functions | |
GenieMultiverseParameters (unsigned int nuniverses, std::string config_pathname="knob_config.txt") | |
This class generates the parameters of the multi-universes. No more, no less. More... | |
GenieMultiverseParameters (unsigned int nuniverses, std::vector< const ISyst * > systs) | |
std::vector< std::map< const ISyst *, double > > | ShiftTables () |
Return the tables of knob shift values. More... | |
std::vector< std::map< const ISyst *, double > > | NuTruthShiftTables () |
std::vector< SystShifts > | GetSystShifts () |
Private Types | |
typedef multi_index_container< knob_sampling_mode, indexed_by< ordered_unique< tag< id >, BOOST_MULTI_INDEX_MEMBER(knob_sampling_mode, int, id)>, ordered_unique< tag< name >, BOOST_MULTI_INDEX_MEMBER(knob_sampling_mode, std::string, name)> > > | knob_sampling_mode_set |
Private Member Functions | |
void | BuildKnobConfigTable (std::string config_pathname) |
Function for building knob configuration table. More... | |
Private Attributes | |
int | fUniverseSeed |
bool | fIsNuTruth = false |
std::vector< std::map< const ISyst *, double > > | fShiftTables |
Container of shift tables for all universes. More... | |
std::vector< std::map< const ISyst *, double > > | fNuTruthShiftTables |
Container of neutrino truth shift tables for all universes. More... | |
std::vector< SystShifts > | fSystShifts |
knob_sampling_mode_set | fKnobConfigTable |
knob configuration table More... | |
Definition at line 237 of file GenieMultiverseSyst.h.
|
private |
Definition at line 281 of file GenieMultiverseSyst.h.
ana::GenieMultiverseParameters::GenieMultiverseParameters | ( | unsigned int | nuniverses, |
std::string | config_pathname = "knob_config.txt" |
||
) |
This class generates the parameters of the multi-universes. No more, no less.
Definition at line 710 of file GenieMultiverseSyst.cxx.
References BuildKnobConfigTable(), fKnobConfigTable, fShiftTables, fSystShifts, fUniverseSeed, ana::getAllXsecNuTruthSysts_2017(), ana::GetGenieKnobSyst(), nuniverses, central_limit::rand, and systs.
ana::GenieMultiverseParameters::GenieMultiverseParameters | ( | unsigned int | nuniverses, |
std::vector< const ISyst * > | systs | ||
) |
Definition at line 744 of file GenieMultiverseSyst.cxx.
References fIsNuTruth, fShiftTables, fSystShifts, fUniverseSeed, nuniverses, and central_limit::rand.
|
private |
Function for building knob configuration table.
Definition at line 769 of file GenieMultiverseSyst.cxx.
References om::cerr, allTimeWatchdog::endl, exit(), MakeMiniprodValidationCuts::f, fKnobConfigTable, ana::GenieMultiverseNormalizedSpectra::GenieMultiverseNormalizedSpectra(), MECModelEnuComparisons::i, and allTimeWatchdog::index.
Referenced by GenieMultiverseParameters().
|
inline |
Definition at line 248 of file GenieMultiverseSyst.h.
Referenced by containment_optimization(), demo_cut_optimization(), demo_trivial_xsec_analysis(), fiducial_opt(), fiducial_optimization(), getCrossSectionAnalysis_Spectra_systematics(), getCrossSectionAnalysisSpectra(), getFitTemplates(), getSpectra_ForFitting(), muonid_opt(), muonid_optimization(), pion_multiverse(), prongcvn_optimization(), specprod_numuccinc(), vertex_optimize(), and wrong_sign_uncertainty().
|
inline |
Definition at line 247 of file GenieMultiverseSyst.h.
|
inline |
Return the tables of knob shift values.
Definition at line 246 of file GenieMultiverseSyst.h.
Referenced by uncertainty1png(), and uncertainty2png().
|
private |
Definition at line 254 of file GenieMultiverseSyst.h.
Referenced by GenieMultiverseParameters().
|
private |
knob configuration table
Definition at line 283 of file GenieMultiverseSyst.h.
Referenced by BuildKnobConfigTable(), ana::GenieMultiverseNormalizedSpectra::CreateUniverse(), and GenieMultiverseParameters().
|
private |
Container of neutrino truth shift tables for all universes.
Definition at line 257 of file GenieMultiverseSyst.h.
|
private |
Container of shift tables for all universes.
Definition at line 256 of file GenieMultiverseSyst.h.
Referenced by GenieMultiverseParameters().
|
private |
Definition at line 258 of file GenieMultiverseSyst.h.
Referenced by GenieMultiverseParameters().
|
private |
Random seed sequence. Need to have each universe with the same physical parameters. Start from 1001, giving way to the PPFX multi-universe.
Definition at line 248 of file GenieMultiverseSyst.h.
Referenced by ana::GenieMultiverseNormalizedSpectra::CreateUniverse(), and GenieMultiverseParameters().