12 for (TrackingGeometry::DetContainer::const_iterator it = rpcGeo.
dets().begin(); it < rpcGeo.
dets().end(); it++) {
13 if (dynamic_cast<const RPCChamber*>(*it) !=
nullptr) {
14 auto ch =
dynamic_cast<const RPCChamber*
>(*it);
15 std::vector<const RPCRoll*> roles = (ch->rolls());
16 for (std::vector<const RPCRoll*>::const_iterator
r = roles.begin();
r != roles.end(); ++
r) {
25 int rpcsegment = rpcsrv.
segment();
26 int cscchamber = rpcsegment;
27 if ((station == 2 || station == 3) && ring == 3) {
31 std::set<RPCDetId> myrolls;
34 myrolls.insert(rpcId);
46 static const std::set<RPCDetId>
empty;
std::set< RPCDetId > const & getRolls(CSCStationIndex index) const
const DetContainer & dets() const override
Returm a vector of all GeomDet (including all GeomDetUnits)
#define TYPELOOKUP_DATA_REG(_dataclass_)
CSCObjectMap(RPCGeometry const &rpcGeom)
std::map< CSCStationIndex, std::set< RPCDetId > > rollstore
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.