Skip to content

Commit 3201852

Browse files
mfasDaBarthelemy
authored andcommitted
[EMCAL-530] Trigger setup of lookup table for E-cross cut (#1699)
Lookup table was not re-initialized after the first event, therefore indices point to wrong positions in cell container for consecutive events.
1 parent 02c7af9 commit 3201852

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Modules/EMCAL/src/ClusterTask.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,7 @@ void ClusterTask::analyseTimeframe(const gsl::span<const o2::emcal::Cell>& cells
467467
mClusterFactory->setClustersContainer(inputEvent.mClusters);
468468
mClusterFactory->setCellsContainer(inputEvent.mCells);
469469
mClusterFactory->setCellsIndicesContainer(inputEvent.mCellIndices);
470+
mClusterFactory->setLookUpTable();
470471
std::fill(numberOfClustersSupermodule.begin(), numberOfClustersSupermodule.end(), 0);
471472
std::for_each(maxClusterSupermodule.begin(), maxClusterSupermodule.end(), resetMaxCluster);
472473
std::for_each(maxClusterDets.begin(), maxClusterDets.end(), resetMaxCluster);

0 commit comments

Comments
 (0)