CMS 3D CMS Logo

EcalRegionCablingESProducer.cc
Go to the documentation of this file.
2 
4  conf_ = iConfig;
5  setWhatProduced(this);
6 }
7 
9 
11  using namespace edm::es;
13  iRecord.getRecord<EcalMappingRcd>().get(mapping);
14 
15  return std::make_unique<EcalRegionCabling>(conf_, mapping.product());
16 }
edm::eventsetup::DependentRecordImplementation::getRecord
const DepRecordT getRecord() const
Definition: DependentRecordImplementation.h:51
edm::ESProducer::setWhatProduced
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:138
EcalRegionCablingESProducer::~EcalRegionCablingESProducer
~EcalRegionCablingESProducer() override
Definition: EcalRegionCablingESProducer.cc:8
EcalRegionCablingESProducer.h
edm::ESHandle< EcalElectronicsMapping >
edm::ParameterSet
Definition: ParameterSet.h:36
EcalRegionCablingESProducer::produce
ReturnType produce(const EcalRegionCablingRecord &)
Definition: EcalRegionCablingESProducer.cc:10
EcalRegionCablingESProducer::ReturnType
std::unique_ptr< EcalRegionCabling > ReturnType
Definition: EcalRegionCablingESProducer.h:36
get
#define get
EcalRegionCablingRecord
Definition: EcalRegionCablingRecord.h:9
EcalRegionCablingESProducer::EcalRegionCablingESProducer
EcalRegionCablingESProducer(const edm::ParameterSet &)
Definition: EcalRegionCablingESProducer.cc:3
EcalMappingRcd
Definition: EcalMappingRcd.h:15
EcalRegionCablingESProducer::conf_
edm::ParameterSet conf_
Definition: EcalRegionCablingESProducer.h:41
edm::es
Definition: es_Label.h:33
taus_updatedMVAIds_cff.mapping
mapping
Definition: taus_updatedMVAIds_cff.py:28