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 
edm::ParameterSetDescription::add
ParameterDescriptionBase * add(U const &iLabel, T const &value)
Definition: ParameterSetDescription.h:95
ESHandle.h
edm
HLT enums.
Definition: AlignableModifier.h:19
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
ESProducer.h
KFUpdatorESProducer_cfi.KFUpdatorESProducer
KFUpdatorESProducer
Definition: KFUpdatorESProducer_cfi.py:3
KFUpdatorESProducer::KFUpdatorESProducer
KFUpdatorESProducer(const edm::ParameterSet &p)
Definition: KFUpdatorESProducer.cc:29
KFUpdatorESProducer::produce
std::unique_ptr< TrajectoryStateUpdator > produce(const TrackingComponentsRecord &)
Definition: KFUpdatorESProducer.cc:34
fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
IdealMagneticFieldRecord.h
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
KFUpdator.h
edm::ParameterSet
Definition: ParameterSet.h:36
MagneticField.h
KFUpdatorESProducer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: KFUpdatorESProducer.cc:38
ModuleFactory.h
DEFINE_FWK_EVENTSETUP_MODULE
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition: ModuleFactory.h:60
TrackingComponentsRecord.h
EventSetup.h
edm::ESProducer
Definition: ESProducer.h:101
ParameterSet.h
edm::ConfigurationDescriptions::addDefault
void addDefault(ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:99
TrackingComponentsRecord
Definition: TrackingComponentsRecord.h:12