6#ifndef ATLASHEPMC_GENPARTICLE_H
7#define ATLASHEPMC_GENPARTICLE_H
8#include "HepMC3/GenParticle.h"
9#include "HepMC3/PrintStreams.h"
16inline std::ostream&
operator << (std::ostream& os, GenParticlePtr p) {ConstGenParticlePtr cp = p; Print::line(os, std::move(cp));
return os; }
22 return std::make_shared<HepMC3::GenParticle>(mom, pid,
status);
25 return std::make_shared<const HepMC3::GenParticle>(mom, pid,
status);
29using HepMC3::GenParticle;
std::ostream & operator<<(std::ostream &os, GenParticlePtr p)
Print one-line info with idiomatic C++ printing.
ConstGenParticlePtr newConstGenParticlePtr(const HepMC3::FourVector &mom=HepMC3::FourVector::ZERO_VECTOR(), int pid=0, int status=0)
GenParticlePtr newGenParticlePtr(const HepMC3::FourVector &mom=HepMC3::FourVector::ZERO_VECTOR(), int pid=0, int status=0)
int barcode_or_id(const ConstGenParticlePtr &p)
HepMC3::GenParticlePtr GenParticlePtr
HepMC3::ConstGenParticlePtr ConstGenParticlePtr