Skip to content
Snippets Groups Projects

fix: invert has_ecal_barrel_scfi logic

Merged Wouter Deconinck requested to merge scfi-now-default into master
4 files
+ 20
20
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -17,11 +17,11 @@ detector_path = str(os.environ.get("DETECTOR_PATH", "."))
@@ -17,11 +17,11 @@ detector_path = str(os.environ.get("DETECTOR_PATH", "."))
compact_path = os.path.join(detector_path, detector_config)
compact_path = os.path.join(detector_path, detector_config)
# Detector features that affect reconstruction
# Detector features that affect reconstruction
has_ecal_barrel_scfi = False
has_ecal_barrel_scfi = True
if 'epic' in detector_name and 'imaging' in detector_config:
if "epic" in detector_name and "sciglass" in detector_config:
has_ecal_barrel_scfi = True
has_ecal_barrel_scfi = False
if 'epic' in detector_name and 'brycecanyon' in detector_config:
if 'epic' in detector_name and 'arches' in detector_config:
has_ecal_barrel_scfi = True
has_ecal_barrel_scfi = False
# input arguments from calibration file
# input arguments from calibration file
with open(f'{detector_path}/calibrations/emcal_barrel_calibration.json') as f:
with open(f'{detector_path}/calibrations/emcal_barrel_calibration.json') as f:
Loading