Skip to content

Commit

Permalink
Bug fix in ReconstructedParticle::remove (a break statement had been …
Browse files Browse the repository at this point in the history
…commented, to deal with cases where the collections contain several instances of the same object, but that would require to revisit the logics)
  • Loading branch information
EmanuelPerez committed Mar 7, 2022
1 parent a3d9ddf commit 81b22fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analyzers/dataframe/ReconstructedParticle.cc
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> ReconstructedParticle::re
abs(py1-py2) < epsilon &&
abs(pz1-pz2) < epsilon ) {
result.erase(it);
//break;
break;
}
}
}
Expand Down

0 comments on commit 81b22fb

Please sign in to comment.