#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 (T *&data, std::string path, PixelConfigKey key) |
template<class T > | |
static void | get (T *&data, std::string path, unsigned int version) |
template<class T > | |
static void | get (std::map< std::string, T * > &pixelObjects, PixelConfigKey key) |
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 std::vector< std::string > | getVersionAliases (std::string path) |
static bool | getVersionAliases (std::string configAlias, unsigned int &key, std::vector< std::pair< std::string, std::string > > &versionAliases) |
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 59 of file PixelConfigFile.h.
|
inlinestatic |
Definition at line 123 of file PixelConfigFile.h.
References getAlias(), pos::PixelAliasList::insertAlias(), and pos::PixelAliasList::writefile().
|
inlinestatic |
Definition at line 130 of file PixelConfigFile.h.
References pos::PixelConfigAlias::addVersionAlias(), plotBeamSpotDB::first, getAlias(), i, pos::PixelAliasList::insertAlias(), edm::second(), and pos::PixelAliasList::writefile().
|
inlinestatic |
Definition at line 148 of file PixelConfigFile.h.
References electronStore::configs, getAlias(), getConfig(), pos::PixelAliasList::insertVersionAlias(), pos::PixelAliasList::updateConfigAlias(), pos::PixelConfigList::writefile(), and pos::PixelAliasList::writefile().
|
inlinestatic |
Definition at line 100 of file PixelConfigFile.h.
References getConfig().
Referenced by configurationDataExists(), and get().
|
inlinestatic |
Definition at line 500 of file PixelConfigFile.h.
References assert(), newFWLiteAna::base, configList(), gather_cfg::cout, data, DEBUG_CF_, dir, createBeamHaloJobs::directory, edm::false, MillePedeFileConverter_cfg::fileName, recoMuon::in, pos::PixelConfigKey::key(), prof2calltree::last, mergeVDriftHistosByStation::name, findQualityFiles::size, AlCaHLTBitMon_QueryRunRegistry::string, funct::true, and relval_steps::version.
|
inlinestatic |
Definition at line 254 of file PixelConfigFile.h.
References getForceAliasesReload(), and visualization-live-secondInstance_cfg::m.
Referenced by getAlias(), and getForceAliasesReload().
|
inlinestatic |
Definition at line 260 of file PixelConfigFile.h.
References getForceConfigReload(), and visualization-live-secondInstance_cfg::m.
Referenced by getConfig(), and getForceConfigReload().
|
inlinestatic |
Definition at line 317 of file PixelConfigFile.h.
References assert(), newFWLiteAna::base, configList(), gather_cfg::cout, data, dir, createBeamHaloJobs::directory, alignCSCRings::e, cppFunctionSkipper::exception, getConfig(), relval_steps::key, prof2calltree::last, mergeVDriftHistosByStation::name, cmsHarvester::path, findQualityFiles::size, AlCaHLTBitMon_QueryRunRegistry::string, and relval_steps::version.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
|
inlinestatic |
Definition at line 650 of file PixelConfigFile.h.
References assert(), newFWLiteAna::base, gather_cfg::cout, data, dir, createBeamHaloJobs::directory, prof2calltree::last, cmsHarvester::path, AlCaHLTBitMon_QueryRunRegistry::string, and relval_steps::version.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
|
inlinestatic |
Definition at line 815 of file PixelConfigFile.h.
References relval_steps::key.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
|
inlinestatic |
Definition at line 228 of file PixelConfigFile.h.
References autoCond::aliases, createBeamHaloJobs::directory, lut2db_cfg::filename, plotBeamSpotDB::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 63 of file PixelConfigFile.h.
References autoCond::aliases, getAlias(), i, pos::PixelAliasList::key(), pos::PixelAliasList::nAliases(), pos::PixelAliasList::name(), and tmp.
|
inlinestatic |
Definition at line 90 of file PixelConfigFile.h.
References autoCond::aliases, getAlias(), i, pos::PixelAliasList::key(), pos::PixelAliasList::nAliases(), pos::PixelAliasList::name(), and tmp.
|
inlinestatic |
Definition at line 177 of file PixelConfigFile.h.
References electronStore::configs, counter, gather_cfg::cout, createBeamHaloJobs::directory, lut2db_cfg::filename, plotBeamSpotDB::first, forceConfigReload(), pos::PixelConfigList::readfile(), pos::PixelConfigList::reload(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by addVersionAlias(), configList(), get(), getPath(), getVersions(), and makeKey().
|
inlinestatic |
Definition at line 118 of file PixelConfigFile.h.
References getAlias(), and pos::PixelAliasList::getConfigAliases().
|
inlinestaticprivate |
Definition at line 875 of file PixelConfigFile.h.
References forceAliasesReload().
Referenced by forceAliasesReload(), and getAlias().
|
inlinestaticprivate |
Definition at line 879 of file PixelConfigFile.h.
References forceConfigReload().
Referenced by forceConfigReload().
|
inlinestatic |
Definition at line 267 of file PixelConfigFile.h.
References assert(), newFWLiteAna::base, gather_cfg::cout, dir, createBeamHaloJobs::directory, getConfig(), pos::PixelConfigKey::key(), prof2calltree::last, findQualityFiles::size, AlCaHLTBitMon_QueryRunRegistry::string, and relval_steps::version.
|
inlinestatic |
Definition at line 106 of file PixelConfigFile.h.
References getAlias(), and pos::PixelAliasList::getVersion().
|
inlinestatic |
Definition at line 73 of file PixelConfigFile.h.
References getAlias(), and pos::PixelAliasList::getVersionAliases().
|
inlinestatic |
Definition at line 77 of file PixelConfigFile.h.
References HLT_25ns14e33_v1_cff::alias, getAlias(), pos::PixelConfigAlias::key(), pos::PixelConfigAlias::versionAliases(), and pos::PixelAliasList::versionAliases().
|
inlinestatic |
Definition at line 111 of file PixelConfigFile.h.
References getAlias(), and pos::PixelAliasList::getVersionData().
|
inlinestatic |
Definition at line 114 of file PixelConfigFile.h.
References getAlias(), and pos::PixelAliasList::getVersionData().
|
inlinestatic |
Definition at line 140 of file PixelConfigFile.h.
References electronStore::configs, getConfig(), pos::PixelConfigKey::key(), and pos::PixelConfig::versions().
|
inlinestatic |
Definition at line 159 of file PixelConfigFile.h.
References pos::PixelConfig::add(), pos::PixelConfigList::add(), HDQMDatabaseProducer::config, electronStore::configs, plotBeamSpotDB::first, getConfig(), i, edm::second(), and pos::PixelConfigList::writefile().
|
inlinestatic |
Definition at line 826 of file PixelConfigFile.h.
References gather_cfg::cout, createBeamHaloJobs::directory, cmsHarvester::path, AlCaHLTBitMon_QueryRunRegistry::string, and relval_steps::version.
Referenced by put().
|
inlinestatic |
Definition at line 855 of file PixelConfigFile.h.
References dir, makeNewVersion(), AlCaHLTBitMon_QueryRunRegistry::string, and relval_steps::version.
|
inlinestatic |
Definition at line 863 of file PixelConfigFile.h.
References gather_cfg::cout, dir, i, makeNewVersion(), AlCaHLTBitMon_QueryRunRegistry::string, and relval_steps::version.