CMS 3D CMS Logo

KFUpdatorESProducer.cc
Go to the documentation of this file.
5 #include <memory>
6 
9 
14 
15 #include <string>
16 #include <memory>
17 
18 using namespace edm;
20 public:
22  std::unique_ptr<TrajectoryStateUpdator> produce(const TrackingComponentsRecord&);
23 
24  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
25 
26 private:
27 };
28 
30  std::string myname = p.getParameter<std::string>("ComponentName");
31  setWhatProduced(this, myname);
32 }
33 
34 std::unique_ptr<TrajectoryStateUpdator> KFUpdatorESProducer::produce(const TrackingComponentsRecord& iRecord) {
35  return std::make_unique<KFUpdator>();
36 }
37 
40  desc.add<std::string>("ComponentName");
41  descriptions.addDefault(desc);
42 }
43 
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
KFUpdatorESProducer(const edm::ParameterSet &p)
std::unique_ptr< TrajectoryStateUpdator > produce(const TrackingComponentsRecord &)
void addDefault(ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition: ModuleFactory.h:60
HLT enums.