diff --git a/HighGranularityTimingDetector/HGTD_Reconstruction/HGTD_RecToolInterfaces/HGTD_RecToolInterfaces/IHGTD_TrackTimeExtensionTool.h b/HighGranularityTimingDetector/HGTD_Reconstruction/HGTD_RecToolInterfaces/HGTD_RecToolInterfaces/IHGTD_TrackTimeExtensionTool.h index fbf5aef2e5db1eabb80c39d268aeeef1b0e7ddd2..88a82bd43d8f4ada7ce8df26bf863127883e080c 100644 --- a/HighGranularityTimingDetector/HGTD_Reconstruction/HGTD_RecToolInterfaces/HGTD_RecToolInterfaces/IHGTD_TrackTimeExtensionTool.h +++ b/HighGranularityTimingDetector/HGTD_Reconstruction/HGTD_RecToolInterfaces/HGTD_RecToolInterfaces/IHGTD_TrackTimeExtensionTool.h @@ -34,7 +34,7 @@ struct ExtensionObject { std::array<std::unique_ptr<const Trk::TrackStateOnSurface>, 4> m_hits; // truth info about primary hits left by the truth particles // is kept independent of them being found during the track extension - std::array<const HGTD_Cluster*, 4> m_truth_primary_hits; + std::array<const HGTD_Cluster*, 4> m_truth_primary_hits = {nullptr, nullptr, nullptr, nullptr}; std::array<HGTD::ClusterTruthInfo, 4> m_truth_primary_info; // point of extrapolation on HGTD layer closest to IP float m_extrap_x = 0;