25 #include <unordered_map> 33 useDDD_{
p.getUntrackedParameter<
bool>(
"useDDD",
true)},
34 useDD4hep_{
p.getUntrackedParameter<
bool>(
"useDD4hep",
false)} {
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));
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
T getUntrackedParameter(std::string const &, T const &) const
RPCGeometry * build(const RecoIdealGeometry &rgeo)
edm::ESGetToken< DDCompactView, IdealGeometryRecord > idealGeomToken_
edm::ESGetToken< MuonDDDConstants, MuonNumberingRecord > dddConstantsToken_
ESTransientHandle< ProductT > getTransientHandle(ESGetToken< ProductT, DepRecordT > const &iToken) const
Compact representation of the geometrical detector hierarchy.
RPCGeometry * build(const DDCompactView *cview, const MuonDDDConstants &muonConstants)
RPCGeometryESModule(const edm::ParameterSet &p)
edm::ESGetToken< RecoIdealGeometry, RPCRecoGeometryRcd > recoIdealToken_
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
std::unique_ptr< RPCGeometry > produce(const MuonGeometryRecord &record)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
edm::ESGetToken< cms::MuonNumbering, MuonNumberingRecord > dd4hepConstantsToken_
edm::ESGetToken< cms::DDCompactView, IdealGeometryRecord > idealDD4hepGeomToken_