CMS 3D CMS Logo

Public Member Functions | Private Attributes

DetLayerGeometryESProducer Class Reference

#include <DetLayerGeometryESProducer.h>

Inheritance diagram for DetLayerGeometryESProducer:
edm::ESProducer edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider

List of all members.

Public Member Functions

 DetLayerGeometryESProducer (const edm::ParameterSet &p)
boost::shared_ptr
< DetLayerGeometry
produce (const RecoGeometryRecord &)
virtual ~DetLayerGeometryESProducer ()

Private Attributes

boost::shared_ptr
< DetLayerGeometry
geometry_

Detailed Description

Definition at line 10 of file DetLayerGeometryESProducer.h.


Constructor & Destructor Documentation

DetLayerGeometryESProducer::DetLayerGeometryESProducer ( const edm::ParameterSet p)

Definition at line 14 of file DetLayerGeometryESProducer.cc.

References edm::ParameterSet::getParameter().

{
  std::string myName = p.getParameter<std::string>("ComponentName");
  setWhatProduced(this,myName);
}
DetLayerGeometryESProducer::~DetLayerGeometryESProducer ( ) [virtual]

Definition at line 20 of file DetLayerGeometryESProducer.cc.

{}

Member Function Documentation

boost::shared_ptr< DetLayerGeometry > DetLayerGeometryESProducer::produce ( const RecoGeometryRecord iRecord)

Definition at line 23 of file DetLayerGeometryESProducer.cc.

                                                                     { 


  geometry_  = boost::shared_ptr<DetLayerGeometry>(new DetLayerGeometry());
  return geometry_;
}

Member Data Documentation

Definition at line 16 of file DetLayerGeometryESProducer.h.