From 14da8fc51cd4b700eb9a18c2398cd61aa1739f1e Mon Sep 17 00:00:00 2001 From: Giovanni Marchiori Date: Wed, 4 Sep 2024 23:46:42 +0200 Subject: [PATCH] fix bug when crosstalk is off (readCrosstalkMap undefined) --- RecFCCeeCalorimeter/tests/options/ALLEGRO_o1_v03_digi_reco.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/RecFCCeeCalorimeter/tests/options/ALLEGRO_o1_v03_digi_reco.py b/RecFCCeeCalorimeter/tests/options/ALLEGRO_o1_v03_digi_reco.py index 766131c..c55207b 100644 --- a/RecFCCeeCalorimeter/tests/options/ALLEGRO_o1_v03_digi_reco.py +++ b/RecFCCeeCalorimeter/tests/options/ALLEGRO_o1_v03_digi_reco.py @@ -150,6 +150,8 @@ readCrosstalkMap = ReadCaloCrosstalkMap("ReadCrosstalkMap", fileName="https://fccsw.web.cern.ch/fccsw/filesForSimDigiReco/ALLEGRO/ALLEGRO_o1_v03/xtalk_neighbours_map_ecalB_thetamodulemerged.root", OutputLevel=INFO) +else: + readCrosstalkMap = None # Create cells in ECal barrel (needed if one wants to apply cell calibration, # which is not performed by ddsim)