Go to the documentation of this file.
25 #include <unordered_map>
32 : comp11_{
p.getUntrackedParameter<
bool>(
"compatibiltyWith11",
true)},
33 useDDD_{
p.getUntrackedParameter<
bool>(
"useDDD",
true)},
34 useDD4hep_{
p.getUntrackedParameter<
bool>(
"useDD4hep",
false)} {
35 auto cc = setWhatProduced(
this);
41 }
else if (useDD4hep_) {
55 return std::unique_ptr<RPCGeometry>(builder.
build(&(*cpv), mdc));
61 return std::unique_ptr<RPCGeometry>(builder.
build(&(*cpv), mdc));
65 return std::unique_ptr<RPCGeometry>(builder.
build(rigrpc));
edm::ESGetToken< RecoIdealGeometry, RPCRecoGeometryRcd > recoIdealToken_
RPCGeometry * build(const DDCompactView *cview, const MuonGeometryConstants &muonConstants)
edm::ESGetToken< cms::MuonNumbering, MuonNumberingRecord > dd4hepConstantsToken_
RPCGeometryESModule(const edm::ParameterSet &p)
edm::ESGetToken< MuonGeometryConstants, IdealGeometryRecord > dddConstantsToken_
std::unique_ptr< RPCGeometry > produce(const MuonGeometryRecord &record)
edm::ESGetToken< cms::DDCompactView, IdealGeometryRecord > idealDD4hepGeomToken_
RPCGeometry * build(const RecoIdealGeometry &rgeo)
Compact representation of the geometrical detector hierarchy.
edm::ESGetToken< DDCompactView, IdealGeometryRecord > idealGeomToken_
#define DEFINE_FWK_EVENTSETUP_MODULE(type)