Skip to content

Commit

Permalink
remove mc/data check
Browse files Browse the repository at this point in the history
  • Loading branch information
baltzell committed Jan 3, 2025
1 parent 3b92271 commit d11ba82
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -149,11 +148,7 @@ public static int getRunNumber(DataEvent de) {
public static List<ECStrip> 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");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,6 @@ public void setSingleEvent(boolean val) {
}

public void setIsMC(boolean val) {
ECCommon.isMC = val;
}

public void setConfig(String val) {
Expand Down

0 comments on commit d11ba82

Please sign in to comment.