From 79447c8419915a9baf9e620ed208c1b1f28db717 Mon Sep 17 00:00:00 2001 From: Volker Friese <v.friese@gsi.de> Date: Thu, 6 Aug 2020 14:43:31 +0200 Subject: [PATCH] Fix bug in STS reco with incorrect indices of digis in time-based reconstruction mode. --- reco/detectors/sts/CbmRecoSts.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/reco/detectors/sts/CbmRecoSts.cxx b/reco/detectors/sts/CbmRecoSts.cxx index 15956d5a..04c68d8a 100644 --- a/reco/detectors/sts/CbmRecoSts.cxx +++ b/reco/detectors/sts/CbmRecoSts.cxx @@ -383,7 +383,7 @@ void CbmRecoSts::ProcessData(CbmEvent* event) { assert(it != fModules.end()); CbmStsRecoModule* module = it->second; assert(module); - module->AddDigiToQueue(digi, iDigi); + module->AddDigiToQueue(digi, digiIndex); } fTimer.Stop(); Double_t time2 = fTimer.RealTime(); // Time for digi distribution @@ -407,8 +407,6 @@ void CbmRecoSts::ProcessData(CbmEvent* event) { // The output shall eventually be tailored to provide the proper // input for further reconstruction (track finding). fTimer.Start(); - fClusters->Delete(); - fHits->Delete(); ULong64_t offsetClustersF = 0; ULong64_t offsetClustersB = 0; for (UInt_t it = 0; it < fModuleIndex.size(); it++) { -- GitLab