Skip to content

Commit eb82852

Browse files
committed
Reset mParticles before filled with new set of particles
1 parent f76f1a7 commit eb82852

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Generators/src/GeneratorHepMC.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ Bool_t GeneratorHepMC::importParticles()
286286
}
287287

288288
/** loop over particles **/
289+
mParticles.clear();
289290
auto particles = mEvent->particles();
290291
for (int i = 0; i < particles.size(); ++i) {
291292

0 commit comments

Comments
 (0)