From 772b749c08ba7a6dd23c42e874789305075f798f Mon Sep 17 00:00:00 2001 From: Wouter Deconinck <wdconinc@gmail.com> Date: Sat, 13 Aug 2022 03:47:45 +0000 Subject: [PATCH] fix: add epic imaging vs. sciglass treatment in options.py --- benchmarks/clustering/options/full_cal_reco.py | 2 ++ benchmarks/ecal/options/barrel.py | 2 ++ benchmarks/imaging_ecal/options/hybrid_cluster.py | 2 ++ benchmarks/imaging_ecal/options/scfi_cluster.py | 2 ++ 4 files changed, 8 insertions(+) diff --git a/benchmarks/clustering/options/full_cal_reco.py b/benchmarks/clustering/options/full_cal_reco.py index f933359c..b4a8f425 100644 --- a/benchmarks/clustering/options/full_cal_reco.py +++ b/benchmarks/clustering/options/full_cal_reco.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: diff --git a/benchmarks/ecal/options/barrel.py b/benchmarks/ecal/options/barrel.py index 1ed18456..f60d03ff 100644 --- a/benchmarks/ecal/options/barrel.py +++ b/benchmarks/ecal/options/barrel.py @@ -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()] diff --git a/benchmarks/imaging_ecal/options/hybrid_cluster.py b/benchmarks/imaging_ecal/options/hybrid_cluster.py index 9125f418..172efc1a 100644 --- a/benchmarks/imaging_ecal/options/hybrid_cluster.py +++ b/benchmarks/imaging_ecal/options/hybrid_cluster.py @@ -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: diff --git a/benchmarks/imaging_ecal/options/scfi_cluster.py b/benchmarks/imaging_ecal/options/scfi_cluster.py index 8cd2259f..80cfcd8a 100644 --- a/benchmarks/imaging_ecal/options/scfi_cluster.py +++ b/benchmarks/imaging_ecal/options/scfi_cluster.py @@ -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: -- GitLab