Skip to content
Snippets Groups Projects
Commit 772b749c authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

fix: add epic imaging vs. sciglass treatment in options.py

parent 2da03466
Branches
No related tags found
1 merge request!262fix: add epic imaging vs. sciglass treatment in options.py
......@@ -22,6 +22,8 @@ if 'athena' in detector_name:
has_ecal_barrel_scfi = True
if 'ecce' in detector_name and 'imaging' in detector_config:
has_ecal_barrel_scfi = True
if 'epic' in detector_name and 'imaging' in detector_config:
has_ecal_barrel_scfi = True
# input arguments from calibration file
with open(f'{detector_path}/calibrations/emcal_barrel_calibration.json') as f:
......
......@@ -21,6 +21,8 @@ if 'athena' in detector_name:
has_ecal_barrel_scfi = True
if 'ecce' in detector_name and 'imaging' in detector_config:
has_ecal_barrel_scfi = True
if 'epic' in detector_name and 'imaging' in detector_config:
has_ecal_barrel_scfi = True
# input and output
input_sims = [f.strip() for f in str.split(os.environ["JUGGLER_SIM_FILE"], ",") if f.strip()]
......
......@@ -27,6 +27,8 @@ if 'athena' in detector_name:
has_ecal_barrel_scfi = True
if 'ecce' in detector_name and 'imaging' in detector_config:
has_ecal_barrel_scfi = True
if 'epic' in detector_name and 'imaging' in detector_config:
has_ecal_barrel_scfi = True
# input arguments from calibration file
with open(f'{detector_path}/calibrations/emcal_barrel_calibration.json') as f:
......
......@@ -24,6 +24,8 @@ if 'athena' in detector_name:
has_ecal_barrel_scfi = True
if 'ecce' in detector_name and 'imaging' in detector_config:
has_ecal_barrel_scfi = True
if 'epic' in detector_name and 'imaging' in detector_config:
has_ecal_barrel_scfi = True
# input arguments from calibration file
with open(f'{detector_path}/calibrations/emcal_barrel_calibration.json') as f:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment