#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 60 of file PixelConfigFile.h.
|
inlinestatic |
Definition at line 124 of file PixelConfigFile.h.
References getAlias(), pos::PixelAliasList::insertAlias(), and pos::PixelAliasList::writefile().
|
inlinestatic |
Definition at line 131 of file PixelConfigFile.h.
References pos::PixelConfigAlias::addVersionAlias(), plotBeamSpotDB::first, getAlias(), mps_fire::i, pos::PixelAliasList::insertAlias(), edm::second(), and pos::PixelAliasList::writefile().
|
inlinestatic |
Definition at line 149 of file PixelConfigFile.h.
References mvaPhotonID_Fall17_94X_V1_cff::configs, getAlias(), getConfig(), pos::PixelAliasList::insertVersionAlias(), pos::PixelAliasList::updateConfigAlias(), pos::PixelConfigList::writefile(), and pos::PixelAliasList::writefile().
|
inlinestatic |
Definition at line 101 of file PixelConfigFile.h.
References getConfig().
Referenced by configurationDataExists(), and get().
|
inlinestatic |
Definition at line 501 of file PixelConfigFile.h.
References runEdmFileComparison::base, configList(), gather_cfg::cout, data, DEBUG_CF_, dir, createBeamHaloJobs::directory, funct::false, MillePedeFileConverter_cfg::fileName, recoMuon::in, pos::PixelConfigKey::key(), plotBeamSpotDB::last, dataset::name, findQualityFiles::size, AlCaHLTBitMon_QueryRunRegistry::string, funct::true, and jets_cff::version.
|
inlinestatic |
Definition at line 255 of file PixelConfigFile.h.
References getForceAliasesReload(), and funct::m.
Referenced by getAlias(), and getForceAliasesReload().
|
inlinestatic |
Definition at line 261 of file PixelConfigFile.h.
References getForceConfigReload(), and funct::m.
Referenced by getConfig(), and getForceConfigReload().
|
inlinestatic |
Definition at line 318 of file PixelConfigFile.h.
References runEdmFileComparison::base, configList(), gather_cfg::cout, data, dir, createBeamHaloJobs::directory, MillePedeFileConverter_cfg::e, cppFunctionSkipper::exception, getConfig(), crabWrapper::key, plotBeamSpotDB::last, dataset::name, findQualityFiles::size, AlCaHLTBitMon_QueryRunRegistry::string, and jets_cff::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(), rrapi.RRApi::count(), util.rrapi.RRApi::count(), util.rrapi.RRApi::data(), rrapi.RRApi::data(), data_sources.json_list::first(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getResultingSection(), data_sources.json_list::indices(), data_sources.json_list::last(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), util.rrapi.RRApi::reports(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), util.rrapi.RRApi::templates(), rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
|
inlinestatic |
Definition at line 651 of file PixelConfigFile.h.
References runEdmFileComparison::base, gather_cfg::cout, dir, createBeamHaloJobs::directory, plotBeamSpotDB::last, AlCaHLTBitMon_QueryRunRegistry::string, and jets_cff::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(), rrapi.RRApi::count(), util.rrapi.RRApi::count(), util.rrapi.RRApi::data(), rrapi.RRApi::data(), data_sources.json_list::first(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getResultingSection(), data_sources.json_list::indices(), data_sources.json_list::last(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), util.rrapi.RRApi::reports(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), util.rrapi.RRApi::templates(), rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
|
inlinestatic |
Definition at line 816 of file PixelConfigFile.h.
References crabWrapper::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(), rrapi.RRApi::count(), util.rrapi.RRApi::count(), util.rrapi.RRApi::data(), rrapi.RRApi::data(), data_sources.json_list::first(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getResultingSection(), data_sources.json_list::indices(), data_sources.json_list::last(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), util.rrapi.RRApi::reports(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), util.rrapi.RRApi::templates(), rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
|
inlinestatic |
Definition at line 229 of file PixelConfigFile.h.
References createBeamHaloJobs::directory, corrVsCorr::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 64 of file PixelConfigFile.h.
References getAlias(), mps_fire::i, pos::PixelAliasList::key(), pos::PixelAliasList::nAliases(), pos::PixelAliasList::name(), and tmp.
|
inlinestatic |
Definition at line 91 of file PixelConfigFile.h.
References getAlias(), mps_fire::i, pos::PixelAliasList::key(), pos::PixelAliasList::nAliases(), pos::PixelAliasList::name(), and tmp.
|
inlinestatic |
Definition at line 178 of file PixelConfigFile.h.
References mvaPhotonID_Fall17_94X_V1_cff::configs, gather_cfg::cout, createBeamHaloJobs::directory, corrVsCorr::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 119 of file PixelConfigFile.h.
References getAlias(), and pos::PixelAliasList::getConfigAliases().
|
inlinestaticprivate |
Definition at line 876 of file PixelConfigFile.h.
References forceAliasesReload().
Referenced by forceAliasesReload(), and getAlias().
|
inlinestaticprivate |
Definition at line 880 of file PixelConfigFile.h.
References forceConfigReload().
Referenced by forceConfigReload().
|
inlinestatic |
Definition at line 268 of file PixelConfigFile.h.
References runEdmFileComparison::base, gather_cfg::cout, dir, createBeamHaloJobs::directory, getConfig(), pos::PixelConfigKey::key(), plotBeamSpotDB::last, findQualityFiles::size, AlCaHLTBitMon_QueryRunRegistry::string, and jets_cff::version.
|
inlinestatic |
Definition at line 107 of file PixelConfigFile.h.
References getAlias(), and pos::PixelAliasList::getVersion().
|
inlinestatic |
Definition at line 74 of file PixelConfigFile.h.
References getAlias(), and pos::PixelAliasList::getVersionAliases().
|
inlinestatic |
Definition at line 78 of file PixelConfigFile.h.
References met_cff::alias, getAlias(), pos::PixelConfigAlias::key(), pos::PixelConfigAlias::versionAliases(), and pos::PixelAliasList::versionAliases().
|
inlinestatic |
Definition at line 112 of file PixelConfigFile.h.
References getAlias(), and pos::PixelAliasList::getVersionData().
|
inlinestatic |
Definition at line 115 of file PixelConfigFile.h.
References getAlias(), and pos::PixelAliasList::getVersionData().
|
inlinestatic |
Definition at line 141 of file PixelConfigFile.h.
References mvaPhotonID_Fall17_94X_V1_cff::configs, getConfig(), pos::PixelConfigKey::key(), and pos::PixelConfig::versions().
|
inlinestatic |
Definition at line 160 of file PixelConfigFile.h.
References pos::PixelConfig::add(), pos::PixelConfigList::add(), looper::config, mvaPhotonID_Fall17_94X_V1_cff::configs, plotBeamSpotDB::first, getConfig(), mps_fire::i, edm::second(), and pos::PixelConfigList::writefile().
|
inlinestatic |
Definition at line 827 of file PixelConfigFile.h.
References gather_cfg::cout, createBeamHaloJobs::directory, eostools::mkdir(), callgraph::path, trackingPlots::stat, AlCaHLTBitMon_QueryRunRegistry::string, and jets_cff::version.
Referenced by put().
|
inlinestatic |
Definition at line 856 of file PixelConfigFile.h.
References dir, makeNewVersion(), AlCaHLTBitMon_QueryRunRegistry::string, and jets_cff::version.
|
inlinestatic |
Definition at line 864 of file PixelConfigFile.h.
References gather_cfg::cout, dir, mps_fire::i, makeNewVersion(), AlCaHLTBitMon_QueryRunRegistry::string, and jets_cff::version.