CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Static Public Member Functions
HcalDDDRecConstantsESModule Class Reference
Inheritance diagram for HcalDDDRecConstantsESModule:
edm::ESProducer edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider

Public Types

typedef std::shared_ptr< HcalDDDRecConstantsReturnType
 
- Public Types inherited from edm::eventsetup::DataProxyProvider
typedef std::vector< std::pair< DataKey, edm::propagate_const< std::shared_ptr< DataProxy > > > > KeyedProxies
 
typedef std::vector< EventSetupRecordKeyKeys
 
typedef std::map< EventSetupRecordKey, KeyedProxiesRecordProxies
 

Public Member Functions

 HcalDDDRecConstantsESModule (const edm::ParameterSet &)
 
ReturnType produce (const HcalRecNumberingRecord &)
 
 ~HcalDDDRecConstantsESModule () 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 ComponentDescriptiondescription () const
 
bool isUsingRecord (const EventSetupRecordKey &) const
 
const KeyedProxieskeyedProxies (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< EventSetupRecordKeyusingRecords () const
 
virtual ~DataProxyProvider () noexcept(false)
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &)
 
- Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider
static void prevalidate (ConfigurationDescriptions &)
 

Additional Inherited Members

- 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 &)
 

Detailed Description

Description: <one line="" class="" summary>="">

Implementation: <Notes on="" implementation>="">

Definition at line 37 of file HcalDDDRecConstantsESMoudle.cc.

Member Typedef Documentation

Definition at line 43 of file HcalDDDRecConstantsESMoudle.cc.

Constructor & Destructor Documentation

HcalDDDRecConstantsESModule::HcalDDDRecConstantsESModule ( const edm::ParameterSet iConfig)

Definition at line 51 of file HcalDDDRecConstantsESMoudle.cc.

References edm::ESProducer::setWhatProduced().

51  {
52 #ifdef EDM_ML_DEBUG
53  edm::LogVerbatim("HcalGeom") <<"constructing HcalDDDRecConstantsESModule";
54 #endif
55  setWhatProduced(this);
56 }
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition: ESProducer.h:115
HcalDDDRecConstantsESModule::~HcalDDDRecConstantsESModule ( )
override

Definition at line 58 of file HcalDDDRecConstantsESMoudle.cc.

58 {}

Member Function Documentation

void HcalDDDRecConstantsESModule::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 60 of file HcalDDDRecConstantsESMoudle.cc.

References edm::ConfigurationDescriptions::add().

60  {
62  descriptions.add( "hcalDDDRecConstants", desc );
63 }
void add(std::string const &label, ParameterSetDescription const &psetDescription)
HcalDDDRecConstantsESModule::ReturnType HcalDDDRecConstantsESModule::produce ( const HcalRecNumberingRecord iRecord)

Definition at line 67 of file HcalDDDRecConstantsESMoudle.cc.

References DEFINE_FWK_EVENTSETUP_MODULE, and edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord().

67  {
68 #ifdef EDM_ML_DEBUG
69  edm::LogVerbatim("HcalGeom") << "in HcalDDDRecConstantsESModule::produce";
70 #endif
72  iRecord.getRecord<HcalParametersRcd>().get(parHandle);
74  iRecord.getRecord<HcalSimNumberingRecord>().get(hdc);
75 
76  return HcalDDDRecConstantsESModule::ReturnType(new HcalDDDRecConstants(&(*parHandle), *hdc)) ;
77 }
std::shared_ptr< HcalDDDRecConstants > ReturnType