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 
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
ConfigurationDescriptions.h
ESHandle.h
edm::ESProducer::setWhatProduced
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:163
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
ESProducer.h
DTObjectMapESProducer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: DTObjectMapESProducer.cc:21
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
DTObjectMap.h
ParameterSetDescription.h
DTObjectMapESProducer::DTObjectMapESProducer
DTObjectMapESProducer(const edm::ParameterSet &)
Definition: DTObjectMapESProducer.cc:15
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
DTObjectMapESProducer::rpcGeomToken_
const edm::ESGetToken< RPCGeometry, MuonGeometryRecord > rpcGeomToken_
Definition: DTObjectMapESProducer.cc:27
edm::ParameterSet
Definition: ParameterSet.h:47
DTObjectMapESProducer
Definition: DTObjectMapESProducer.cc:13
AlCaHarvesting_cff.record
record
Definition: AlCaHarvesting_cff.py:42
edm::ESGetToken< RPCGeometry, MuonGeometryRecord >
DTObjectMapESProducer::produce
std::unique_ptr< DTObjectMap > produce(MuonGeometryRecord const &record)
Definition: DTObjectMapESProducer.cc:17
ModuleFactory.h
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
DEFINE_FWK_EVENTSETUP_MODULE
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition: ModuleFactory.h:60
edm::ESProducer
Definition: ESProducer.h:104
RPCGeometry
Definition: RPCGeometry.h:20
ParameterSet.h
MuonGeometryRecord.h
MuonGeometryRecord
Definition: MuonGeometryRecord.h:34