Public Member Functions | |
DTConfigDBProducer (const edm::ParameterSet &) | |
Constructor. More... | |
std::unique_ptr< DTConfigManager > | produce (const DTConfigManagerRcd &) |
ES produce method. More... | |
~DTConfigDBProducer () override | |
Destructor. More... | |
Public Member Functions inherited from edm::ESProducer | |
ESProducer () | |
ESProducer (const ESProducer &)=delete | |
ESProxyIndex const * | getTokenIndices (unsigned int iIndex) const |
ESRecordIndex const * | getTokenRecordIndices (unsigned int iIndex) const |
bool | hasMayConsumes () const noexcept |
size_t | numberOfTokenIndices (unsigned int iIndex) const |
ESProducer const & | operator= (const ESProducer &)=delete |
SerialTaskQueueChain & | queue () |
template<typename Record > | |
std::optional< std::vector< ESProxyIndex > > | updateFromMayConsumes (unsigned int iIndex, const Record &iRecord) const |
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) final |
~ESProducer () noexcept(false) override | |
Public Member Functions inherited from edm::ESProxyFactoryProducer | |
ESProxyFactoryProducer () | |
ESProxyFactoryProducer (const ESProxyFactoryProducer &)=delete | |
const ESProxyFactoryProducer & | operator= (const ESProxyFactoryProducer &)=delete |
~ESProxyFactoryProducer () noexcept(false) override | |
Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
void | createKeyedProxies (EventSetupRecordKey const &key, unsigned int nConcurrentIOVs) |
DataProxyProvider () | |
DataProxyProvider (const DataProxyProvider &)=delete | |
const ComponentDescription & | description () const |
void | fillRecordsNotAllowingConcurrentIOVs (std::set< EventSetupRecordKey > &recordsNotAllowingConcurrentIOVs) const |
virtual void | initConcurrentIOVs (EventSetupRecordKey const &key, unsigned int nConcurrentIOVs) |
bool | isUsingRecord (const EventSetupRecordKey &key) const |
KeyedProxies & | keyedProxies (const EventSetupRecordKey &iRecordKey, unsigned int iovIndex=0) |
const DataProxyProvider & | operator= (const DataProxyProvider &)=delete |
void | setAppendToDataLabel (const edm::ParameterSet &) |
void | setDescription (const ComponentDescription &iDescription) |
std::set< EventSetupRecordKey > | usingRecords () const |
virtual | ~DataProxyProvider () noexcept(false) |
Private Member Functions | |
DTConfigPedestals | buildTrivialPedestals () |
SV for debugging purpose ONLY. More... | |
int | checkDTCCBConfig (DTConfigManager &dttpgConfig) |
110629 SV function for CCB configuration check More... | |
void | configFromCfg (DTConfigManager &dttpgConfig) |
SV for debugging purpose ONLY. More... | |
std::string | mapEntryName (const DTChamberId &chambid) const |
void | readDBPedestalsConfig (const DTConfigManagerRcd &iRecord, DTConfigManager &dttpgConfig) |
Read DTTPG pedestal configuration. More... | |
int | readDTCCBConfig (const DTConfigManagerRcd &iRecord, DTConfigManager &dttpgConfig) |
Read CCB string configuration. More... | |
Private Attributes | |
DTKeyedConfigCache | cfgCache |
bool | cfgConfig |
bool | flagDBBti |
bool | flagDBLUTS |
bool | flagDBTraco |
bool | flagDBTSM |
bool | flagDBTSS |
edm::ESGetToken< DTCCBConfig, DTCCBConfigRcd > | m_ccb_confToken |
int | m_debugBti |
bool | m_debugDB |
bool | m_debugLUTs |
bool | m_debugPed |
bool | m_debugSC |
int | m_debugTraco |
bool | m_debugTSP |
bool | m_debugTST |
bool | m_debugTU |
edm::ESGetToken< DTTPGParameters, DTTPGParametersRcd > | m_dttpgParamsToken |
edm::ESGetToken< cond::persistency::KeyList, DTKeyedConfigListRcd > | m_keyListToken |
edm::ParameterSet | m_ps |
edm::ESGetToken< DTT0, DTT0Rcd > | m_t0iToken |
bool | m_UseT0 |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Types inherited from edm::ESProxyFactoryProducer | |
using | EventSetupRecordKey = eventsetup::EventSetupRecordKey |
Protected Types inherited from edm::eventsetup::DataProxyProvider | |
using | KeyedProxiesVector = std::vector< std::pair< DataKey, std::shared_ptr< DataProxy > >> |
Protected Member Functions inherited from edm::ESProducer | |
template<typename T > | |
auto | setWhatProduced (T *iThis, const es::Label &iLabel={}) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const char *iLabel) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const std::string &iLabel) |
template<typename T , typename TDecorator > | |
auto | setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel={}) |
template<typename T , typename TReturn , typename TRecord > | |
auto | setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const es::Label &iLabel={}) |
template<typename T , typename TReturn , typename TRecord , typename TArg > | |
auto | setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel={}) |
template<typename TFunc > | |
auto | setWhatProduced (TFunc &&func, const es::Label &iLabel={}) |
template<typename TReturn , typename TRecord , typename TFunc , typename TDecorator > | |
ESConsumesCollectorT< TRecord > | setWhatProduced (TFunc &&func, TDecorator &&iDec, const es::Label &iLabel={}) |
void | usesResources (std::vector< std::string > const &) |
Protected Member Functions inherited from edm::ESProxyFactoryProducer | |
template<class TFactory > | |
void | registerFactory (std::unique_ptr< TFactory > iFactory, const std::string &iLabel=std::string()) |
virtual void | registerFactoryWithKey (const EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string()) |
KeyedProxiesVector | registerProxies (const EventSetupRecordKey &, unsigned int iovIndex) override |
Protected Member Functions inherited from edm::eventsetup::DataProxyProvider | |
template<class T > | |
void | usingRecord () |
void | usingRecordWithKey (const EventSetupRecordKey &key) |
L1TriggerConfig/DTTPGConfigProducers/interface/DTConfigDBProducer.h
Description: A Producer for the DT config, data retrieved from DB
Implementation: <Notes on="" implementation>="">
Definition at line 61 of file DTConfigDBProducer.cc.
DTConfigDBProducer::DTConfigDBProducer | ( | const edm::ParameterSet & | p | ) |
Constructor.
Definition at line 123 of file DTConfigDBProducer.cc.
References gpuPixelDoublets::cc, cfgConfig, m_ccb_confToken, m_debugBti, m_debugDB, m_debugLUTs, m_debugPed, m_debugSC, m_debugTraco, m_debugTSP, m_debugTST, m_debugTU, m_dttpgParamsToken, m_keyListToken, m_ps, m_t0iToken, m_UseT0, AlCaHLTBitMon_ParallelJobs::p, produce(), and edm::ESProducer::setWhatProduced().
|
override |
|
private |
SV for debugging purpose ONLY.
Definition at line 794 of file DTConfigDBProducer.cc.
References dqmiodumpmetadata::counts, gather_cfg::cout, L1DTConfigParams_cff::DTTPGParameters, edm::ParameterSet::getParameter(), m_debugPed, m_ps, DTTimeUnits::ns, DTTPGParameters::set(), DTConfigPedestals::setES(), and DTConfigPedestals::setUseT0().
Referenced by configFromCfg().
|
private |
110629 SV function for CCB configuration check
Definition at line 227 of file DTConfigDBProducer.cc.
References DTConfigManager::getDTConfigBtiMap(), DTConfigManager::getDTConfigTracoMap(), DTConfigManager::getDTConfigTSPhi(), DTConfigTSPhi::nValidTSM(), and DTConfigTSPhi::nValidTSS().
Referenced by produce().
|
private |
SV for debugging purpose ONLY.
Definition at line 673 of file DTConfigDBProducer.cc.
References buildTrivialPedestals(), gather_cfg::cout, flagDBBti, flagDBTraco, flagDBTSM, flagDBTSS, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), m_ps, mapEntryName(), DTChamberId::sector(), DTConfigManager::setCCBConfigValidity(), DTConfigManager::setDTConfigBti(), DTConfigManager::setDTConfigPedestals(), DTConfigManager::setDTConfigSectColl(), DTConfigManager::setDTConfigTraco(), DTConfigManager::setDTConfigTrigUnit(), DTConfigManager::setDTConfigTSPhi(), DTConfigManager::setDTConfigTSTheta(), DTChamberId::station(), and DTChamberId::wheel().
Referenced by produce().
|
private |
Definition at line 660 of file DTConfigDBProducer.cc.
References DTChamberId::sector(), DTChamberId::station(), and DTChamberId::wheel().
Referenced by configFromCfg().
std::unique_ptr< DTConfigManager > DTConfigDBProducer::produce | ( | const DTConfigManagerRcd & | iRecord | ) |
ES produce method.
Definition at line 161 of file DTConfigDBProducer.cc.
References cfgConfig, checkDTCCBConfig(), configFromCfg(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), m_ps, readDBPedestalsConfig(), and readDTCCBConfig().
Referenced by DTConfigDBProducer().
|
private |
Read DTTPG pedestal configuration.
Definition at line 208 of file DTConfigDBProducer.cc.
References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), m_debugPed, m_dttpgParamsToken, m_t0iToken, m_UseT0, DTConfigPedestals::setDebug(), DTConfigManager::setDTConfigPedestals(), DTConfigPedestals::setES(), and DTConfigPedestals::setUseT0().
Referenced by produce().
|
private |
Read CCB string configuration.
Definition at line 337 of file DTConfigDBProducer.cc.
References edmScanValgrind::buffer, HltBtagPostValidation_cff::c, alignmentValidation::c1, cfgCache, gather_cfg::cout, HLT_2022v15_cff::distance, mps_fire::end, edm::IOVSyncValue::eventID(), edm::ValidityInterval::first(), flagDBBti, flagDBLUTS, flagDBTraco, flagDBTSM, flagDBTSS, edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), DTPosNegType::getCT(), DTKeyedConfigCache::getData(), edm::ParameterSet::getParameter(), DTPosNegType::getPN(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), edm::ParameterSet::getUntrackedParameter(), mps_fire::i, testProducerWithPsetDescEmpty_cfi::i1, testProducerWithPsetDescEmpty_cfi::i2, createfilelist::int, DTConfigManager::lutFromDB(), m_ccb_confToken, m_debugBti, m_debugDB, m_debugLUTs, m_debugSC, m_debugTraco, m_debugTSP, m_debugTST, m_debugTU, m_keyListToken, m_ps, edm::EventID::run(), DTChamberId::sector(), DTCCBId::sectorId, DTConfigManager::setCCBConfigValidity(), DTConfigTrigUnit::setDebug(), DTConfigSectColl::setDebug(), DTConfigManager::setDTConfigBti(), DTConfigManager::setDTConfigLUTs(), DTConfigManager::setDTConfigSectColl(), DTConfigManager::setDTConfigTraco(), DTConfigManager::setDTConfigTrigUnit(), DTConfigManager::setDTConfigTSPhi(), DTConfigManager::setDTConfigTSTheta(), DTChamberId::station(), DTCCBId::stationId, str, AlCaHLTBitMon_QueryRunRegistry::string, edm::eventsetup::EventSetupRecord::validityInterval(), DTChamberId::wheel(), and DTCCBId::wheelId.
Referenced by produce().
|
private |
Definition at line 116 of file DTConfigDBProducer.cc.
Referenced by readDTCCBConfig().
|
private |
Definition at line 112 of file DTConfigDBProducer.cc.
Referenced by DTConfigDBProducer(), and produce().
|
private |
Definition at line 114 of file DTConfigDBProducer.cc.
Referenced by configFromCfg(), and readDTCCBConfig().
|
private |
Definition at line 114 of file DTConfigDBProducer.cc.
Referenced by readDTCCBConfig().
|
private |
Definition at line 114 of file DTConfigDBProducer.cc.
Referenced by configFromCfg(), and readDTCCBConfig().
|
private |
Definition at line 114 of file DTConfigDBProducer.cc.
Referenced by configFromCfg(), and readDTCCBConfig().
|
private |
Definition at line 114 of file DTConfigDBProducer.cc.
Referenced by configFromCfg(), and readDTCCBConfig().
|
private |
Definition at line 95 of file DTConfigDBProducer.cc.
Referenced by DTConfigDBProducer(), and readDTCCBConfig().
|
private |
Definition at line 100 of file DTConfigDBProducer.cc.
Referenced by DTConfigDBProducer(), and readDTCCBConfig().
|
private |
Definition at line 99 of file DTConfigDBProducer.cc.
Referenced by DTConfigDBProducer(), and readDTCCBConfig().
|
private |
Definition at line 106 of file DTConfigDBProducer.cc.
Referenced by DTConfigDBProducer(), and readDTCCBConfig().
|
private |
Definition at line 107 of file DTConfigDBProducer.cc.
Referenced by buildTrivialPedestals(), DTConfigDBProducer(), and readDBPedestalsConfig().
|
private |
Definition at line 105 of file DTConfigDBProducer.cc.
Referenced by DTConfigDBProducer(), and readDTCCBConfig().
|
private |
Definition at line 101 of file DTConfigDBProducer.cc.
Referenced by DTConfigDBProducer(), and readDTCCBConfig().
|
private |
Definition at line 102 of file DTConfigDBProducer.cc.
Referenced by DTConfigDBProducer(), and readDTCCBConfig().
|
private |
Definition at line 103 of file DTConfigDBProducer.cc.
Referenced by DTConfigDBProducer(), and readDTCCBConfig().
|
private |
Definition at line 104 of file DTConfigDBProducer.cc.
Referenced by DTConfigDBProducer(), and readDTCCBConfig().
|
private |
Definition at line 93 of file DTConfigDBProducer.cc.
Referenced by DTConfigDBProducer(), and readDBPedestalsConfig().
|
private |
Definition at line 96 of file DTConfigDBProducer.cc.
Referenced by DTConfigDBProducer(), and readDTCCBConfig().
|
private |
Definition at line 91 of file DTConfigDBProducer.cc.
Referenced by buildTrivialPedestals(), configFromCfg(), DTConfigDBProducer(), produce(), and readDTCCBConfig().
|
private |
Definition at line 94 of file DTConfigDBProducer.cc.
Referenced by DTConfigDBProducer(), and readDBPedestalsConfig().
|
private |
Definition at line 110 of file DTConfigDBProducer.cc.
Referenced by DTConfigDBProducer(), and readDBPedestalsConfig().