Skip to content

Commit

Permalink
remove mc/data check and use defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
baltzell committed Oct 18, 2024
1 parent 2216fb9 commit 51184f4
Showing 1 changed file with 1 addition and 6 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

0 comments on commit 51184f4

Please sign in to comment.