CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
EcalRegionCablingESProducer.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: EcalRegionCablingESProducer
4 // Class: EcalRegionCablingESProducer
5 //
13 //
14 // Original Author: Jean-Roch Vlimant
15 // Created: Sun Oct 7 00:37:06 CEST 2007
16 //
17 //
18 
19 // system include files
20 #include <memory>
21 
22 // user include files
26 
29 
31 public:
34 
35  typedef std::unique_ptr<EcalRegionCabling> ReturnType;
36 
38 
39 private:
41 
43 };
44 
46  auto cc = setWhatProduced(this);
48 }
49 
51 
54 
55  return std::make_unique<EcalRegionCabling>(conf_, mapping.product());
56 }
57 
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:166
EcalRegionCablingESProducer(const edm::ParameterSet &)
uint32_t cc[maxCellsPerHit]
Definition: gpuFishbone.h:49
std::unique_ptr< EcalRegionCabling > ReturnType
ReturnType produce(const EcalRegionCablingRecord &)
ESHandle< ProductT > getHandle(ESGetToken< ProductT, DepRecordT > const &iToken) const
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition: ModuleFactory.h:61
edm::ESGetToken< EcalElectronicsMapping, EcalMappingRcd > esEcalElectronicsMappingToken_