Go to the source code of this file.
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const TOBDetId & |
id |
|
) |
| |
Definition at line 19 of file TOBDetId.cc.
20 unsigned int theLayer =
id.layer();
21 std::vector<unsigned int> theRod =
id.rod();
22 unsigned int theModule =
id.module();
25 side = (theRod[0] == 1 ) ?
"-" :
"+";
27 type = (
id.stereo() == 0) ?
"r-phi" :
"stereo";
28 type = (
id.glued() == 0) ? type : type+
" glued";
29 type = (
id.isDoubleSide()) ?
"double side" : type;
30 return os <<
"TOB" << side
31 <<
" Layer " << theLayer
32 <<
" Rod " << theRod[1]
33 <<
" Module " << theModule <<
" " << type
34 <<
" (" <<
id.rawId() <<
")";