diff --git a/test/hepmc/edm4hep_testhepmc.cc b/test/hepmc/edm4hep_testhepmc.cc index 163bdb9c6..e9b408e30 100644 --- a/test/hepmc/edm4hep_testhepmc.cc +++ b/test/hepmc/edm4hep_testhepmc.cc @@ -109,7 +109,6 @@ int main() { // Part2: Convert the particles and write to file std::unordered_map hepmcToEdmMap; - unsigned int particle_counter{0}; for (auto particle_i : evt->particles()) { std::cout << "Converting particle with PDG ID: " << particle_i->pdg_id() << std::endl; std::cout << "\t and id: " << particle_i->id() << std::endl; @@ -143,8 +142,6 @@ int main() { hepmcToEdmMap[particle_i->id()].addToDaughters(hepmcToEdmMap[particle_daughter->id()]); } } - - particle_counter++; } auto edm_particle_collection = edm4hep::MCParticleCollection();