#include <L1ConfigOnlineProdBaseExt.h>
Public Member Functions | |
L1ConfigOnlineProdBaseExt (const edm::ParameterSet &) | |
virtual std::shared_ptr< TData > | newObject (const std::string &objectKey, const TRcd &iRecord)=0 |
std::shared_ptr< TData > | produce (const TRcd &iRecord) |
~L1ConfigOnlineProdBaseExt () 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 &) |
Definition at line 33 of file L1ConfigOnlineProdBaseExt.h.
L1ConfigOnlineProdBaseExt< TRcd, TData >::L1ConfigOnlineProdBaseExt | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 65 of file L1ConfigOnlineProdBaseExt.h.
References cond::persistency::ConnectionPool::configure(), l1t::OMDSReader::connect(), cond::persistency::ConnectionPool::createSession(), edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), L1ConfigOnlineProdBaseExt< TRcd, TData >::m_copyFromCondDB, L1ConfigOnlineProdBaseExt< TRcd, TData >::m_dbSession, L1ConfigOnlineProdBaseExt< TRcd, TData >::m_omdsReader, cond::persistency::ConnectionPool::setAuthenticationPath(), edm::ESProducer::setWhatProduced(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 100 of file L1ConfigOnlineProdBaseExt.h.
|
protected |
// Get L1TriggerKeyList L1TriggerKeyList keyList ;
l1t::DataWriter dataWriter ;
<< "Problem getting last L1TriggerKeyList" ;
Definition at line 183 of file L1ConfigOnlineProdBaseExt.h.
References MergeFilesAndCalculateEfficiencies_cfg::dataType, funct::false, l1t::DataWriterExt::fillLastTriggerKeyList(), edm::eventsetup::EventSetupRecord::get(), crabWrapper::key, align_cfg::recordName, AlCaHLTBitMon_QueryRunRegistry::string, and L1TriggerKeyListExt::token().
Referenced by L1ConfigOnlineProdBaseExt< TRcd, TData >::produce().
|
pure virtual |
Implemented in L1TGlobalPrescalesVetosOnlineProd, L1TCaloParamsOnlineProd, L1TUtmTriggerMenuOnlineProd, L1TMuonBarrelParamsOnlineProd, L1TMuonEndCapParamsOnlineProd, L1TMuonGlobalParamsOnlineProd, L1TMuonOverlapParamsOnlineProd, and L1TMuonEndCapForestOnlineProd.
Referenced by L1ConfigOnlineProdBaseExt< TRcd, TData >::produce().
std::shared_ptr< TData > L1ConfigOnlineProdBaseExt< TRcd, TData >::produce | ( | const TRcd & | iRecord | ) |
// Get L1TriggerKeyList from EventSetup const L1TriggerKeyListRcd& keyListRcd =
iRecord.template getRecord< L1TriggerKeyListRcd >() ; edm::ESHandle< L1TriggerKeyList > keyList ;
Definition at line 110 of file L1ConfigOnlineProdBaseExt.h.
References cond::persistency::Transaction::commit(), MergeFilesAndCalculateEfficiencies_cfg::dataType, cond::persistency::Session::fetchPayload(), edm::eventsetup::EventSetupRecord::get(), L1ConfigOnlineProdBaseExt< TRcd, TData >::getObjectKey(), crabWrapper::key, L1ConfigOnlineProdBaseExt< TRcd, TData >::m_copyFromCondDB, L1ConfigOnlineProdBaseExt< TRcd, TData >::m_dbSession, L1ConfigOnlineProdBaseExt< TRcd, TData >::m_forceGeneration, L1ConfigOnlineProdBaseExt< 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 60 of file L1ConfigOnlineProdBaseExt.h.
Referenced by L1ConfigOnlineProdBaseExt< TRcd, TData >::L1ConfigOnlineProdBaseExt(), and L1ConfigOnlineProdBaseExt< TRcd, TData >::produce().
|
protected |
Definition at line 59 of file L1ConfigOnlineProdBaseExt.h.
Referenced by L1ConfigOnlineProdBaseExt< TRcd, TData >::L1ConfigOnlineProdBaseExt(), and L1ConfigOnlineProdBaseExt< TRcd, TData >::produce().
|
protected |
Definition at line 48 of file L1ConfigOnlineProdBaseExt.h.
Referenced by L1ConfigOnlineProdBaseExt< TRcd, TData >::produce().
|
protected |
Definition at line 47 of file L1ConfigOnlineProdBaseExt.h.
Referenced by L1ConfigOnlineProdBaseExt< TRcd, TData >::L1ConfigOnlineProdBaseExt().