#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(), plotBeamSpotDB::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, plotBeamSpotDB::last, mergeVDriftHistosByStation::name, fed_dqm_sourceclient-live_cfg::path, findQualityFiles::size, AlCaHLTBitMon_QueryRunRegistry::string, and relval_steps::version.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), data_sources.json_list::as_dicts(), data_sources.json_list::as_table(), rrapi.RRApi::columns(), util.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(), data_sources.json_list::indices(), data_sources.json_list::last(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
|
inlinestatic |
Definition at line 650 of file PixelConfigFile.h.
References assert(), newFWLiteAna::base, gather_cfg::cout, data, dir, createBeamHaloJobs::directory, plotBeamSpotDB::last, fed_dqm_sourceclient-live_cfg::path, AlCaHLTBitMon_QueryRunRegistry::string, and relval_steps::version.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), data_sources.json_list::as_dicts(), data_sources.json_list::as_table(), rrapi.RRApi::columns(), util.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(), data_sources.json_list::indices(), data_sources.json_list::last(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), 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(), data_sources.json_list::as_dicts(), data_sources.json_list::as_table(), rrapi.RRApi::columns(), util.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(), data_sources.json_list::indices(), data_sources.json_list::last(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), 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(), plotBeamSpotDB::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_25ns10e33_v2_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(), mps_alisetup::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, eostools::mkdir(), fed_dqm_sourceclient-live_cfg::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.