CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCObjectMapESProducer.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<CSCObjectMap> produce(MuonGeometryRecord const& record) {
25  return boost::make_shared<CSCObjectMap>(record);
26  }
27 
28  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions) {
30  descriptions.add("cscObjectMapESProducer", desc);
31  }
32 
33 };
34 
35 //define this as a plug-in
boost::shared_ptr< CSCObjectMap > produce(MuonGeometryRecord const &record)
JetCorrectorParameters::Record record
Definition: classes.h:7
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition: ESProducer.h:115
CSCObjectMapESProducer(const edm::ParameterSet &)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition: ModuleFactory.h:60
void add(std::string const &label, ParameterSetDescription const &psetDescription)