32 p->ID.detectorType=
"sTGC";
34 std::stringstream stringone;
36 if (p->ID.sideIndex<0) side=
'C';
39 std::string_view subt =
subType();
40 if (subt[1]==
'S' && subt[3]==
'P') ml=2;
41 else if (subt[1]==
'L' && subt[3]==
'C') ml=2;
42 if (subt[1]==
'S') ctype=3;
43 else if (subt[1]==
'L') ctype=1;
44 stringone<<
"sTG"<<ctype<<
'-'<<subt.substr(2,1)<<
'-'<<ml<<
"-phi"<<p->ID.phiIndex+1<<side<<std::endl;
46 p->ID.detectorAddress=stringone.str();