1 parent f2d39b5 commit 688ef74Copy full SHA for 688ef74
1 file changed
reconstruction/ec/src/main/java/org/jlab/service/ec/ECEngine.java
@@ -467,7 +467,7 @@ public void detectorChanged(int runNumber) {
467
String variationName = Optional.ofNullable(this.getEngineConfigString("variation")).orElse("default");
468
if(!(ECCommon.geomVariation.equals("default"))) variationName = ECCommon.geomVariation;
469
LOGGER.log(Level.INFO,"GEOMETRY VARIATION IS "+variationName);
470
- ECCommon.ecDetector = GeometryFactory.getDetector(DetectorType.ECAL,11,variationName);
+ ECCommon.ecDetector = GeometryFactory.getDetector(DetectorType.ECAL,runNumber,variationName);
471
}
472
473
0 commit comments