CMS 3D CMS Logo

MuonNumberingInitialization.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: MuonNumberingInitialization
4 // Class: MuonNumberingInitialization
5 //
13 //
14 // Original Author: Michael Case
15 // Created: Thu Sep 28 16:40:29 PDT 2006
16 //
17 //
18 
19 #include <memory>
20 
24 
27 
29 {
30 public:
31 
33 
34  using ReturnType = std::unique_ptr<MuonDDDConstants>;
35 
37 };
38 
40 {
41  setWhatProduced(this);
42 }
43 
46 {
47  const IdealGeometryRecord& idealGeometryRecord = iRecord.getRecord<IdealGeometryRecord>();
49  idealGeometryRecord.get(pDD);
50 
51  return std::make_unique<MuonDDDConstants>(*pDD);
52 }
53 
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:124
MuonNumberingInitialization(const edm::ParameterSet &)
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition: ModuleFactory.h:60
ReturnType produce(const MuonNumberingRecord &)
std::unique_ptr< MuonDDDConstants > ReturnType