From b95eb7dfd36c0fd0837bec06fcead85d09a94147 Mon Sep 17 00:00:00 2001 From: Siarhei Harkusha <Siarhei.Harkusha@cern.ch> Date: Mon, 22 Mar 2021 18:22:49 +0100 Subject: [PATCH] TileMonitoring: Fix FPE in Tile TMDB Raw channel monitoring for Run3 (ATLASRECTS-6127) FPE has been fixed (arrays has been initialized) in Tile TMDB Raw channel monitoring algorithm for Run3. --- .../src/TileTMDBRawChannelMonitorAlgorithm.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/TileCalorimeter/TileMonitoring/src/TileTMDBRawChannelMonitorAlgorithm.cxx b/TileCalorimeter/TileMonitoring/src/TileTMDBRawChannelMonitorAlgorithm.cxx index d861aac8e2af..4fe3fa99f48c 100644 --- a/TileCalorimeter/TileMonitoring/src/TileTMDBRawChannelMonitorAlgorithm.cxx +++ b/TileCalorimeter/TileMonitoring/src/TileTMDBRawChannelMonitorAlgorithm.cxx @@ -1,5 +1,5 @@ /* -Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration +Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration */ // Tile includes @@ -96,8 +96,8 @@ StatusCode TileTMDBRawChannelMonitorAlgorithm::fillHistograms( const EventContex std::vector<float> coinThrModules_1Th[TMDB_NUMBER_BARRELS][1][TMDB_NUMBER_LAYERS]; // (EBAxEBC) x Thresholds x (D5 x D5+D6) std::vector<float> coinThrModules_2Th[TMDB_NUMBER_BARRELS][2][TMDB_NUMBER_LAYERS]; // (EBAxEBC) x Thresholds x (D5 x D5+D6) - float TMDB_D6_amplitude[2][64]; // (EBA and EBC) x 64 modules - float TMDB_D56_amplitude[2][64]; // (EBA and EBC) x 64 modules + float TMDB_D6_amplitude[2][64] = {{0}}; // (EBA and EBC) x 64 modules + float TMDB_D56_amplitude[2][64] = {{0}}; // (EBA and EBC) x 64 modules SG::ReadHandle<TileRawChannelContainer> rawContainer(m_rawChannelContainerKey, ctx); for (IdentifierHash hash : rawContainer->GetAllCurrentHashes()) { -- GitLab