From d11ba82509b2beebc1bd4133cd730defbd948da8 Mon Sep 17 00:00:00 2001 From: Nathan Baltzell Date: Fri, 18 Oct 2024 16:03:17 -0400 Subject: [PATCH] remove mc/data check --- .../ec/src/main/java/org/jlab/service/ec/ECCommon.java | 7 +------ .../ec/src/main/java/org/jlab/service/ec/ECEngine.java | 1 - 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/reconstruction/ec/src/main/java/org/jlab/service/ec/ECCommon.java b/reconstruction/ec/src/main/java/org/jlab/service/ec/ECCommon.java index eb85aa18dd..f8dd067894 100644 --- a/reconstruction/ec/src/main/java/org/jlab/service/ec/ECCommon.java +++ b/reconstruction/ec/src/main/java/org/jlab/service/ec/ECCommon.java @@ -42,7 +42,6 @@ public class ECCommon { public static int stripSortMethod = 0; public static int[] splitThresh = new int[3]; - public static Boolean isMC = false; public static Boolean debug = false; public static Boolean debugSplit = false; public static Boolean isSingleThreaded = false; @@ -149,11 +148,7 @@ public static int getRunNumber(DataEvent de) { public static List initEC(DataEvent event, ConstantsManager manager){ int run = getRunNumber(event); - - isMC = run<=100; - - if(isMC) {usePass2Timing = false; useDTCorrections = false; useFTpcal = false;} - + manager.setVariation(variation); IndexedTable atten1 = manager.getConstants(run, "/calibration/ec/attenuation"); diff --git a/reconstruction/ec/src/main/java/org/jlab/service/ec/ECEngine.java b/reconstruction/ec/src/main/java/org/jlab/service/ec/ECEngine.java index 2fcecad6ca..17759ac495 100644 --- a/reconstruction/ec/src/main/java/org/jlab/service/ec/ECEngine.java +++ b/reconstruction/ec/src/main/java/org/jlab/service/ec/ECEngine.java @@ -244,7 +244,6 @@ public void setSingleEvent(boolean val) { } public void setIsMC(boolean val) { - ECCommon.isMC = val; } public void setConfig(String val) {