#include <CondTools/L1Trigger/interface/L1ConfigOnlineProdBase.h>
Public Member Functions | |
L1ConfigOnlineProdBase (const edm::ParameterSet &) | |
virtual std::unique_ptr< TData > | newObject (const std::string &objectKey)=0 |
virtual std::unique_ptr< TData > | produce (const TRcd &iRecord) |
~L1ConfigOnlineProdBase () override | |
Public Member Functions inherited from edm::ESProducer | |
ESProducer () | |
ESProducer (const ESProducer &)=delete | |
ESProxyIndex const * | getTokenIndices (unsigned int iIndex) const |
ESProducer const & | operator= (const ESProducer &)=delete |
template<typename Record > | |
void | updateFromMayConsumes (unsigned int iIndex, const Record &iRecord) |
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) final |
~ESProducer ()(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) |
Protected Member Functions | |
bool | getObjectKey (const TRcd &record, std::string &objectKey) |
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 > | |
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) |
Protected Attributes | |
bool | m_copyFromCondDB |
cond::persistency::Session | m_dbSession |
bool | m_forceGeneration |
l1t::OMDSReader | m_omdsReader |
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 >>> |
Description: Abstract templated base class for producers that reads OMDS to retrieve configuration data for a given key and generates the corresponding C++ objects.
Usage: <usage>
Definition at line 52 of file L1ConfigOnlineProdBase.h.
L1ConfigOnlineProdBase< TRcd, TData >::L1ConfigOnlineProdBase | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 80 of file L1ConfigOnlineProdBase.h.
References cond::persistency::ConnectionPool::configure(), l1t::OMDSReader::connect(), cond::persistency::ConnectionPool::createSession(), edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), L1ConfigOnlineProdBase< TRcd, TData >::m_copyFromCondDB, L1ConfigOnlineProdBase< TRcd, TData >::m_dbSession, L1ConfigOnlineProdBase< TRcd, TData >::m_omdsReader, cond::persistency::ConnectionPool::setAuthenticationPath(), edm::ESProducer::setWhatProduced(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 108 of file L1ConfigOnlineProdBase.h.
|
protected |
Definition at line 162 of file L1ConfigOnlineProdBase.h.
References DTskim_cfg::dataType, l1t::DataWriter::fillLastTriggerKeyList(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), crabWrapper::key, align_cfg::recordName, AlCaHLTBitMon_QueryRunRegistry::string, and L1TriggerKeyList::token().
Referenced by L1ConfigOnlineProdBase< TRcd, TData >::produce().
|
pure virtual |
Implemented in L1GtTriggerMenuConfigOnlineProd, L1CaloHcalScaleConfigOnlineProd, L1GtPsbSetupConfigOnlineProd, L1GtPrescaleFactorsAlgoTrigConfigOnlineProd, L1GtPrescaleFactorsTechTrigConfigOnlineProd, L1GtTriggerMaskAlgoTrigConfigOnlineProd, L1GtTriggerMaskTechTrigConfigOnlineProd, L1GtTriggerMaskVetoTechTrigConfigOnlineProd, L1CaloEcalScaleConfigOnlineProd, L1RCTChannelMaskOnlineProd, L1GtParametersConfigOnlineProd, DTEtaPatternLutOnlineProd, DTExtLutOnlineProd, DTPhiLutOnlineProd, DTPtaLutOnlineProd, DTQualPatternLutOnlineProd, L1MuTriggerScalesOnlineProducer, L1RCTParametersOnlineProd, L1RPCConeDefinitionOnlineProd, RPCConfigOnlineProd, DTTFMasksOnlineProd, DTTFParametersOnlineProd, L1MuTriggerPtScaleOnlineProducer, L1EmEtScaleOnlineProd, L1HfRingEtScaleOnlineProd, L1HtMissScaleOnlineProd, L1JetEtScaleOnlineProd, L1MuGMTParametersOnlineProducer, L1RPCBxOrConfigOnlineProd, L1RPCHsbConfigOnlineProd, CSCTFConfigOnlineProd, L1MuCSCPtLutConfigOnlineProd, L1GctChannelMaskOnlineProd, L1GctJetFinderParamsOnlineProd, L1MuGMTChannelMaskOnlineProducer, and CSCTFAlignmentOnlineProd.
Referenced by L1ConfigOnlineProdBase< TRcd, TData >::produce().
|
virtual |
Reimplemented in L1CaloHcalScaleConfigOnlineProd.
Definition at line 114 of file L1ConfigOnlineProdBase.h.
References cond::persistency::Transaction::commit(), DTskim_cfg::dataType, cond::persistency::Session::fetchPayload(), edm::eventsetup::EventSetupRecordImplementation< T >::get(), L1ConfigOnlineProdBase< TRcd, TData >::getObjectKey(), crabWrapper::key, L1ConfigOnlineProdBase< TRcd, TData >::m_copyFromCondDB, L1ConfigOnlineProdBase< TRcd, TData >::m_dbSession, L1ConfigOnlineProdBase< TRcd, TData >::m_forceGeneration, L1ConfigOnlineProdBase< TRcd, TData >::newObject(), align_cfg::recordName, cond::persistency::Transaction::start(), AlCaHLTBitMon_QueryRunRegistry::string, and cond::persistency::Session::transaction().
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
protected |
Definition at line 76 of file L1ConfigOnlineProdBase.h.
Referenced by L1ConfigOnlineProdBase< TRcd, TData >::L1ConfigOnlineProdBase(), and L1ConfigOnlineProdBase< TRcd, TData >::produce().
|
protected |
Definition at line 75 of file L1ConfigOnlineProdBase.h.
Referenced by L1ConfigOnlineProdBase< TRcd, TData >::L1ConfigOnlineProdBase(), and L1ConfigOnlineProdBase< TRcd, TData >::produce().
|
protected |
Definition at line 66 of file L1ConfigOnlineProdBase.h.
Referenced by L1ConfigOnlineProdBase< TRcd, TData >::produce().
|
protected |
Definition at line 65 of file L1ConfigOnlineProdBase.h.
Referenced by L1ConfigOnlineProdBase< TRcd, TData >::L1ConfigOnlineProdBase().