#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 = 0 |
Definition at line 15 of file ParameterMgr.h.
|
inlineprivate |
Definition at line 69 of file ParameterMgr.cc.
References dtNoiseDBValidation_cfg::cerr, ALIUtils::debug, getVal(), mergeVDriftHistosByStation::name, and theParameters.
Referenced by editorTools.UserCodeTool::__init__(), metTools.AddMETCollection::__init__(), trackTools.MakeAODTrackCandidates::__init__(), coreTools.RunOnData::__init__(), HiCoreTools.RestrictInputToAOD::__init__(), metUncertaintyTools.RunMEtUncertainties::__init__(), jetTools.AddJetCollection::__init__(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool::__init__(), editorTools.ChangeSource::__init__(), HiCoreTools.RemoveMCMatching::__init__(), cmsswVersionTools.PickRelValInputFiles::__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__(), jetTools.SwitchJetCollection::__init__(), trigTools.SwitchOnTriggerMatchEmbedding::__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 103 of file ParameterMgr.cc.
References dtNoiseDBValidation_cfg::cerr, gather_cfg::cout, ALIUtils::debug, getVal(), MergeJob_cfg::interval, timingPdfMaker::mean, mergeVDriftHistosByStation::name, and theParameters.
Referenced by Model::readSystemDescription().
void ParameterMgr::addRandomGaussParameter | ( | const ALIstring & | name, |
const ALIstring & | valMean, | ||
const ALIstring & | valStdDev | ||
) |
Definition at line 87 of file ParameterMgr.cc.
References dtNoiseDBValidation_cfg::cerr, gather_cfg::cout, ALIUtils::debug, getVal(), timingPdfMaker::mean, mergeVDriftHistosByStation::name, and theParameters.
Referenced by 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(), and Model::readSystemDescription().
Definition at line 122 of file ParameterMgr.cc.
References mergeVDriftHistosByStation::name, and theParameters.
Referenced by Measurement::fillData(), Entry::fillFromInputFileSigma(), Entry::fillFromInputFileValue(), Model::getParameterValue(), and getVal().
Definition at line 31 of file ParameterMgr.cc.
References dtNoiseDBValidation_cfg::cerr, getParameterValue(), ALIUnitDefinition::GetValueOf(), and ALIUtils::IsNumber().
Referenced by addParameter(), addRandomFlatParameter(), and addRandomGaussParameter().
void ParameterMgr::setRandomSeed | ( | const long | seed | ) |
|
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().