#include <L1ConfigOnlineProdBaseExt.h>
Public Member Functions | |
L1ConfigOnlineProdBaseExt (const edm::ParameterSet &) | |
virtual std::unique_ptr< const TData > | newObject (const std::string &objectKey, const TRcd &iRecord)=0 |
std::unique_ptr< const TData > | produce (const TRcd &iRecord) |
~L1ConfigOnlineProdBaseExt () 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 >>> |
Definition at line 33 of file L1ConfigOnlineProdBaseExt.h.
L1ConfigOnlineProdBaseExt< TRcd, TData >::L1ConfigOnlineProdBaseExt | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 61 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 89 of file L1ConfigOnlineProdBaseExt.h.
|
protected |
// Get L1TriggerKeyList L1TriggerKeyList keyList ;
l1t::DataWriter dataWriter ;
<< "Problem getting last L1TriggerKeyList" ;
Definition at line 149 of file L1ConfigOnlineProdBaseExt.h.
References DTskim_cfg::dataType, l1t::DataWriterExt::fillLastTriggerKeyList(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::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::unique_ptr< const 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 95 of file L1ConfigOnlineProdBaseExt.h.
References cond::persistency::Transaction::commit(), DTskim_cfg::dataType, cond::persistency::Session::fetchPayload(), edm::eventsetup::EventSetupRecordImplementation< T >::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 57 of file L1ConfigOnlineProdBaseExt.h.
Referenced by L1ConfigOnlineProdBaseExt< TRcd, TData >::L1ConfigOnlineProdBaseExt(), and L1ConfigOnlineProdBaseExt< TRcd, TData >::produce().
|
protected |
Definition at line 56 of file L1ConfigOnlineProdBaseExt.h.
Referenced by L1ConfigOnlineProdBaseExt< TRcd, TData >::L1ConfigOnlineProdBaseExt(), and L1ConfigOnlineProdBaseExt< TRcd, TData >::produce().
|
protected |
Definition at line 47 of file L1ConfigOnlineProdBaseExt.h.
Referenced by L1ConfigOnlineProdBaseExt< TRcd, TData >::produce().
|
protected |
Definition at line 46 of file L1ConfigOnlineProdBaseExt.h.
Referenced by L1ConfigOnlineProdBaseExt< TRcd, TData >::L1ConfigOnlineProdBaseExt().