31 p->ID.detectorType=
"Micromegas";
33 std::stringstream stringone;
35 if (p->ID.sideIndex<0) side=
'C';
37 std::string_view subt =
subType();
38 int ml=
myatoi(subt.substr(3,1));
39 if (subt[2]==
'L') ctype=1;
40 else if (subt[2]==
'S') ctype=3;
41 int etaIndex=
myatoi(subt.substr(1,1));
42 stringone<<
"sMD"<<ctype<<
'-'<<etaIndex<<
'-'<<ml<<
"-phi"<<p->ID.phiIndex+1<<side<<std::endl;
44 p->ID.detectorAddress=stringone.str();