#include <CondTools/L1Trigger/interface/L1ConfigOnlineProdBase.h>
Public Member Functions | |
L1ConfigOnlineProdBase (const edm::ParameterSet &) | |
virtual std::shared_ptr< TData > | newObject (const std::string &objectKey)=0 |
virtual std::shared_ptr< TData > | produce (const TRcd &iRecord) |
~L1ConfigOnlineProdBase () override | |
Public Member Functions inherited from edm::ESProducer | |
ESProducer () | |
~ESProducer ()(false) override | |
Public Member Functions inherited from edm::ESProxyFactoryProducer | |
ESProxyFactoryProducer () | |
void | newInterval (const eventsetup::EventSetupRecordKey &iRecordType, const ValidityInterval &iInterval) override |
overrides DataProxyProvider method More... | |
~ESProxyFactoryProducer () noexcept(false) override | |
Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
DataProxyProvider () | |
const ComponentDescription & | description () const |
bool | isUsingRecord (const EventSetupRecordKey &) const |
const KeyedProxies & | keyedProxies (const EventSetupRecordKey &iRecordKey) const |
void | resetProxies (const EventSetupRecordKey &iRecordType) |
void | resetProxiesIfTransient (const EventSetupRecordKey &iRecordType) |
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::shared_ptr< TData > data, std::string &objectKey) |
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::unique_ptr< TFactory > iFactory, const std::string &iLabel=std::string()) |
virtual void | registerFactoryWithKey (const eventsetup::EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string()) |
void | registerProxies (const eventsetup::EventSetupRecordKey &iRecord, KeyedProxies &aProxyList) override |
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 &) |
Protected Attributes | |
bool | m_copyFromCondDB |
cond::persistency::Session | m_dbSession |
bool | m_forceGeneration |
l1t::OMDSReader | m_omdsReader |
Additional Inherited Members | |
Public Types inherited from edm::eventsetup::DataProxyProvider | |
typedef std::vector< std::pair< DataKey, edm::propagate_const< std::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 &) |
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 84 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 119 of file L1ConfigOnlineProdBase.h.
|
protected |
Definition at line 197 of file L1ConfigOnlineProdBase.h.
References MergeFilesAndCalculateEfficiencies_cfg::dataType, funct::false, l1t::DataWriter::fillLastTriggerKeyList(), edm::eventsetup::EventSetupRecord::get(), crabWrapper::key, align_cfg::recordName, AlCaHLTBitMon_QueryRunRegistry::string, and L1TriggerKeyList::token().
Referenced by L1ConfigOnlineProdBase< TRcd, TData >::produce().
|
pure virtual |
Implemented in L1GtTriggerMenuConfigOnlineProd, L1GtPsbSetupConfigOnlineProd, L1CaloHcalScaleConfigOnlineProd, L1GtParametersConfigOnlineProd, L1GtPrescaleFactorsAlgoTrigConfigOnlineProd, L1GtPrescaleFactorsTechTrigConfigOnlineProd, L1GtTriggerMaskAlgoTrigConfigOnlineProd, L1GtTriggerMaskTechTrigConfigOnlineProd, L1GtTriggerMaskVetoTechTrigConfigOnlineProd, L1CaloEcalScaleConfigOnlineProd, L1RCTChannelMaskOnlineProd, DTEtaPatternLutOnlineProd, DTExtLutOnlineProd, DTPhiLutOnlineProd, DTPtaLutOnlineProd, DTQualPatternLutOnlineProd, L1RCTParametersOnlineProd, L1RPCConeDefinitionOnlineProd, RPCConfigOnlineProd, L1MuTriggerScalesOnlineProducer, DTTFMasksOnlineProd, DTTFParametersOnlineProd, L1EmEtScaleOnlineProd, L1HfRingEtScaleOnlineProd, L1HtMissScaleOnlineProd, L1JetEtScaleOnlineProd, L1MuTriggerPtScaleOnlineProducer, L1MuGMTParametersOnlineProducer, L1RPCBxOrConfigOnlineProd, L1RPCHsbConfigOnlineProd, CSCTFConfigOnlineProd, L1MuCSCPtLutConfigOnlineProd, L1GctChannelMaskOnlineProd, L1GctJetFinderParamsOnlineProd, L1MuGMTChannelMaskOnlineProducer, and CSCTFAlignmentOnlineProd.
Referenced by L1ConfigOnlineProdBase< TRcd, TData >::produce().
|
virtual |
Reimplemented in L1CaloHcalScaleConfigOnlineProd.
Definition at line 129 of file L1ConfigOnlineProdBase.h.
References cond::persistency::Transaction::commit(), MergeFilesAndCalculateEfficiencies_cfg::dataType, cond::persistency::Session::fetchPayload(), edm::eventsetup::EventSetupRecord::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 79 of file L1ConfigOnlineProdBase.h.
Referenced by L1ConfigOnlineProdBase< TRcd, TData >::L1ConfigOnlineProdBase(), and L1ConfigOnlineProdBase< TRcd, TData >::produce().
|
protected |
Definition at line 78 of file L1ConfigOnlineProdBase.h.
Referenced by L1ConfigOnlineProdBase< TRcd, TData >::L1ConfigOnlineProdBase(), and L1ConfigOnlineProdBase< TRcd, TData >::produce().
|
protected |
Definition at line 67 of file L1ConfigOnlineProdBase.h.
Referenced by L1ConfigOnlineProdBase< TRcd, TData >::produce().
|
protected |
Definition at line 66 of file L1ConfigOnlineProdBase.h.
Referenced by L1ConfigOnlineProdBase< TRcd, TData >::L1ConfigOnlineProdBase().