Skip to content

Commit f3d6531

Browse files
removed hardcoded change to default variation in BAND engine
1 parent 7d69a11 commit f3d6531

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

reconstruction/band/src/main/java/org/jlab/rec/band/constants/CalibrationConstantsLoader.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,9 @@ public CalibrationConstantsLoader() {
5353
public static int LASER_COMPONENT = 6;
5454
public static double[] LASER_CONV = {0,1,0};
5555

56-
public static synchronized void Load(int runno, String var, ConstantsManager manager) {
56+
public static synchronized void Load(int runno, ConstantsManager manager) {
5757

5858
//System.out.println("*Loading calibration constants*");
59-
manager.setVariation(var);
6059

6160
IndexedTable lroffsets = manager.getConstants(runno, "/calibration/band/lr_offsets");
6261
IndexedTable timewalkL = manager.getConstants(runno, "/calibration/band/time_walk_amp_left");

reconstruction/band/src/main/java/org/jlab/service/band/BANDEngine.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public void setRunConditionsParameters(DataEvent event) {
9595
// Load the constants
9696
//-------------------
9797
if(Run!=newRun) {
98-
CalibrationConstantsLoader.Load(newRun,"default",this.getConstantsManager());
98+
CalibrationConstantsLoader.Load(newRun,this.getConstantsManager());
9999
Run = newRun;
100100
Parameters.CreateGeometry(); // loading BAND params
101101
}

0 commit comments

Comments
 (0)