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::shared_ptr<DetLayerGeometry>
24 
25 
26  geometry_ = std::make_shared<DetLayerGeometry>();
27  return geometry_;
28 }
29 
30 
T getParameter(std::string const &) const
std::shared_ptr< DetLayerGeometry > produce(const RecoGeometryRecord &)
DetLayerGeometryESProducer(const edm::ParameterSet &p)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition: ModuleFactory.h:60
HLT enums.