CMS 3D CMS Logo

EcalRegionCablingESProducer.cc
Go to the documentation of this file.
2 
4 {
5  conf_=iConfig;
6  setWhatProduced(this);
7 }
8 
9 
11 
14 {
15  using namespace edm::es;
17  iRecord.getRecord<EcalMappingRcd>().get(mapping);
18 
19  return std::make_unique<EcalRegionCabling>(conf_,
20  mapping.product());
21 
22 }
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:124
EcalRegionCablingESProducer(const edm::ParameterSet &)
std::unique_ptr< EcalRegionCabling > ReturnType
ReturnType produce(const EcalRegionCablingRecord &)
T const * product() const
Definition: ESHandle.h:86