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 +236,12 @@ int GeometryTGeo::getChipIndex(int subDetID, int volume, int lay, int stave, int
233
236
if (subDetID == 0) { // VD
234
237
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
238
236
-
} elseif (subDetID == 1) { // MLOT
237
-
returngetFirstChipIndex(lay, -1, subDetID) + stave * mNumberOfHalfStaves[lay] + halfstave;
239
+
} elseif (subDetID == 1) { // MLOT
240
+
if (mNumberOfHalfStaves[lay] == 2) { // staggered geometry
241
+
returngetFirstChipIndex(lay, -1, subDetID) + stave * mNumberOfHalfStaves[lay] + halfstave;
0 commit comments