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
11 #include "DTObjectMap.h"
12 
14 public:
16 
17  std::unique_ptr<DTObjectMap> produce(MuonGeometryRecord const& record) {
18  return std::make_unique<DTObjectMap>(record.get(rpcGeomToken_));
19  }
20 
21  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions) {
23  descriptions.add("dtObjectMapESProducer", desc);
24  }
25 
26 private:
28 };
29 
30 //define this as a plug-in
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:163
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition: ModuleFactory.h:61
void add(std::string const &label, ParameterSetDescription const &psetDescription)
DTObjectMapESProducer(const edm::ParameterSet &)
const edm::ESGetToken< RPCGeometry, MuonGeometryRecord > rpcGeomToken_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::unique_ptr< DTObjectMap > produce(MuonGeometryRecord const &record)