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";
32 if (sector == 4 &&
station == 4) {
35 }
else if (subsector == 2) {
37 }
else if (subsector == 3) {
39 }
else if (subsector == 4) {
49 }
else if (
station == 4 && sector != 9 && sector != 11 && sector != 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";
110 if (sector == 4 &&
station == 4) {
111 if (subsector == 1) {
113 }
else if (subsector == 2) {
115 }
else if (subsector == 3) {
117 }
else if (subsector == 4) {
127 }
else if (
station == 4 && sector != 9 && sector != 11 && sector != 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";
168 if (sector == 4 &&
station == 4) {
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);