13 for (TrackingGeometry::DetContainer::const_iterator it = rpcGeo.
dets().begin(); it < rpcGeo.
dets().end(); it++) {
14 if (dynamic_cast<const RPCChamber*>(*it) !=
nullptr) {
15 auto ch =
dynamic_cast<const RPCChamber*
>(*it);
16 std::vector<const RPCRoll*> roles = (ch->rolls());
17 for (std::vector<const RPCRoll*>::const_iterator
r = roles.begin();
r != roles.end(); ++
r) {
22 int sector = rpcId.
sector();
25 std::set<RPCDetId> myrolls;
28 myrolls.insert(rpcId);
40 static const std::set<RPCDetId>
empty;
DTObjectMap(RPCGeometry const &rpcGeometry)
std::set< RPCDetId > const & getRolls(DTStationIndex index) const
#define TYPELOOKUP_DATA_REG(_dataclass_)
const DetContainer & dets() const override
Returm a vector of all GeomDet (including all GeomDetUnits)
int sector() const
Sector id: the group of chambers at same phi (and increasing r)
std::map< DTStationIndex, std::set< RPCDetId > > rollstore
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.