File indexing completed on 2024-10-08 05:12:04
0001 #include <HepMC/GenParticle.h>
0002 #include <HepMC/GenVertex.h>
0003 #include <iostream>
0004
0005
0006
0007
0008 namespace HepMC {
0009 class GenEvent {
0010 public:
0011 static void clear_particles_in(HepMC::GenVertex* iVertex) { iVertex->m_particles_in.clear(); }
0012 static void add_to_particles_in(HepMC::GenVertex* iVertex, HepMC::GenParticle* iPart) {
0013 iVertex->m_particles_in.push_back(iPart);
0014 }
0015 };
0016 }
0017
0018 namespace hepmc_rootio {
0019 void add_to_particles_in(HepMC::GenVertex* iVertex, HepMC::GenParticle* iPart) {
0020 HepMC::GenEvent::add_to_particles_in(iVertex, iPart);
0021 }
0022
0023 void clear_particles_in(HepMC::GenVertex* iVertex) { HepMC::GenEvent::clear_particles_in(iVertex); }
0024 }