CMS 3D CMS Logo

Public Member Functions | Private Attributes

KFUpdatorESProducer Class Reference

#include <KFUpdatorESProducer.h>

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

List of all members.

Public Member Functions

 KFUpdatorESProducer (const edm::ParameterSet &p)
boost::shared_ptr
< TrajectoryStateUpdator
produce (const TrackingComponentsRecord &)
virtual ~KFUpdatorESProducer ()

Private Attributes

boost::shared_ptr
< TrajectoryStateUpdator
_updator
edm::ParameterSet pset_

Detailed Description

KFUpdatorESProducer ESProducer for KFUpdator class.

Date:
2007/05/09 13:50:25
Revision:
1.2
Author:
cerati

Definition at line 18 of file KFUpdatorESProducer.h.


Constructor & Destructor Documentation

KFUpdatorESProducer::KFUpdatorESProducer ( const edm::ParameterSet p)

Definition at line 15 of file KFUpdatorESProducer.cc.

References edm::ParameterSet::getParameter(), and L1TEmulatorMonitor_cff::p.

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

Definition at line 22 of file KFUpdatorESProducer.cc.

{}

Member Function Documentation

boost::shared_ptr< TrajectoryStateUpdator > KFUpdatorESProducer::produce ( const TrackingComponentsRecord iRecord)

Definition at line 25 of file KFUpdatorESProducer.cc.

                                                                    { 
//   if (_updator){
//     delete _updator;
//     _updator = 0;
//   }
  
  _updator  = boost::shared_ptr<TrajectoryStateUpdator>(new KFUpdator());
  return _updator;
}

Member Data Documentation

Definition at line 24 of file KFUpdatorESProducer.h.

Definition at line 25 of file KFUpdatorESProducer.h.