#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(), 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 newFWLiteAna::base, configList(), gather_cfg::cout, data, DEBUG_CF_, dir, createBeamHaloJobs::directory, funct::false, convertXMLtoSQLite_cfg::fileName, recoMuon::in, pos::PixelConfigKey::key(), prof2calltree::last, mergeVDriftHistosByStation::name, findQualityFiles::size, AlCaHLTBitMon_QueryRunRegistry::string, funct::true, and BeamSplash_cfg::version.
|
inlinestatic |
Definition at line 254 of file PixelConfigFile.h.
References getForceAliasesReload(), and m.
Referenced by getAlias(), and getForceAliasesReload().
|
inlinestatic |
Definition at line 260 of file PixelConfigFile.h.
References getForceConfigReload(), and m.
Referenced by getConfig(), and getForceConfigReload().
|
inlinestatic |
Definition at line 317 of file PixelConfigFile.h.
References newFWLiteAna::base, configList(), gather_cfg::cout, data, dir, createBeamHaloJobs::directory, alignCSCRings::e, cppFunctionSkipper::exception, getConfig(), combine::key, prof2calltree::last, mergeVDriftHistosByStation::name, getHLTPrescaleColumns::path, findQualityFiles::size, AlCaHLTBitMon_QueryRunRegistry::string, and BeamSplash_cfg::version.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
|
inlinestatic |
Definition at line 650 of file PixelConfigFile.h.
References newFWLiteAna::base, gather_cfg::cout, data, dir, createBeamHaloJobs::directory, prof2calltree::last, getHLTPrescaleColumns::path, AlCaHLTBitMon_QueryRunRegistry::string, and BeamSplash_cfg::version.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
|
inlinestatic |
Definition at line 815 of file PixelConfigFile.h.
References combine::key.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
|
inlinestatic |
Definition at line 228 of file PixelConfigFile.h.
References autoCond::aliases, createBeamHaloJobs::directory, lut2db_cfg::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 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, gather_cfg::cout, createBeamHaloJobs::directory, lut2db_cfg::filename, first, forceConfigReload(), pos::PixelConfigList::readfile(), pos::PixelConfigList::reload(), stor::utils::sleep(), 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 newFWLiteAna::base, gather_cfg::cout, dir, createBeamHaloJobs::directory, getConfig(), pos::PixelConfigKey::key(), prof2calltree::last, findQualityFiles::size, AlCaHLTBitMon_QueryRunRegistry::string, and BeamSplash_cfg::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 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, first, getConfig(), i, edm::second(), and pos::PixelConfigList::writefile().
|
inlinestatic |
Definition at line 826 of file PixelConfigFile.h.
References gather_cfg::cout, createBeamHaloJobs::directory, getHLTPrescaleColumns::path, AlCaHLTBitMon_QueryRunRegistry::string, and BeamSplash_cfg::version.
Referenced by put().
|
inlinestatic |
Definition at line 855 of file PixelConfigFile.h.
References dir, makeNewVersion(), AlCaHLTBitMon_QueryRunRegistry::string, and BeamSplash_cfg::version.
|
inlinestatic |
Definition at line 863 of file PixelConfigFile.h.
References gather_cfg::cout, dir, i, makeNewVersion(), AlCaHLTBitMon_QueryRunRegistry::string, and BeamSplash_cfg::version.