#include <MTDTopologyEP.h>
Public Types | |
using | ReturnType = std::unique_ptr< MTDTopology > |
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 | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Private Member Functions | |
void | fillParameters (const PMTDParameters &) |
Private Attributes | |
MTDTopology::BTLValues | btlVals_ |
MTDTopology::ETLValues | etlVals_ |
int | mtdTopologyMode_ |
Additional Inherited Members | |
Protected Member Functions inherited from edm::ESProducer | |
ESProducer (const ESProducer &)=delete | |
ESProducer const & | operator= (const ESProducer &)=delete |
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 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 14 of file MTDTopologyEP.h.
using MTDTopologyEP::ReturnType = std::unique_ptr<MTDTopology> |
Definition at line 20 of file MTDTopologyEP.h.
MTDTopologyEP::MTDTopologyEP | ( | const edm::ParameterSet & | conf | ) |
Definition at line 12 of file MTDTopologyEP.cc.
References edm::ESProducer::setWhatProduced().
|
override |
Definition at line 19 of file MTDTopologyEP.cc.
|
static |
Definition at line 24 of file MTDTopologyEP.cc.
References edm::ConfigurationDescriptions::add().
|
private |
Definition at line 42 of file MTDTopologyEP.cc.
References btlVals_, DEFINE_FWK_EVENTSETUP_MODULE, etlVals_, MTDTopology::BTLValues::layerMask_, MTDTopology::ETLValues::layerMask_, MTDTopology::BTLValues::layerStartBit_, MTDTopology::ETLValues::layerStartBit_, MTDTopology::BTLValues::moduleMask_, MTDTopology::ETLValues::moduleMask_, MTDTopology::BTLValues::moduleStartBit_, MTDTopology::ETLValues::moduleStartBit_, mtdTopologyMode_, MTDTopology::ETLValues::ringMask_, MTDTopology::ETLValues::ringStartBit_, MTDTopology::BTLValues::sideMask_, MTDTopology::ETLValues::sideMask_, MTDTopology::BTLValues::sideStartBit_, MTDTopology::ETLValues::sideStartBit_, PMTDParameters::topologyMode_, MTDTopology::BTLValues::trayMask_, MTDTopology::BTLValues::trayStartBit_, and PMTDParameters::vitems_.
Referenced by produce().
MTDTopologyEP::ReturnType MTDTopologyEP::produce | ( | const MTDTopologyRcd & | iRecord | ) |
Definition at line 31 of file MTDTopologyEP.cc.
References btlVals_, etlVals_, fillParameters(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), and mtdTopologyMode_.
|
private |
Definition at line 30 of file MTDTopologyEP.h.
Referenced by fillParameters(), and produce().
|
private |
Definition at line 31 of file MTDTopologyEP.h.
Referenced by fillParameters(), and produce().
|
private |
Definition at line 29 of file MTDTopologyEP.h.
Referenced by fillParameters(), and produce().