#include <L1TMuonOverlapParamsESProducer.h>
Public Types | |
typedef std::shared_ptr< L1TMuonOverlapParams > | ReturnType |
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 |
Private Member Functions | |
bool | readConnectionsXML (const XMLConfigReader &aReader) |
Read Connections from single XML file. More... | |
bool | readPatternsXML (XMLConfigReader &aReader) |
Private Attributes | |
L1TMuonOverlapParams | params |
L1TMuonOverlapParams | patterns |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::ESProducer | |
ESProducer (const ESProducer &)=delete | |
ESProducer const & | operator= (const ESProducer &)=delete |
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 &) |
Definition at line 16 of file L1TMuonOverlapParamsESProducer.h.
typedef std::shared_ptr<L1TMuonOverlapParams> L1TMuonOverlapParamsESProducer::ReturnType |
Definition at line 22 of file L1TMuonOverlapParamsESProducer.h.
L1TMuonOverlapParamsESProducer::L1TMuonOverlapParamsESProducer | ( | const edm::ParameterSet & | theConfig | ) |
WARNING: filling the CondFormats objects works only for a single XML patterns file.
Definition at line 17 of file L1TMuonOverlapParamsESProducer.cc.
References edm::ParameterSet::exists(), LaserTracksInput_cfi::fileNames, edm::FileInPath::fullPath(), hgcalDigitizer_cfi::fwVersion, L1TMuonOverlapParams::fwVersion(), edm::ParameterSet::getParameter(), XMLConfigReader::getPatternsVersion(), params, produceParams(), readConnectionsXML(), readPatternsXML(), XMLConfigReader::setConfigFile(), L1TMuonOverlapParams::setFwVersion(), XMLConfigReader::setPatternsFile(), edm::ESProducer::setWhatProduced(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 49 of file L1TMuonOverlapParamsESProducer.cc.
L1TMuonOverlapParamsESProducer::ReturnType L1TMuonOverlapParamsESProducer::produceParams | ( | const L1TMuonOverlapParamsRcd & | iRecord | ) |
Definition at line 83 of file L1TMuonOverlapParamsESProducer.cc.
References DEFINE_FWK_EVENTSETUP_MODULE, and params.
Referenced by L1TMuonOverlapParamsESProducer().
ReturnType L1TMuonOverlapParamsESProducer::producePatterns | ( | const L1TMuonOverlapParamsRcd & | ) |
|
private |
Read Connections from single XML file.
Definition at line 52 of file L1TMuonOverlapParamsESProducer.cc.
References params, and XMLConfigReader::readConfig().
Referenced by L1TMuonOverlapParamsESProducer().
|
private |
Read Golden Patters from single XML file. XMLConfigReader state is modified, as it hold cache of the Golden Patters read from XML file.
Definition at line 60 of file L1TMuonOverlapParamsESProducer.cc.
References params, XMLConfigReader::readLUTs(), L1TMuonOverlapParams::setChargeLUT(), L1TMuonOverlapParams::setEtaLUT(), L1TMuonOverlapParams::setMeanDistPhiLUT(), L1TMuonOverlapParams::setPdfLUT(), and L1TMuonOverlapParams::setPtLUT().
Referenced by L1TMuonOverlapParamsESProducer().
|
private |
Definition at line 38 of file L1TMuonOverlapParamsESProducer.h.
Referenced by L1TMuonOverlapParamsESProducer(), produceParams(), readConnectionsXML(), and readPatternsXML().
|
private |
Definition at line 39 of file L1TMuonOverlapParamsESProducer.h.