Go to the source code of this file.
std::ostream& operator<< |
( |
std::ostream & |
s, |
|
|
const TECDetId & |
id |
|
) |
| |
Definition at line 6 of file TECDetId.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
7 unsigned int theWheel =
id.wheel();
8 unsigned int theModule =
id.module();
9 std::vector<unsigned int> thePetal =
id.petal();
10 unsigned int theRing =
id.ring();
13 side = (
id.side() == 1 ) ?
"-" :
"+";
14 petal = (thePetal[0] == 1 ) ?
"back" :
"front";
16 type = (
id.stereo() == 0) ?
"r-phi" :
"stereo";
17 type = (
id.glued() == 0) ? type : type+
" glued";
18 type = (
id.isDoubleSide()) ?
"double side" : type;
19 return os <<
"TEC" << side
20 <<
" Wheel " << theWheel
21 <<
" Petal " << thePetal[1] <<
" " << petal
22 <<
" Ring " << theRing
23 <<
" Module " << theModule <<
" " << type
24 <<
" (" <<
id.rawId() <<
")";