CMS 3D CMS Logo

TrackingRecHitPropagatorESProducer Class Reference

#include <TrackingTools/KalmanUpdators/interface/TrackingRecHitPropagatorESProducer.h>

Inheritance diagram for TrackingRecHitPropagatorESProducer:

edm::ESProducer edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider

List of all members.

Public Member Functions

boost::shared_ptr
< TrackingRecHitPropagator
produce (const TrackingComponentsRecord &)
 TrackingRecHitPropagatorESProducer (const edm::ParameterSet &p)
virtual ~TrackingRecHitPropagatorESProducer ()

Private Attributes

edm::ParameterSet pset_
boost::shared_ptr
< TrackingRecHitPropagator
theHitPropagator


Detailed Description

Definition at line 11 of file TrackingRecHitPropagatorESProducer.h.


Constructor & Destructor Documentation

TrackingRecHitPropagatorESProducer::TrackingRecHitPropagatorESProducer ( const edm::ParameterSet p  ) 

Definition at line 14 of file TrackingRecHitPropagatorESProducer.cc.

References edm::ParameterSet::getParameter(), pset_, and edm::ESProducer::setWhatProduced().

00015 {
00016   std::string myname = p.getParameter<std::string>("ComponentName");
00017   pset_ = p;
00018   setWhatProduced(this,myname);
00019 }

TrackingRecHitPropagatorESProducer::~TrackingRecHitPropagatorESProducer (  )  [virtual]

Definition at line 21 of file TrackingRecHitPropagatorESProducer.cc.

00021 {}


Member Function Documentation

boost::shared_ptr< TrackingRecHitPropagator > TrackingRecHitPropagatorESProducer::produce ( const TrackingComponentsRecord iRecord  ) 

Definition at line 24 of file TrackingRecHitPropagatorESProducer.cc.

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), volumeBasedMagneticField_1103l_cfi::magfield, edm::ESHandle< T >::product(), and theHitPropagator.

00024                                                                                   { 
00025    ESHandle<MagneticField> magfield;
00026    iRecord.getRecord<IdealMagneticFieldRecord>().get(magfield );         
00027    theHitPropagator= boost::shared_ptr<TrackingRecHitPropagator>(new TrackingRecHitPropagator(magfield.product()));
00028    return theHitPropagator;
00029 }


Member Data Documentation

edm::ParameterSet TrackingRecHitPropagatorESProducer::pset_ [private]

Definition at line 18 of file TrackingRecHitPropagatorESProducer.h.

Referenced by TrackingRecHitPropagatorESProducer().

boost::shared_ptr<TrackingRecHitPropagator> TrackingRecHitPropagatorESProducer::theHitPropagator [private]

Definition at line 17 of file TrackingRecHitPropagatorESProducer.h.

Referenced by produce().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:34:13 2009 for CMSSW by  doxygen 1.5.4