Class defining a single particle record in a HepMC event.
Wrapper class for HepMC3::GenParticle.
double getMomentum(int index) const
Get a momentum component by index.
std::shared_ptr< HepMC3::GenParticle > particle_
The underlying HepMC3 GenParticle.
void print() const
Print particle information to an output stream.
HepMCParticle(std::shared_ptr< HepMC3::GenParticle > particle)
Class constructor.
std::shared_ptr< HepMC3::GenParticle > getGenParticle() const
Get the underlying HepMC3 GenParticle.