Skip to content
Snippets Groups Projects
Commit caa8dd0f authored by Jean-Baptiste De Vivie De Regie's avatar Jean-Baptiste De Vivie De Regie
Browse files

Merge branch 'iter24.eflowRec-20241214' into '24.0'

eflowRec: Fix use of invalid iterators.

See merge request !76712
parents 0ed6be1b d11ec738
No related branches found
No related tags found
2 merge requests!767772024-12-16: merge of 24.0 into main,!76712eflowRec: Fix use of invalid iterators.
/*
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
*/
/*
......@@ -91,13 +91,8 @@ Subtractor::annihilateCluster(xAOD::CaloCluster* cluster)
{
CaloClusterCellLink* theCellLink = cluster->getOwnCellLinks();
CaloClusterCellLink::iterator theFirstCell = theCellLink->begin();
CaloClusterCellLink::iterator theLastCell = theCellLink->end();
for (; theFirstCell != theLastCell; ++theFirstCell)
theCellLink->removeCell(theFirstCell);
theCellLink->clear();
cluster->setE(0.0);
cluster->setRawE(0.0);
CaloClusterKineHelper::calculateKine(cluster, true, true);
......
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