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.
friend std::ostream & operator<<(std::ostream &stream, const HepMCParticle &particle)
Overloaded stream operator.
std::shared_ptr< HepMC3::GenParticle > getGenParticle() const
Get the underlying HepMC3 GenParticle.