#include <EventFilter/EcalRegionCablingESProducer/src/EcalRegionCablingESProducer.cc>
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_ |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 34 of file EcalRegionCablingESProducer.h.
typedef boost::shared_ptr<EcalRegionCabling> EcalRegionCablingESProducer::ReturnType |
Definition at line 39 of file EcalRegionCablingESProducer.h.
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.
{}
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; }
Definition at line 43 of file EcalRegionCablingESProducer.h.
Referenced by EcalRegionCablingESProducer(), and produce().