CMS 3D CMS Logo

CSCObjectMapESProducer.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<CSCObjectMap> produce(MuonGeometryRecord const& record) {
23  return std::make_shared<CSCObjectMap>(record);
24  }
25 
26  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions) {
28  descriptions.add("cscObjectMapESProducer", 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
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)
std::shared_ptr< CSCObjectMap > produce(MuonGeometryRecord const &record)