From 024a69639af35396d0e6feb14ea437f779eaa132 Mon Sep 17 00:00:00 2001 From: scott snyder <scott.snyder@cern.ch> Date: Tue, 13 Nov 2018 17:20:58 +0100 Subject: [PATCH] MuonRPC_CnvTools: Fix uninitialized class member. Fixes crash seen in reco. --- .../MuonCnv/MuonRPC_CnvTools/src/RpcRdoToPrepDataTool.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/MuonSpectrometer/MuonCnv/MuonRPC_CnvTools/src/RpcRdoToPrepDataTool.cxx b/MuonSpectrometer/MuonCnv/MuonRPC_CnvTools/src/RpcRdoToPrepDataTool.cxx index 3748776cc11..d481fdac6d2 100755 --- a/MuonSpectrometer/MuonCnv/MuonRPC_CnvTools/src/RpcRdoToPrepDataTool.cxx +++ b/MuonSpectrometer/MuonCnv/MuonRPC_CnvTools/src/RpcRdoToPrepDataTool.cxx @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration */ @@ -85,7 +85,8 @@ Muon::RpcRdoToPrepDataTool::RpcRdoToPrepDataTool( const std::string& type, const declareProperty("OutputCollection", m_rdoContainerKey = std::string("RPCPAD"),"RpcPadContainer to retrieve"); declareProperty("TriggerOutputCollection", m_rpcPrepDataContainerKey = std::string("RPC_Measurements"),"Muon::RpcPrepDataContainer to record"); declareProperty("InputCollection", m_rpcCoinDataContainerKey = std::string("RPC_triggerHits"),"Muon::RpcCoinDataContainer to record"); - + + m_rpcCoinDataContainer = nullptr; } //___________________________________________________________________________ -- GitLab