From 81b22fb0c0b5908a9e3f3c6e70f8644217b4a300 Mon Sep 17 00:00:00 2001 From: Perez Date: Mon, 7 Mar 2022 15:48:34 +0100 Subject: [PATCH] Bug fix in ReconstructedParticle::remove (a break statement had been commented, to deal with cases where the collections contain several instances of the same object, but that would require to revisit the logics) --- analyzers/dataframe/ReconstructedParticle.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analyzers/dataframe/ReconstructedParticle.cc b/analyzers/dataframe/ReconstructedParticle.cc index f6ea89af6c..c50979cecb 100644 --- a/analyzers/dataframe/ReconstructedParticle.cc +++ b/analyzers/dataframe/ReconstructedParticle.cc @@ -209,7 +209,7 @@ ROOT::VecOps::RVec ReconstructedParticle::re abs(py1-py2) < epsilon && abs(pz1-pz2) < epsilon ) { result.erase(it); - //break; + break; } } }