#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 18 of file ParameterMgr.h.
References addParameter(), addRandomFlatParameter(), addRandomGaussParameter(), getInstance(), getParameterValue(), getVal(), dataset::name, SurveyInfoScenario_cff::seed, setRandomSeed(), str, and heppy_batch::val.
Referenced by getInstance().
Definition at line 69 of file ParameterMgr.cc.
References MessageLogger_cfi::cerr, ALIUtils::debug, getVal(), dataset::name, and theParameters.
Referenced by editorTools.UserCodeTool::__init__(), trackTools.MakeAODTrackCandidates::__init__(), metTools.AddMETCollection::__init__(), HiCoreTools.RestrictInputToAOD::__init__(), coreTools.RunOnData::__init__(), runJetUncertainties.RunJetUncertainties::__init__(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties::__init__(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool::__init__(), editorTools.ChangeSource::__init__(), cmsswVersionTools.PickRelValInputFiles::__init__(), HiCoreTools.RemoveMCMatching::__init__(), coreTools.RemoveMCMatching::__init__(), trackTools.MakePATTrackCandidates::__init__(), trigTools.SwitchOnTrigger::__init__(), HiCoreTools.RemoveAllPATObjectsBut::__init__(), HiCoreTools.RemoveSpecificPATObjects::__init__(), trigTools.SwitchOnTriggerStandAlone::__init__(), trackTools.MakeTrackCandidates::__init__(), tauTools.AddTauCollection::__init__(), trigTools.SwitchOnTriggerMatching::__init__(), HiCoreTools.RemoveCleaning::__init__(), HiCoreTools.AddCleaning::__init__(), trigTools.SwitchOnTriggerMatchingStandAlone::__init__(), trigTools.SwitchOnTriggerMatchEmbedding::__init__(), jetTools.AddJetCollection::__init__(), jetTools.SwitchJetCollection::__init__(), jetTools.UpdateJetCollection::__init__(), jetTools.AddJetID::__init__(), jetTools.SetTagInfos::__init__(), ParameterMgr(), and Model::readSystemDescription().
void ParameterMgr::addRandomFlatParameter | ( | const ALIstring & | name, |
const ALIstring & | valMean, | ||
const ALIstring & | valInterval | ||
) |
Definition at line 103 of file ParameterMgr.cc.
References MessageLogger_cfi::cerr, gather_cfg::cout, ALIUtils::debug, getVal(), SiStripPI::mean, dataset::name, theParameters, and heppy_batch::val.
Referenced by ParameterMgr(), and Model::readSystemDescription().
void ParameterMgr::addRandomGaussParameter | ( | const ALIstring & | name, |
const ALIstring & | valMean, | ||
const ALIstring & | valStdDev | ||
) |
Definition at line 87 of file ParameterMgr.cc.
References MessageLogger_cfi::cerr, gather_cfg::cout, ALIUtils::debug, getVal(), SiStripPI::mean, dataset::name, theParameters, and heppy_batch::val.
Referenced by ParameterMgr(), and Model::readSystemDescription().
|
static |
Definition at line 19 of file ParameterMgr.cc.
References ParameterMgr(), and theInstance.
Referenced by Measurement::fillData(), Entry::fillFromInputFileSigma(), Entry::fillFromInputFileValue(), Model::getParameterValue(), ParameterMgr(), and Model::readSystemDescription().
Definition at line 122 of file ParameterMgr.cc.
References dataset::name, and theParameters.
Referenced by Measurement::fillData(), Entry::fillFromInputFileSigma(), Entry::fillFromInputFileValue(), Model::getParameterValue(), getVal(), and ParameterMgr().
Definition at line 31 of file ParameterMgr.cc.
References MessageLogger_cfi::cerr, getParameterValue(), ALIUnitDefinition::GetValueOf(), ALIUtils::IsNumber(), and heppy_batch::val.
Referenced by addParameter(), addRandomFlatParameter(), addRandomGaussParameter(), and ParameterMgr().
void ParameterMgr::setRandomSeed | ( | const long | seed | ) |
Definition at line 80 of file ParameterMgr.cc.
Referenced by ParameterMgr(), and Model::readSystemDescription().
|
staticprivate |
Definition at line 34 of file ParameterMgr.h.
Referenced by getInstance().
|
private |
Definition at line 36 of file ParameterMgr.h.
Referenced by addParameter(), addRandomFlatParameter(), addRandomGaussParameter(), and getParameterValue().