#include "interface/PixelConfigFile.h"
Static Public Member Functions | |
static void | addAlias (std::string alias, unsigned int key) |
static void | addAlias (std::string alias, unsigned int key, std::vector< std::pair< std::string, std::string > > versionaliases) |
static void | addVersionAlias (std::string path, unsigned int version, std::string alias) |
static PixelConfigList & | configList () |
template<class T > | |
static bool | configurationDataExists (T *&data, std::string path, PixelConfigKey key) |
static void | forceAliasesReload (bool m) |
static void | forceConfigReload (bool m) |
template<class T > | |
static void | get (std::map< std::string, T * > &pixelObjects, PixelConfigKey key) |
template<class T > | |
static void | get (T *&data, std::string path, PixelConfigKey key) |
template<class T > | |
static void | get (T *&data, std::string path, unsigned int version) |
static PixelAliasList & | getAlias () |
static std::vector< std::pair< std::string, unsigned int > > | getAliases () |
static std::map< std::string, unsigned int > | getAliases_map () |
static PixelConfigList & | getConfig () |
static std::vector< pathAliasPair > | getConfigAliases (std::string path) |
static std::string | getPath (std::string path, PixelConfigKey key) |
static unsigned int | getVersion (std::string path, std::string alias) |
static bool | getVersionAliases (std::string configAlias, unsigned int &key, std::vector< std::pair< std::string, std::string > > &versionAliases) |
static std::vector< std::string > | getVersionAliases (std::string path) |
static pos::pathVersionAliasMmap | getVersionData () |
static pos::pathVersionAliasMmap | getVersionData (std::string koc) |
static std::vector< std::pair< std::string, unsigned int > > | getVersions (pos::PixelConfigKey key) |
static unsigned int | makeKey (std::vector< std::pair< std::string, unsigned int > > versions) |
static int | makeNewVersion (std::string path, std::string &dir) |
template<class T > | |
static int | put (const T *object, std::string path) |
template<class T > | |
static int | put (std::vector< T * > objects, std::string path) |
Static Private Member Functions | |
static bool & | getForceAliasesReload () |
static bool & | getForceConfigReload () |
OK, first this is not a DB; this class will try to define an interface to accessing the configuration data.
Definition at line 60 of file PixelConfigFile.h.
|
inlinestatic |
Definition at line 109 of file PixelConfigFile.h.
References SiStripOfflineCRack_cfg::alias, getAlias(), pos::PixelAliasList::insertAlias(), crabWrapper::key, and pos::PixelAliasList::writefile().
|
inlinestatic |
Definition at line 115 of file PixelConfigFile.h.
References pos::PixelConfigAlias::addVersionAlias(), SiStripOfflineCRack_cfg::alias, first, getAlias(), mps_fire::i, pos::PixelAliasList::insertAlias(), crabWrapper::key, edm::second(), and pos::PixelAliasList::writefile().
|
inlinestatic |
Definition at line 132 of file PixelConfigFile.h.
References SiStripOfflineCRack_cfg::alias, trigObjTnPSource_cfi::configs, getAlias(), getConfig(), pos::PixelAliasList::insertVersionAlias(), castor_dqm_sourceclient_file_cfg::path, pos::PixelAliasList::updateConfigAlias(), BeamSplash_cfg::version, and pos::PixelAliasList::writefile().
|
inlinestatic |
Definition at line 95 of file PixelConfigFile.h.
References getConfig().
Referenced by configurationDataExists(), and get().
|
inlinestatic |
Definition at line 471 of file PixelConfigFile.h.
References cms::cuda::assert(), newFWLiteAna::base, configList(), gather_cfg::cout, data, DEBUG_CF_, DeadROC_duringRun::dir, createBeamHaloJobs::directory, submitPVResolutionJobs::err, MillePedeFileConverter_cfg::fileName, reco_skim_cfg_mod::fullpath, recoMuon::in, crabWrapper::key, dqmdumpme::last, Skims_PA_cff::name, castor_dqm_sourceclient_file_cfg::path, findQualityFiles::size, AlCaHLTBitMon_QueryRunRegistry::string, and BeamSplash_cfg::version.
|
inlinestatic |
Definition at line 228 of file PixelConfigFile.h.
References getForceAliasesReload(), and visualization-live-secondInstance_cfg::m.
Referenced by getAlias(), and getForceAliasesReload().
|
inlinestatic |
Definition at line 234 of file PixelConfigFile.h.
References getForceConfigReload(), and visualization-live-secondInstance_cfg::m.
Referenced by getConfig(), and getForceConfigReload().
|
inlinestatic |
Definition at line 777 of file PixelConfigFile.h.
References get(), and crabWrapper::key.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), data_sources.json_list::as_dicts(), data_sources.json_list::as_table(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), util.rrapi.RRApi::data(), rrapi.RRApi::data(), data_sources.json_list::first(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), data_sources.json_list::indices(), data_sources.json_list::last(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), util.rrapi.RRApi::reports(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
|
inlinestatic |
Definition at line 286 of file PixelConfigFile.h.
References cms::cuda::assert(), newFWLiteAna::base, configList(), gather_cfg::cout, data, DeadROC_duringRun::dir, createBeamHaloJobs::directory, MillePedeFileConverter_cfg::e, submitPVResolutionJobs::err, cppFunctionSkipper::exception, reco_skim_cfg_mod::fullpath, getConfig(), crabWrapper::key, dqmdumpme::last, Skims_PA_cff::name, castor_dqm_sourceclient_file_cfg::path, findQualityFiles::size, AlCaHLTBitMon_QueryRunRegistry::string, and BeamSplash_cfg::version.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), data_sources.json_list::as_dicts(), data_sources.json_list::as_table(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), util.rrapi.RRApi::data(), rrapi.RRApi::data(), data_sources.json_list::first(), get(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), data_sources.json_list::indices(), data_sources.json_list::last(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), util.rrapi.RRApi::reports(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), rrapi.RRApi::tags(), util.rrapi.RRApi::templates(), rrapi.RRApi::templates(), rrapi.RRApi::workspaces(), and util.rrapi.RRApi::workspaces().
|
inlinestatic |
Definition at line 613 of file PixelConfigFile.h.
References cms::cuda::assert(), newFWLiteAna::base, gather_cfg::cout, data, DeadROC_duringRun::dir, createBeamHaloJobs::directory, reco_skim_cfg_mod::fullpath, dqmdumpme::last, castor_dqm_sourceclient_file_cfg::path, AlCaHLTBitMon_QueryRunRegistry::string, and BeamSplash_cfg::version.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), data_sources.json_list::as_dicts(), data_sources.json_list::as_table(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), util.rrapi.RRApi::data(), rrapi.RRApi::data(), data_sources.json_list::first(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), data_sources.json_list::indices(), data_sources.json_list::last(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), util.rrapi.RRApi::reports(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
|
inlinestatic |
Definition at line 204 of file PixelConfigFile.h.
References createBeamHaloJobs::directory, corrVsCorr::filename, first, forceAliasesReload(), getForceAliasesReload(), pos::PixelAliasList::readfile(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by addAlias(), addVersionAlias(), getAliases(), getAliases_map(), getConfigAliases(), getVersion(), getVersionAliases(), and getVersionData().
|
inlinestatic |
Definition at line 62 of file PixelConfigFile.h.
References getAlias(), mps_fire::i, pos::PixelAliasList::key(), pos::PixelAliasList::nAliases(), pos::PixelAliasList::name(), and createJobs::tmp.
|
inlinestatic |
Definition at line 86 of file PixelConfigFile.h.
References getAlias(), mps_fire::i, pos::PixelAliasList::key(), pos::PixelAliasList::nAliases(), pos::PixelAliasList::name(), and createJobs::tmp.
|
inlinestatic |
Definition at line 158 of file PixelConfigFile.h.
References trigObjTnPSource_cfi::configs, gather_cfg::cout, createBeamHaloJobs::directory, corrVsCorr::filename, first, forceConfigReload(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by addVersionAlias(), configList(), get(), getPath(), getVersions(), and makeKey().
|
inlinestatic |
Definition at line 106 of file PixelConfigFile.h.
References getAlias(), pos::PixelAliasList::getConfigAliases(), and castor_dqm_sourceclient_file_cfg::path.
|
inlinestaticprivate |
Definition at line 832 of file PixelConfigFile.h.
References forceAliasesReload().
Referenced by forceAliasesReload(), and getAlias().
|
inlinestaticprivate |
Definition at line 836 of file PixelConfigFile.h.
References forceConfigReload().
Referenced by forceConfigReload().
|
inlinestatic |
Definition at line 241 of file PixelConfigFile.h.
References cms::cuda::assert(), newFWLiteAna::base, gather_cfg::cout, DeadROC_duringRun::dir, createBeamHaloJobs::directory, submitPVResolutionJobs::err, reco_skim_cfg_mod::fullpath, getConfig(), crabWrapper::key, dqmdumpme::last, castor_dqm_sourceclient_file_cfg::path, findQualityFiles::size, AlCaHLTBitMon_QueryRunRegistry::string, and BeamSplash_cfg::version.
|
inlinestatic |
Definition at line 100 of file PixelConfigFile.h.
References SiStripOfflineCRack_cfg::alias, getAlias(), pos::PixelAliasList::getVersion(), and castor_dqm_sourceclient_file_cfg::path.
|
inlinestatic |
Definition at line 74 of file PixelConfigFile.h.
References SiStripOfflineCRack_cfg::alias, getAlias(), crabWrapper::key, and pos::PixelAliasList::versionAliases().
|
inlinestatic |
Definition at line 72 of file PixelConfigFile.h.
References getAlias(), pos::PixelAliasList::getVersionAliases(), and castor_dqm_sourceclient_file_cfg::path.
|
inlinestatic |
Definition at line 103 of file PixelConfigFile.h.
References getAlias(), and pos::PixelAliasList::getVersionData().
|
inlinestatic |
Definition at line 104 of file PixelConfigFile.h.
References getAlias(), and pos::PixelAliasList::getVersionData().
|
inlinestatic |
Definition at line 126 of file PixelConfigFile.h.
References trigObjTnPSource_cfi::configs, getConfig(), crabWrapper::key, and pos::PixelConfig::versions().
|
inlinestatic |
Definition at line 142 of file PixelConfigFile.h.
References submitPVResolutionJobs::config, trigObjTnPSource_cfi::configs, first, getConfig(), mps_fire::i, and edm::second().
|
inlinestatic |
Definition at line 785 of file PixelConfigFile.h.
References gather_cfg::cout, DeadROC_duringRun::dir, createBeamHaloJobs::directory, eostools::mkdir(), castor_dqm_sourceclient_file_cfg::path, edm_modernize_messagelogger::stat, AlCaHLTBitMon_QueryRunRegistry::string, and BeamSplash_cfg::version.
Referenced by put().
|
inlinestatic |
Definition at line 812 of file PixelConfigFile.h.
References DeadROC_duringRun::dir, makeNewVersion(), castor_dqm_sourceclient_file_cfg::path, AlCaHLTBitMon_QueryRunRegistry::string, and BeamSplash_cfg::version.
|
inlinestatic |
Definition at line 820 of file PixelConfigFile.h.
References gather_cfg::cout, DeadROC_duringRun::dir, mps_fire::i, makeNewVersion(), castor_dqm_sourceclient_file_cfg::path, AlCaHLTBitMon_QueryRunRegistry::string, and BeamSplash_cfg::version.