CMS 3D CMS Logo

StringResolutionProviderESProducer.cc
Go to the documentation of this file.
3 
6 
8 public:
11 
12  std::unique_ptr<KinematicResolutionProvider> produce(const KinematicResolutionRcd &rcd);
13 
14 private:
16 };
17 
19  : cfg_(iConfig) {
20  std::string myName = iConfig.getParameter<std::string>("@module_label");
21  setWhatProduced(this, myName);
22 }
23 
24 std::unique_ptr<KinematicResolutionProvider> StringResolutionProviderESProducer::produce(
25  const KinematicResolutionRcd &rcd) {
26  return std::make_unique<StringResolutionProvider>(cfg_);
27 }
28 
edm::ESProducer::setWhatProduced
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:163
ESProducer.h
MakerMacros.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:47
StringResolutionProviderESProducer
Definition: StringResolutionProviderESProducer.cc:7
ModuleDef.h
KinematicResolutionRcd
Definition: KinematicResolutionRcd.h:24
ModuleFactory.h
StringResolutionProviderESProducer::cfg_
edm::ParameterSet cfg_
Definition: StringResolutionProviderESProducer.cc:15
DEFINE_FWK_EVENTSETUP_MODULE
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition: ModuleFactory.h:60
StringResolutionProviderESProducer::StringResolutionProviderESProducer
StringResolutionProviderESProducer()
Definition: StringResolutionProviderESProducer.cc:9
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
edm::ESProducer
Definition: ESProducer.h:104
KinematicResolutionRcd.h
ParameterSet.h
StringResolutionProviderESProducer::produce
std::unique_ptr< KinematicResolutionProvider > produce(const KinematicResolutionRcd &rcd)
Definition: StringResolutionProviderESProducer.cc:24
StringResolutionProvider.h