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 
17  std::unique_ptr<CSCObjectMap> produce(MuonGeometryRecord const& record) {
18  return std::make_unique<CSCObjectMap>(record.get(rpcGeomToken_));
19  }
20 
21  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions) {
23  descriptions.add("cscObjectMapESProducer", desc);
24  }
25 
26 private:
28 };
29 
30 //define this as a plug-in
ConfigurationDescriptions.h
CSCObjectMap.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
GlobalPosition_Frontier_DevDB_cff.record
record
Definition: GlobalPosition_Frontier_DevDB_cff.py:10
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
ParameterSetDescription.h
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
edm::ParameterSet
Definition: ParameterSet.h:47
edm::ESGetToken< RPCGeometry, MuonGeometryRecord >
ModuleFactory.h
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
DEFINE_FWK_EVENTSETUP_MODULE
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition: ModuleFactory.h:60
CSCObjectMapESProducer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: CSCObjectMapESProducer.cc:21
CSCObjectMapESProducer
Definition: CSCObjectMapESProducer.cc:13
edm::ESProducer
Definition: ESProducer.h:104
RPCGeometry
Definition: RPCGeometry.h:20
ParameterSet.h
MuonGeometryRecord.h
CSCObjectMapESProducer::CSCObjectMapESProducer
CSCObjectMapESProducer(const edm::ParameterSet &)
Definition: CSCObjectMapESProducer.cc:15
CSCObjectMapESProducer::rpcGeomToken_
const edm::ESGetToken< RPCGeometry, MuonGeometryRecord > rpcGeomToken_
Definition: CSCObjectMapESProducer.cc:27
MuonGeometryRecord
Definition: MuonGeometryRecord.h:34
CSCObjectMapESProducer::produce
std::unique_ptr< CSCObjectMap > produce(MuonGeometryRecord const &record)
Definition: CSCObjectMapESProducer.cc:17