Skip to content

Commit c4db3b1

Browse files
committed
remove mc/data check
1 parent 2216fb9 commit c4db3b1

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ public class ECCommon {
4242
public static int stripSortMethod = 0;
4343
public static int[] splitThresh = new int[3];
4444

45-
public static Boolean isMC = false;
4645
public static Boolean debug = false;
4746
public static Boolean debugSplit = false;
4847
public static Boolean isSingleThreaded = false;
@@ -149,11 +148,7 @@ public static int getRunNumber(DataEvent de) {
149148
public static List<ECStrip> initEC(DataEvent event, ConstantsManager manager){
150149

151150
int run = getRunNumber(event);
152-
153-
isMC = run<=100;
154-
155-
if(isMC) {usePass2Timing = false; useDTCorrections = false; useFTpcal = false;}
156-
151+
157152
manager.setVariation(variation);
158153

159154
IndexedTable atten1 = manager.getConstants(run, "/calibration/ec/attenuation");

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,6 @@ public void setSingleEvent(boolean val) {
244244
}
245245

246246
public void setIsMC(boolean val) {
247-
ECCommon.isMC = val;
248247
}
249248

250249
public void setConfig(String val) {

0 commit comments

Comments
 (0)