CMS 3D CMS Logo

DetLayerGeometryESProducer.cc
Go to the documentation of this file.
2 
7 
8 
9 #include <memory>
10 #include <string>
11 
12 using namespace edm;
13 
15 {
16  std::string myName = p.getParameter<std::string>("ComponentName");
17  setWhatProduced(this,myName);
18 }
19 
21 
22 std::unique_ptr<DetLayerGeometry>
24 
25 
26  return std::make_unique<DetLayerGeometry>();
27 }
28 
29 
T getParameter(std::string const &) const
std::unique_ptr< DetLayerGeometry > produce(const RecoGeometryRecord &)
DetLayerGeometryESProducer(const edm::ParameterSet &p)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition: ModuleFactory.h:60
HLT enums.