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();
133 std::stringstream os;
139 os << std::setw(2) << std::setfill(
'+') << ring
140 << std::setfill(
' ') <<
"_";
143 if ( station <= 2 ) {
145 (layer == 1 ) ? os <<
"in" : os <<
"out";
147 }
else if( station > 2 )
149 if( sector == 4 && station == 4 )
155 else if( subsector == 2 )
159 else if( subsector == 3 )
163 else if( subsector == 4 )
176 else if( station == 4
189 os <<
"S" << std::setw(2) << std::setfill(
'0')
190 << sector << std::setfill(
' ');
196 os << std::setw(2) << std::setfill(
'+') << station * region
197 << std::setfill(
' ') <<
"_";
200 os <<
"_CH" << std::setw(2) << std::setfill(
'0') << this->
segment();
220 std::stringstream os;
227 (layer == 1 ) ? os <<
"in" : os <<
"out";
232 if( sector == 4 && station == 4 )
238 else if( subsector == 2 )
242 else if( subsector == 3 )
246 else if( subsector == 4 )
268 os <<
"Ri" << ring <<
" Su" << subsector;
279 std::vector<int> chipCh(4,8);
286 if (station<3 && _id->layer()==1){
289 }
else if (station == 1 || station == 3){
292 }
else if (station == 2){
474 ( 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...
volatile std::atomic< bool > shutdown_flag false
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.