#include <ParameterMgr.h>
Public Member Functions | |
void | addParameter (const ALIstring &name, const ALIstring &valstr) |
void | addRandomFlatParameter (const ALIstring &name, const ALIstring &valMean, const ALIstring &valInterval) |
void | addRandomGaussParameter (const ALIstring &name, const ALIstring &valMean, const ALIstring &valStdDev) |
ALIint | getParameterValue (const ALIstring &name, ALIdouble &val) |
ALIdouble | getVal (const ALIstring &str, const ALIdouble dimensionFactor=1.) |
void | setRandomSeed (const long seed) |
Static Public Member Functions | |
static ParameterMgr * | getInstance () |
Private Member Functions | |
ParameterMgr () | |
Private Attributes | |
msd | theParameters |
Static Private Attributes | |
static ParameterMgr * | theInstance = nullptr |
Definition at line 15 of file ParameterMgr.h.
|
inlineprivate |
Definition at line 63 of file ParameterMgr.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, ALIUtils::debug, getVal(), Skims_PA_cff::name, and theParameters.
Referenced by metTools.AddMETCollection::__init__(), trackTools.MakeAODTrackCandidates::__init__(), coreTools.RunOnData::__init__(), runJetUncertainties.RunJetUncertainties::__init__(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties::__init__(), cmsswVersionTools.PickRelValInputFiles::__init__(), coreTools.RemoveMCMatching::__init__(), trackTools.MakePATTrackCandidates::__init__(), trigTools.SwitchOnTrigger::__init__(), trigTools.SwitchOnTriggerStandAlone::__init__(), tauTools.AddTauCollection::__init__(), trackTools.MakeTrackCandidates::__init__(), trigTools.SwitchOnTriggerMatching::__init__(), trigTools.SwitchOnTriggerMatchingStandAlone::__init__(), trigTools.SwitchOnTriggerMatchEmbedding::__init__(), jetTools.AddJetCollection::__init__(), jetTools.SwitchJetCollection::__init__(), jetTools.UpdateJetCollection::__init__(), jetTools.AddJetID::__init__(), jetTools.SetTagInfos::__init__(), and Model::readSystemDescription().
void ParameterMgr::addRandomFlatParameter | ( | const ALIstring & | name, |
const ALIstring & | valMean, | ||
const ALIstring & | valInterval | ||
) |
Definition at line 93 of file ParameterMgr.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, gather_cfg::cout, ALIUtils::debug, getVal(), writeEcalDQMStatus::interval, SiStripPI::mean, Skims_PA_cff::name, theParameters, and heppy_batch::val.
Referenced by Model::readSystemDescription().
void ParameterMgr::addRandomGaussParameter | ( | const ALIstring & | name, |
const ALIstring & | valMean, | ||
const ALIstring & | valStdDev | ||
) |
Definition at line 75 of file ParameterMgr.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, gather_cfg::cout, ALIUtils::debug, getVal(), SiStripPI::mean, Skims_PA_cff::name, theParameters, and heppy_batch::val.
Referenced by Model::readSystemDescription().
|
static |
Definition at line 18 of file ParameterMgr.cc.
References ParameterMgr(), and theInstance.
Referenced by Measurement::fillData(), Entry::fillFromInputFileSigma(), Entry::fillFromInputFileValue(), Model::getParameterValue(), and Model::readSystemDescription().
Definition at line 114 of file ParameterMgr.cc.
References Skims_PA_cff::name, theParameters, and heppy_batch::val.
Referenced by Measurement::fillData(), Entry::fillFromInputFileSigma(), Entry::fillFromInputFileValue(), Model::getParameterValue(), and getVal().
Definition at line 27 of file ParameterMgr.cc.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, getParameterValue(), ALIUnitDefinition::GetValueOf(), ALIUtils::IsNumber(), str, and heppy_batch::val.
Referenced by addParameter(), addRandomFlatParameter(), and addRandomGaussParameter().
void ParameterMgr::setRandomSeed | ( | const long | seed | ) |
Definition at line 72 of file ParameterMgr.cc.
References fileCollector::seed.
Referenced by Model::readSystemDescription().
|
staticprivate |
Definition at line 32 of file ParameterMgr.h.
Referenced by getInstance().
|
private |
Definition at line 34 of file ParameterMgr.h.
Referenced by addParameter(), addRandomFlatParameter(), addRandomGaussParameter(), and getParameterValue().