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 #include <boost/shared_ptr.hpp>
4 #include <boost/make_shared.hpp>
5 
6 // user include files
14 
16 public:
18  setWhatProduced(this);
19  }
20 
22  }
23 
24  boost::shared_ptr<DTObjectMap> produce(MuonGeometryRecord const& record) {
25  return boost::make_shared<DTObjectMap>(record);
26  }
27 
28  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions) {
30  descriptions.add("dtObjectMapESProducer", desc);
31  }
32 
33 };
34 
35 //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)
boost::shared_ptr< DTObjectMap > produce(MuonGeometryRecord const &record)