CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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  : geomToken_{setWhatProduced(this).consumes()} {}
42 
45 
46  return std::make_unique<MuonDDDConstants>(*pDD);
47 }
48 
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:163
MuonNumberingInitialization(const edm::ParameterSet &)
ESTransientHandle< ProductT > getTransientHandle(ESGetToken< ProductT, DepRecordT > const &iToken) const
const edm::ESGetToken< DDCompactView, IdealGeometryRecord > geomToken_
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition: ModuleFactory.h:60
ReturnType produce(const MuonNumberingRecord &)
std::unique_ptr< MuonDDDConstants > ReturnType