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 char *iLabel) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const es::Label &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 > | |
ESConsumesCollectorT< TRecord > | setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel={}) |
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 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 792 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 225 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 671 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 658 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 159 of file DTConfigDBProducer.cc.
References cfgConfig, checkDTCCBConfig(), configFromCfg(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), m_ps, readDBPedestalsConfig(), readDTCCBConfig(), DTConfigManager::setCCBConfigValidity(), DTConfigManager::setDTTPGDebug(), DTConfigManager::setLutFromDB(), and DTConfigManager::setUseAcceptParam().
Referenced by DTConfigDBProducer().
|
private |
Read DTTPG pedestal configuration.
Definition at line 206 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 335 of file DTConfigDBProducer.cc.
References edmScanValgrind::buffer, HltBtagPostValidation_cff::c, alignmentValidation::c1, cfgCache, gather_cfg::cout, HLT_2018_cff::distance, 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, list(), 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().