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

fix: brycecanyon has ecal barrel imaging and scfi

parent c458bb3e
Branches
Tags
1 merge request!276fix: brycecanyon has ecal barrel imaging and scfi
......@@ -20,6 +20,8 @@ compact_path = os.path.join(detector_path, detector_config)
has_ecal_barrel_scfi = False
if 'epic' in detector_name and 'imaging' in detector_config:
has_ecal_barrel_scfi = True
if 'epic' in detector_name and 'brycecanyon' 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 @@ compact_path = str(
has_ecal_barrel_scfi = False
if "epic" in detector_name and "imaging" in detector_config:
has_ecal_barrel_scfi = True
if 'epic' in detector_name and 'brycecanyon' in detector_config:
has_ecal_barrel_scfi = True
# input and output
input_sims = [
......
......@@ -25,6 +25,8 @@ detector_path = str(os.environ.get("DETECTOR_PATH", "."))
has_ecal_barrel_scfi = False
if 'epic' in detector_name and 'imaging' in detector_config:
has_ecal_barrel_scfi = True
if 'epic' in detector_name and 'brycecanyon' 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:
......
......@@ -22,6 +22,8 @@ detector_path = str(os.environ.get("DETECTOR_PATH", "."))
has_ecal_barrel_scfi = False
if 'epic' in detector_name and 'imaging' in detector_config:
has_ecal_barrel_scfi = True
if 'epic' in detector_name and 'brycecanyon' 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