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