Skip to content

Commit 10a63a4

Browse files
changed EC to load the geometry with the real run number
1 parent d290802 commit 10a63a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reconstruction/ec/src/main/java/org/jlab/service/ec/ECEngine.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ public void detectorChanged(int runNumber) {
467467
String variationName = Optional.ofNullable(this.getEngineConfigString("variation")).orElse("default");
468468
if(!(ECCommon.geomVariation.equals("default"))) variationName = ECCommon.geomVariation;
469469
LOGGER.log(Level.INFO,"GEOMETRY VARIATION IS "+variationName);
470-
ECCommon.ecDetector = GeometryFactory.getDetector(DetectorType.ECAL,11,variationName);
470+
ECCommon.ecDetector = GeometryFactory.getDetector(DetectorType.ECAL,runNumber,variationName);
471471
}
472472

473473
}

0 commit comments

Comments
 (0)