CMS 3D CMS Logo

StringResolutionProviderESProducer.cc
Go to the documentation of this file.
3 
6 
8  {
9  public:
12 
13  std::unique_ptr<KinematicResolutionProvider> produce(const KinematicResolutionRcd &rcd) ;
14 
15  private:
17 };
18 
20  cfg_(iConfig) {
21  std::string myName = iConfig.getParameter<std::string>("@module_label");
22  setWhatProduced(this,myName);
23 }
24 
25 std::unique_ptr<KinematicResolutionProvider>
27  return std::make_unique<StringResolutionProvider>(cfg_);
28 }
29 
T getParameter(std::string const &) const
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:124
std::unique_ptr< KinematicResolutionProvider > produce(const KinematicResolutionRcd &rcd)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition: ModuleFactory.h:60