CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

EcalRegionCablingESProducer Class Reference

#include <EventFilter/EcalRegionCablingESProducer/src/EcalRegionCablingESProducer.cc>

Inheritance diagram for EcalRegionCablingESProducer:
edm::ESProducer edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider

List of all members.

Public Types

typedef boost::shared_ptr
< EcalRegionCabling
ReturnType

Public Member Functions

 EcalRegionCablingESProducer (const edm::ParameterSet &)
ReturnType produce (const EcalRegionCablingRecord &)
 ~EcalRegionCablingESProducer ()

Private Attributes

edm::ParameterSet conf_

Detailed Description

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

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

Definition at line 34 of file EcalRegionCablingESProducer.h.


Member Typedef Documentation

Definition at line 39 of file EcalRegionCablingESProducer.h.


Constructor & Destructor Documentation

EcalRegionCablingESProducer::EcalRegionCablingESProducer ( const edm::ParameterSet iConfig)

Definition at line 3 of file EcalRegionCablingESProducer.cc.

References conf_, and edm::ESProducer::setWhatProduced().

{
  conf_=iConfig;
  setWhatProduced(this);
}
EcalRegionCablingESProducer::~EcalRegionCablingESProducer ( )

Definition at line 10 of file EcalRegionCablingESProducer.cc.

{}

Member Function Documentation

EcalRegionCablingESProducer::ReturnType EcalRegionCablingESProducer::produce ( const EcalRegionCablingRecord iRecord)

Definition at line 13 of file EcalRegionCablingESProducer.cc.

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

{
   using namespace edm::es;
   edm::ESHandle<EcalElectronicsMapping> mapping;
   iRecord.getRecord<EcalMappingRcd>().get(mapping);

   ReturnType erc( new EcalRegionCabling(conf_,
                                         mapping.product()));

   return erc;
}

Member Data Documentation

Definition at line 43 of file EcalRegionCablingESProducer.h.

Referenced by EcalRegionCablingESProducer(), and produce().