You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -233,8 +237,12 @@ int GeometryTGeo::getChipIndex(int subDetID, int volume, int lay, int stave, int
233
237
if (subDetID == 0) { // VD
234
238
return volume; /// In the current configuration for VD, each volume is the sensor element = chip. // TODO: when the geometry naming scheme will be changed, change this method
235
239
236
-
} elseif (subDetID == 1) { // MLOT
237
-
returngetFirstChipIndex(lay, -1, subDetID) + stave * mNumberOfHalfStaves[lay] + halfstave;
240
+
} elseif (subDetID == 1) { // MLOT
241
+
if (mNumberOfHalfStaves[lay] == 2) { // staggered geometry
242
+
returngetFirstChipIndex(lay, -1, subDetID) + stave * mNumberOfHalfStaves[lay] + halfstave;
0 commit comments