#include <KFSwitching1DUpdatorESProducer.h>
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_ |
KFSwitching1DUpdatorESProducer ESProducer for KFSwitching1DUpdator class.
Definition at line 18 of file KFSwitching1DUpdatorESProducer.h.
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.
{}
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; }
boost::shared_ptr<TrajectoryStateUpdator> KFSwitching1DUpdatorESProducer::_updator [private] |
Definition at line 24 of file KFSwitching1DUpdatorESProducer.h.
Definition at line 25 of file KFSwitching1DUpdatorESProducer.h.