CMS 3D CMS Logo

Public Member Functions | Private Attributes

TrackerInteractionGeometryESProducer Class Reference

#include <TrackerInteractionGeometryESProducer.h>

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

List of all members.

Public Member Functions

boost::shared_ptr
< TrackerInteractionGeometry
produce (const TrackerInteractionGeometryRecord &)
 TrackerInteractionGeometryESProducer (const edm::ParameterSet &p)
virtual ~TrackerInteractionGeometryESProducer ()

Private Attributes

std::string _label
boost::shared_ptr
< TrackerInteractionGeometry
_tracker
edm::ParameterSet theTrackerMaterial

Detailed Description

Definition at line 11 of file TrackerInteractionGeometryESProducer.h.


Constructor & Destructor Documentation

TrackerInteractionGeometryESProducer::TrackerInteractionGeometryESProducer ( const edm::ParameterSet p)
TrackerInteractionGeometryESProducer::~TrackerInteractionGeometryESProducer ( ) [virtual]

Definition at line 18 of file TrackerInteractionGeometryESProducer.cc.

{}

Member Function Documentation

boost::shared_ptr< TrackerInteractionGeometry > TrackerInteractionGeometryESProducer::produce ( const TrackerInteractionGeometryRecord iRecord)

Definition at line 21 of file TrackerInteractionGeometryESProducer.cc.

References _label, _tracker, edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), and theTrackerMaterial.

                                                                                             { 

  edm::ESHandle<GeometricSearchTracker> theGeomSearchTracker;
  
  iRecord.getRecord<TrackerRecoGeometryRecord>().get(_label, theGeomSearchTracker );
  _tracker = boost::shared_ptr<TrackerInteractionGeometry>
    (new TrackerInteractionGeometry(theTrackerMaterial,&(*theGeomSearchTracker)));
  return _tracker;

}

Member Data Documentation

Definition at line 17 of file TrackerInteractionGeometryESProducer.h.

Referenced by produce().