5 "This is intentionally designed to tell the developer to update the static_assert checks (including this "
6 "one) when the version is bumped");
7static_assert(
sizeof(DetID) == 4,
"DetID struct size different than expected!");
8static_assert(offsetof(DetID,
version) == 0,
"DetID version field not at expected offset");
9static_assert(offsetof(DetID, subdetector) == 2,
"DetID subdetector field not at expected offset");
32 return o <<
"subdetector: " << det_id.subdetector ;
61 is >> tmp >> det_id.subdetector;
79 return "VD_Cathode_PDS";
81 return "VD_Membrane_PDS";
83 return "VD_Bottom_TPC";
89 return "VD_GrenobleCRT";
104 if (typestring ==
"DAQ")
106 if (typestring ==
"HD_PDS")
108 if (typestring ==
"HD_TPC")
110 if (typestring ==
"HD_CRT")
112 if (typestring ==
"VD_Cathode_PDS")
114 if (typestring ==
"VD_Membrane_PDS")
116 if (typestring ==
"VD_Bottom_TPC")
118 if (typestring ==
"VD_Top_TPC")
120 if (typestring ==
"VD_BernCRT")
122 if (typestring ==
"VD_GrenobleCRT")
124 if (typestring ==
"NDLAr_TPC")
126 if (typestring ==
"NDLAr_PDS")
128 if (typestring ==
"ND_GAr")