Skip to content
Snippets Groups Projects
Commit 79447c84 authored by Volker Friese's avatar Volker Friese
Browse files

Fix bug in STS reco with incorrect indices of digis in time-based reconstruction mode.

parent 48004ec4
No related branches found
No related tags found
1 merge request!51Fix bug in STS reco with incorrect indices of digis in time-based reconstruction mode.
......@@ -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++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment