#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 17 of file ParameterMgr.h.
References addParameter(), addRandomFlatParameter(), addRandomGaussParameter(), getInstance(), getParameterValue(), getVal(), Skims_PA_cff::name, SurveyInfoScenario_cff::seed, setRandomSeed(), str, and heppy_batch::val.
Referenced by getInstance().
Definition at line 63 of file ParameterMgr.cc.
References beam_dqm_sourceclient-live_cfg::cerr, ALIUtils::debug, getVal(), Skims_PA_cff::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__(), tauTools.AddTauCollection::__init__(), trackTools.MakeTrackCandidates::__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 93 of file ParameterMgr.cc.
References beam_dqm_sourceclient-live_cfg::cerr, gather_cfg::cout, ALIUtils::debug, getVal(), readEcalDQMStatus::interval, SiStripPI::mean, Skims_PA_cff::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 75 of file ParameterMgr.cc.
References beam_dqm_sourceclient-live_cfg::cerr, gather_cfg::cout, ALIUtils::debug, getVal(), SiStripPI::mean, Skims_PA_cff::name, theParameters, and heppy_batch::val.
Referenced by ParameterMgr(), and 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(), ParameterMgr(), and Model::readSystemDescription().
Definition at line 114 of file ParameterMgr.cc.
References Skims_PA_cff::name, and theParameters.
Referenced by Measurement::fillData(), Entry::fillFromInputFileSigma(), Entry::fillFromInputFileValue(), Model::getParameterValue(), getVal(), and ParameterMgr().
Definition at line 27 of file ParameterMgr.cc.
References beam_dqm_sourceclient-live_cfg::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 72 of file ParameterMgr.cc.
Referenced by ParameterMgr(), and 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().