CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTObjectMapESProducer.cc
Go to the documentation of this file.
1 // system include files
2 #include <memory>
3 
4 // user include files
12 
14 public:
16  setWhatProduced(this);
17  }
18 
20  }
21 
22  std::shared_ptr<DTObjectMap> produce(MuonGeometryRecord const& record) {
23  return std::make_shared<DTObjectMap>(record);
24  }
25 
26  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions) {
28  descriptions.add("dtObjectMapESProducer", desc);
29  }
30 
31 };
32 
33 //define this as a plug-in
JetCorrectorParameters::Record record
Definition: classes.h:7
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition: ESProducer.h:115
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition: ModuleFactory.h:60
void add(std::string const &label, ParameterSetDescription const &psetDescription)
DTObjectMapESProducer(const edm::ParameterSet &)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::shared_ptr< DTObjectMap > produce(MuonGeometryRecord const &record)