CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
StringResolutionProviderESProducer.cc
Go to the documentation of this file.
3 
6 
8  {
9  public:
12 
13  std::auto_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::auto_ptr<KinematicResolutionProvider>
27  return std::auto_ptr<KinematicResolutionProvider>(new StringResolutionProvider(cfg_));
28 }
29 
T getParameter(std::string const &) const
Class to provide resolution factors for PAT candidates.
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition: ESProducer.h:115
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition: ModuleFactory.h:48
std::auto_ptr< KinematicResolutionProvider > produce(const KinematicResolutionRcd &rcd)