2 #include <fmt/format.h> 13 const int roll = detId.
roll();
17 chName +=
"_Backward";
58 roll = (
layer == 1) ?
"in" :
"out";
60 roll = (subsector == 1) ?
"-" :
"+";
63 const static std::array<std::string, 4> ssarr = {{
"--",
"-",
"+",
"++"}};
64 roll = ssarr[subsector - 1];
66 roll = (subsector == 1) ?
"-" :
"+";
77 if (region < -1 or region > 1)
int sector() const
Sector id: the group of chambers at same phi (and increasing r)
static const std::array< std::string, 3 > regionNames
static std::string rollName(const RPCDetId &detId)
constexpr std::array< uint8_t, layerIndexSize< TrackerTraits > > layer
static std::string regionName(const int region)
int subsector() const
SubSector id : some sectors are divided along the phi direction in subsectors (from 1 to 4 in Barrel...
static std::string name(const RPCDetId &detId, const bool useRoll)
static std::string chamberName(const RPCDetId &detId)
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.