CMS 3D CMS Logo

KFSwitching1DUpdatorESProducer.cc
Go to the documentation of this file.
4 
9 
10 #include <string>
11 #include <memory>
12 
13 using namespace edm;
14 
16 {
17  std::string myname = p.getParameter<std::string>("ComponentName");
18  pset_ = p;
19  setWhatProduced(this,myname);
20 }
21 
23 
24 std::unique_ptr<TrajectoryStateUpdator>
26 // if (_updator){
27 // delete _updator;
28 // _updator = 0;
29 // }
30 
31  return std::make_unique<KFSwitching1DUpdator>(&pset_);
32 }
33 
34 
T getParameter(std::string const &) const
KFSwitching1DUpdatorESProducer(const edm::ParameterSet &p)
HLT enums.
std::unique_ptr< TrajectoryStateUpdator > produce(const TrackingComponentsRecord &)