CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 boost::shared_ptr<DetLayerGeometry>
24 
25 
26  geometry_ = boost::shared_ptr<DetLayerGeometry>(new DetLayerGeometry());
27  return geometry_;
28 }
29 
30 
T getParameter(std::string const &) const
DetLayerGeometryESProducer(const edm::ParameterSet &p)
boost::shared_ptr< DetLayerGeometry > produce(const RecoGeometryRecord &)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition: ModuleFactory.h:56