6 RPCGeomServ::RPCGeomServ::RPCGeomServ(
const RPCDetId&
id)
7 : _id(&
id), _n(
""), _sn(
""), _cn(
""), _t(-99), _z(
true), _a(
true) {}
25 os << std::setw(2) << std::setfill(
'+') <<
ring << std::setfill(
' ') <<
"_";
29 (
layer == 1) ? os <<
"in" : os <<
"out";
35 }
else if (subsector == 2) {
37 }
else if (subsector == 3) {
39 }
else if (subsector == 4) {
58 os <<
"S" << std::setw(2) << std::setfill(
'0') <<
sector << std::setfill(
' ');
68 os << std::setw(2) << std::setfill(
'+') <<
station *
region << std::setfill(
' ') <<
"_";
71 os <<
"_CH" << std::setw(2) << std::setfill(
'0') << this->
segment();
103 os << std::setw(2) << std::setfill(
'+') <<
ring << std::setfill(
' ') <<
"_";
107 (
layer == 1) ? os <<
"in" : os <<
"out";
111 if (subsector == 1) {
113 }
else if (subsector == 2) {
115 }
else if (subsector == 3) {
117 }
else if (subsector == 4) {
136 os <<
"S" << std::setw(2) << std::setfill(
'0') <<
sector << std::setfill(
' ');
140 os << std::setw(2) << std::setfill(
'+') <<
station *
region << std::setfill(
' ') <<
"_";
143 os <<
"_CH" << std::setw(2) << std::setfill(
'0') << this->
segment();
160 std::stringstream os;
165 (
layer == 1) ? os <<
"in" : os <<
"out";
169 if (subsector == 1) {
171 }
else if (subsector == 2) {
173 }
else if (subsector == 3) {
175 }
else if (subsector == 4) {
192 os <<
"Ri" <<
ring <<
" Su" << subsector;
201 std::vector<int> chipCh(4, 8);
208 if (station < 3 && _id->
layer() == 1) {
209 chipCh.emplace_back(7);
210 chipCh.emplace_back(8);
212 chipCh.emplace_back(7);
213 chipCh.emplace_back(7);
215 chipCh.emplace_back(6);
216 chipCh.emplace_back(8);
219 chipCh.emplace_back(6);
220 chipCh.emplace_back(6);
222 chipCh.emplace_back(8);
223 chipCh.emplace_back(8);
int sector() const
Sector id: the group of chambers at same phi (and increasing r)
virtual std::string chambername()
virtual int eta_partition()
std::vector< int > channelInChip()
constexpr std::array< uint8_t, layerIndexSize< TrackerTraits > > layer
virtual std::string name()
virtual bool aclockwise()
virtual std::string shortname()
int subsector() const
SubSector id : some sectors are divided along the phi direction in subsectors (from 1 to 4 in Barrel...
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.