#include <UniverseOracle.h>
Public Member Functions | |
| bool | SystExists (const std::string &name) const |
| std::vector< std::string > | Systs () const |
| List of all known syst names. More... | |
| const std::vector< float > & | ShiftsForSyst (const std::string &name) const |
| List of shifts for this syst in each universe. More... | |
| unsigned int | ParameterSetIndex (const std::string &name) const |
| Which index in the weights array corresponds to this parameter set? More... | |
| unsigned int | SystIndex (const std::string &name) const |
| Which index in the weights array corresponds to the shifting of just this syst (in any parameter set)? More... | |
| unsigned int | ClosestShiftIndex (const std::string &name, double shift, ESide side=ESide::kEither, double *trueShift=0) const |
| Within that entry, which index corresponds most closely to 'shift'? More... | |
Static Public Member Functions | |
| static UniverseOracle & | Instance () |
Protected Member Functions | |
| UniverseOracle () | |
Protected Attributes | |
| std::map< std::string, unsigned int > | fPSetIdxs |
| std::map< std::string, unsigned int > | fSystIdxs |
| std::map< std::string, std::vector< float > > | fShiftVals |
Definition at line 16 of file UniverseOracle.h.
|
protected |
Definition at line 75 of file UniverseOracle.cxx.
| unsigned int ana::UniverseOracle::ClosestShiftIndex | ( | const std::string & | name, |
| double | shift, | ||
| ESide | side = ESide::kEither, |
||
| double * | trueShift = 0 |
||
| ) | const |
Within that entry, which index corresponds most closely to 'shift'?
Definition at line 143 of file UniverseOracle.cxx.
|
static |
Definition at line 68 of file UniverseOracle.cxx.
| unsigned int ana::UniverseOracle::ParameterSetIndex | ( | const std::string & | name | ) | const |
Which index in the weights array corresponds to this parameter set?
Definition at line 121 of file UniverseOracle.cxx.
| const std::vector< float > & ana::UniverseOracle::ShiftsForSyst | ( | const std::string & | name | ) | const |
List of shifts for this syst in each universe.
Definition at line 114 of file UniverseOracle.cxx.
| bool ana::UniverseOracle::SystExists | ( | const std::string & | name | ) | const |
Definition at line 99 of file UniverseOracle.cxx.
| unsigned int ana::UniverseOracle::SystIndex | ( | const std::string & | name | ) | const |
Which index in the weights array corresponds to the shifting of just this syst (in any parameter set)?
Definition at line 132 of file UniverseOracle.cxx.
| std::vector< std::string > ana::UniverseOracle::Systs | ( | ) | const |
List of all known syst names.
Definition at line 105 of file UniverseOracle.cxx.
|
protected |
Definition at line 42 of file UniverseOracle.h.
|
protected |
Definition at line 44 of file UniverseOracle.h.
|
protected |
Definition at line 43 of file UniverseOracle.h.
1.8.5