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 }
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:138
EcalRegionCablingESProducer(const edm::ParameterSet &)
std::unique_ptr< EcalRegionCabling > ReturnType
ReturnType produce(const EcalRegionCablingRecord &)
T const * product() const
Definition: ESHandle.h:86