CMS 3D CMS Logo

Public Member Functions | Private Attributes

KFSwitching1DUpdatorESProducer Class Reference

#include <KFSwitching1DUpdatorESProducer.h>

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

List of all members.

Public Member Functions

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

Private Attributes

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

Detailed Description

KFSwitching1DUpdatorESProducer ESProducer for KFSwitching1DUpdator class.

Date:
2009/09/09 15:40:39
Revision:
1.1
Author:
cerati

Definition at line 18 of file KFSwitching1DUpdatorESProducer.h.


Constructor & Destructor Documentation

KFSwitching1DUpdatorESProducer::KFSwitching1DUpdatorESProducer ( const edm::ParameterSet p)

Definition at line 15 of file KFSwitching1DUpdatorESProducer.cc.

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

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

Definition at line 22 of file KFSwitching1DUpdatorESProducer.cc.

{}

Member Function Documentation

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

Definition at line 25 of file KFSwitching1DUpdatorESProducer.cc.

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

Member Data Documentation

Definition at line 24 of file KFSwitching1DUpdatorESProducer.h.

Definition at line 25 of file KFSwitching1DUpdatorESProducer.h.