CMS 3D CMS Logo

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::unique_ptr<DTObjectMap> produce(MuonGeometryRecord const& record) {
23  return std::make_unique<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
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:116
JetCorrectorParameters::Record record
Definition: classes.h:7
#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::unique_ptr< DTObjectMap > produce(MuonGeometryRecord const &record)