5 unsigned int theLayer =
id.layer();
6 std::vector<unsigned int> theRod =
id.rod();
7 unsigned int theModule =
id.module();
10 side = (theRod[0] == 1 ) ?
"-" :
"+";
12 type = (
id.stereo() == 0) ?
"r-phi" :
"stereo";
13 type = (
id.glued() == 0) ? type : type+
" glued";
14 type = (
id.isDoubleSide()) ?
"double side" : type;
15 return os <<
"TOB" << side
16 <<
" Layer " << theLayer
17 <<
" Rod " << theRod[1]
18 <<
" Module " << theModule <<
" " << type
19 <<
" (" <<
id.rawId() <<
")";
std::ostream & operator<<(std::ostream &os, const TOBDetId &id)