Go to the source code of this file.
std::ostream& operator<< |
( |
std::ostream & |
s, |
|
|
const TECDetId & |
id |
|
) |
| |
Definition at line 23 of file TECDetId.cc.
24 unsigned int theWheel =
id.wheel();
25 unsigned int theModule =
id.module();
26 std::vector<unsigned int> thePetal =
id.petal();
27 unsigned int theRing =
id.ring();
30 side = (
id.side() == 1 ) ?
"-" :
"+";
31 petal = (thePetal[0] == 1 ) ?
"back" :
"front";
33 type = (
id.stereo() == 0) ?
"r-phi" :
"stereo";
34 type = (
id.glued() == 0) ? type : type+
" glued";
35 type = (
id.isDoubleSide()) ?
"double side" : type;
36 return os <<
"TEC" << side
37 <<
" Wheel " << theWheel
38 <<
" Petal " << thePetal[1] <<
" " << petal
39 <<
" Ring " << theRing
40 <<
" Module " << theModule <<
" " << type
41 <<
" (" <<
id.rawId() <<
")";