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 public:
31 
32  using ReturnType = std::unique_ptr<MuonDDDConstants>;
33 
35 
36 private:
38 };
39 
41  setWhatProduced(this).setConsumes(geomToken_);
42 }
43 
46 
47  return std::make_unique<MuonDDDConstants>(*pDD);
48 }
49 
MuonDDDConstants.h
ESTransientHandle.h
edm::ESProducer::setWhatProduced
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:138
ESProducer.h
MuonNumberingRecord.h
MuonNumberingInitialization
Definition: MuonNumberingInitialization.cc:28
MuonNumberingInitialization::produce
ReturnType produce(const MuonNumberingRecord &)
Definition: MuonNumberingInitialization.cc:44
edm::eventsetup::DependentRecordImplementation::getTransientHandle
ESTransientHandle< ProductT > getTransientHandle(ESGetToken< ProductT, DepRecordT > const &iToken) const
Definition: DependentRecordImplementation.h:99
MuonNumberingInitialization::MuonNumberingInitialization
MuonNumberingInitialization(const edm::ParameterSet &)
Definition: MuonNumberingInitialization.cc:40
edm::ParameterSet
Definition: ParameterSet.h:36
MuonNumberingInitialization::ReturnType
std::unique_ptr< MuonDDDConstants > ReturnType
Definition: MuonNumberingInitialization.cc:32
edm::ESGetToken< DDCompactView, IdealGeometryRecord >
edm::ESTransientHandle
Definition: ESTransientHandle.h:41
ModuleFactory.h
DEFINE_FWK_EVENTSETUP_MODULE
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition: ModuleFactory.h:60
edm::ESProducer
Definition: ESProducer.h:101
MuonNumberingInitialization::geomToken_
edm::ESGetToken< DDCompactView, IdealGeometryRecord > geomToken_
Definition: MuonNumberingInitialization.cc:37
MuonNumberingRecord
Definition: MuonNumberingRecord.h:30