#include <L1TriggerConfig/DTTPGConfigProducers/interface/DTConfigDBProducer.h>
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 |
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::ParameterSet | m_ps |
bool | m_UseT0 |
Additional Inherited Members | |
Public Types inherited from edm::eventsetup::DataProxyProvider | |
typedef std::vector< std::pair < DataKey, boost::shared_ptr < DataProxy > > > | KeyedProxies |
typedef std::vector < EventSetupRecordKey > | Keys |
typedef std::map < EventSetupRecordKey, KeyedProxies > | RecordProxies |
Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::ESProducer | |
template<typename T > | |
void | setWhatProduced (T *iThis, const es::Label &iLabel=es::Label()) |
template<typename T > | |
void | setWhatProduced (T *iThis, const char *iLabel) |
template<typename T > | |
void | setWhatProduced (T *iThis, const std::string &iLabel) |
template<typename T , typename TDecorator > | |
void | setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel=es::Label()) |
template<typename T , typename TReturn , typename TRecord > | |
void | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const es::Label &iLabel=es::Label()) |
template<typename T , typename TReturn , typename TRecord , typename TArg > | |
void | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel=es::Label()) |
Protected Member Functions inherited from edm::ESProxyFactoryProducer | |
template<class TFactory > | |
void | registerFactory (std::auto_ptr< TFactory > iFactory, const std::string &iLabel=std::string()) |
virtual void | registerFactoryWithKey (const eventsetup::EventSetupRecordKey &iRecord, std::auto_ptr< eventsetup::ProxyFactoryBase > &iFactory, const std::string &iLabel=std::string()) |
virtual void | registerProxies (const eventsetup::EventSetupRecordKey &iRecord, KeyedProxies &aProxyList) |
override DataProxyProvider method More... | |
Protected Member Functions inherited from edm::eventsetup::DataProxyProvider | |
void | eraseAll (const EventSetupRecordKey &iRecordKey) |
deletes all the Proxies in aStream More... | |
void | invalidateProxies (const EventSetupRecordKey &iRecordKey) |
template<class T > | |
void | usingRecord () |
void | usingRecordWithKey (const EventSetupRecordKey &) |
Description: A Producer for the DT config, data retrieved from DB
Implementation: <Notes on="" implementation>="">
Definition at line 47 of file DTConfigDBProducer.h.
DTConfigDBProducer::DTConfigDBProducer | ( | const edm::ParameterSet & | p | ) |
Constructor.
Definition at line 34 of file DTConfigDBProducer.cc.
References cfgConfig, edm::ParameterSet::getParameter(), m_debugBti, m_debugDB, m_debugLUTs, m_debugPed, m_debugSC, m_debugTraco, m_debugTSP, m_debugTST, m_debugTU, m_ps, m_UseT0, AlCaHLTBitMon_ParallelJobs::p, produce(), and edm::ESProducer::setWhatProduced().
DTConfigDBProducer::~DTConfigDBProducer | ( | ) |
|
private |
SV for debugging purpose ONLY.
Definition at line 751 of file DTConfigDBProducer.cc.
References gather_cfg::cout, 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 148 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 610 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 595 of file DTConfigDBProducer.cc.
References DTChamberId::sector(), DTChamberId::station(), and DTChamberId::wheel().
Referenced by configFromCfg().
std::auto_ptr< DTConfigManager > DTConfigDBProducer::produce | ( | const DTConfigManagerRcd & | iRecord | ) |
ES produce method.
Definition at line 70 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 119 of file DTConfigDBProducer.cc.
References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), m_debugPed, m_UseT0, edm::ESHandle< class >::product(), DTConfigPedestals::setDebug(), DTConfigManager::setDTConfigPedestals(), DTConfigPedestals::setES(), and DTConfigPedestals::setUseT0().
Referenced by produce().
|
private |
Read CCB string configuration.
Definition at line 263 of file DTConfigDBProducer.cc.
References EnergyCorrector::c, alignmentValidation::c1, counter::c2, cfgCache, gather_cfg::cout, HLT_25ns14e33_v1_cff::distance, end, flagDBBti, flagDBLUTS, flagDBTraco, flagDBTSM, flagDBTSS, DTPosNegType::getCT(), DTKeyedConfigCache::getData(), edm::ParameterSet::getParameter(), DTPosNegType::getPN(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), edm::ParameterSet::getUntrackedParameter(), i, o2o::iov, list(), DTConfigManager::lutFromDB(), m_debugBti, m_debugDB, m_debugLUTs, m_debugSC, m_debugTraco, m_debugTSP, m_debugTST, m_debugTU, m_ps, 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, AlCaHLTBitMon_QueryRunRegistry::string, edm::eventsetup::EventSetupRecord::validityInterval(), DTChamberId::wheel(), and DTCCBId::wheelId.
Referenced by produce().
|
private |
Definition at line 100 of file DTConfigDBProducer.h.
Referenced by readDTCCBConfig().
|
private |
Definition at line 96 of file DTConfigDBProducer.h.
Referenced by DTConfigDBProducer(), and produce().
|
private |
Definition at line 98 of file DTConfigDBProducer.h.
Referenced by configFromCfg(), and readDTCCBConfig().
|
private |
Definition at line 98 of file DTConfigDBProducer.h.
Referenced by readDTCCBConfig().
|
private |
Definition at line 98 of file DTConfigDBProducer.h.
Referenced by configFromCfg(), and readDTCCBConfig().
|
private |
Definition at line 98 of file DTConfigDBProducer.h.
Referenced by configFromCfg(), and readDTCCBConfig().
|
private |
Definition at line 98 of file DTConfigDBProducer.h.
Referenced by configFromCfg(), and readDTCCBConfig().
|
private |
Definition at line 84 of file DTConfigDBProducer.h.
Referenced by DTConfigDBProducer(), and readDTCCBConfig().
|
private |
Definition at line 83 of file DTConfigDBProducer.h.
Referenced by DTConfigDBProducer(), and readDTCCBConfig().
|
private |
Definition at line 90 of file DTConfigDBProducer.h.
Referenced by DTConfigDBProducer(), and readDTCCBConfig().
|
private |
Definition at line 91 of file DTConfigDBProducer.h.
Referenced by buildTrivialPedestals(), DTConfigDBProducer(), and readDBPedestalsConfig().
|
private |
Definition at line 89 of file DTConfigDBProducer.h.
Referenced by DTConfigDBProducer(), and readDTCCBConfig().
|
private |
Definition at line 85 of file DTConfigDBProducer.h.
Referenced by DTConfigDBProducer(), and readDTCCBConfig().
|
private |
Definition at line 86 of file DTConfigDBProducer.h.
Referenced by DTConfigDBProducer(), and readDTCCBConfig().
|
private |
Definition at line 87 of file DTConfigDBProducer.h.
Referenced by DTConfigDBProducer(), and readDTCCBConfig().
|
private |
Definition at line 88 of file DTConfigDBProducer.h.
Referenced by DTConfigDBProducer(), and readDTCCBConfig().
|
private |
Definition at line 80 of file DTConfigDBProducer.h.
Referenced by buildTrivialPedestals(), configFromCfg(), DTConfigDBProducer(), produce(), and readDTCCBConfig().
|
private |
Definition at line 94 of file DTConfigDBProducer.h.
Referenced by DTConfigDBProducer(), and readDBPedestalsConfig().