21#ifndef EVTHEPMCEVENT_HH
22#define EVTHEPMCEVENT_HH
27#include "HepMC3/GenEvent.h"
28#include "HepMC3/GenParticle.h"
29#include "HepMC3/GenVertex.h"
30#include "HepMC3/Print.h"
31#include "HepMC3/Units.h"
38 const FourVector& mom = FourVector::ZERO_VECTOR(),
int pid = 0,
41 return std::make_shared<HepMC3::GenParticle>( mom, pid, status );
44 const FourVector& pos = FourVector::ZERO_VECTOR() )
46 return std::make_shared<HepMC3::GenVertex>( pos );
49#include "HepMC/GenEvent.h"
50#include "HepMC/GenParticle.h"
51#include "HepMC/GenVertex.h"
52#include "HepMC/SimpleVector.h"
53#include "HepMC/Units.h"
58#define Units HepMC::Units
63 return new HepMC::GenParticle( mom, pid, status );
68 return new HepMC::GenVertex( pos );
HepMC3::GenVertexPtr GenVertexPtr
GenVertexPtr newGenVertexPtr(const FourVector &pos=FourVector::ZERO_VECTOR())
HepMC3::GenEvent GenEvent
GenParticlePtr newGenParticlePtr(const FourVector &mom=FourVector::ZERO_VECTOR(), int pid=0, int status=0)
HepMC3::GenParticlePtr GenParticlePtr
HepMC3::FourVector FourVector
EvtVector4R m_translation
GenParticlePtr createGenParticle(EvtParticle *theParticle, int frameType)
void constructEvent(EvtParticle *baseParticle)
FourVector getVertexCoord(EvtParticle *theParticle)
void addVertex(EvtParticle *inEvtParticle, GenParticlePtr inGenParticle)