ATR-27151 Fix AOD->NTUP_TRIGRATE: FPE DIVBYZERO
Check added at L598 of RatesAnalysisAlg.cxx to skip the event if empty.
Tested running
Trig_reco_tf.py --inputAODFile="AOD.32784263._001577.pool.root.1" --athenaopts "all:--imf" --multithreaded True --postInclude "all:TriggerTest/disableChronoStatSvcPrintout.py" --preExec "all:from AthenaConfiguration.AllConfigFlags import ConfigFlags; ConfigFlags.Trigger.triggerConfig='DB:TRIGGERDBREPR_RUN3:159,64,166,1'; ConfigFlags.Trigger.AODEDMSet='AODFULL';" "all:from AthenaMonitoring.DQMonFlags import DQMonFlags; DQMonFlags.set_All_Off(); DQMonFlags.doDataFlowMon=True; DQMonFlags.doHLTMon=True; DQMonFlags.doLVL1CaloMon=True; DQMonFlags.doGlobalMon=True; DQMonFlags.doLVL1InterfacesMon=True; DQMonFlags.doCTPMon=True;" "all:from JetRec.JetRecFlags import jetFlags;jetFlags.writeJetsToAOD.set_Value_and_Lock(True);jetFlags.detailLevel.set_Value_and_Lock(4); from METReconstruction.METRecoFlags import metFlags; metFlags.WriteMETAssocToOutput.set_Value_and_Lock(True);" --autoConfiguration everything --beamType collisions --conditionsTag "all:CONDBR2-BLKPA-2022-06" --geometryVersion "all:ATLAS-R3S-2021-03-00-00" --runNumber 440499 --AMITag r14441 --outputNTUP_TRIGRATEFile="NTUP_TRIGRATE.32784267._000158.pool.root.1" --ignoreErrors True
before and after the change with the same setup (asetup Athena,23.0,r2023-03-29T2101). The number of FPE DIVBYZEROs is reduced from 194 to 2 --> Still need follow-up to fix the last two.