6 RPCGeomServ::RPCGeomServ::RPCGeomServ(
const RPCDetId&
id )
37 os << std::setw(2) << std::setfill(
'+') << ring
38 << std::setfill(
' ') <<
"_";
42 (layer == 1 ) ? os <<
"in" : os <<
"out";
44 }
else if( station > 2 )
46 if( sector == 4 && station == 4 )
52 else if( subsector == 2 )
56 else if( subsector == 3 )
60 else if( subsector == 4 )
86 os <<
"S" << std::setw(2) << std::setfill(
'0')
87 << sector << std::setfill(
' ');
99 os << std::setw(2) << std::setfill(
'+') << station * region
100 << std::setfill(
' ') <<
"_";
103 os <<
"_CH" << std::setw(2) << std::setfill(
'0') << this->
segment();
131 std::stringstream os;
137 os << std::setw(2) << std::setfill(
'+') << ring
138 << std::setfill(
' ') <<
"_";
141 if ( station <= 2 ) {
143 (layer == 1 ) ? os <<
"in" : os <<
"out";
145 }
else if( station > 2 )
147 if( sector == 4 && station == 4 )
153 else if( subsector == 2 )
157 else if( subsector == 3 )
161 else if( subsector == 4 )
174 else if( station == 4
187 os <<
"S" << std::setw(2) << std::setfill(
'0')
188 << sector << std::setfill(
' ');
194 os << std::setw(2) << std::setfill(
'+') << station * region
195 << std::setfill(
' ') <<
"_";
198 os <<
"_CH" << std::setw(2) << std::setfill(
'0') << this->
segment();
218 std::stringstream os;
225 (layer == 1 ) ? os <<
"in" : os <<
"out";
230 if( sector == 4 && station == 4 )
236 else if( subsector == 2 )
240 else if( subsector == 3 )
244 else if( subsector == 4 )
266 os <<
"Ri" << ring <<
" Su" << subsector;
277 std::vector<int> chipCh(4,8);
284 if (station<3 && _id->layer()==1){
287 }
else if (station == 1 || station == 3){
290 }
else if (station == 2){
472 ( ring == 1 && station > 1 ) ? nsub = 3 : nsub = 6;
virtual std::string chambername()
virtual int eta_partition()
std::vector< int > channelInChip()
virtual std::string name()
virtual bool aclockwise()
virtual std::string shortname()
int sector() const
Sector id: the group of chambers at same phi (and increasing r)
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.