13 #include "HepMC/GenEvent.h"
20 using namespace HepMC;
52 evt->
use_units(HepMC::Units::GEV, HepMC::Units::MM);
void set_signal_process_vertex(GenVertex *)
set pointer to the vertex containing the signal process
void add_particle_in(GenParticle *inparticle)
add incoming particle
GenVertex contains information about decay vertices.
The GenEvent class is the core of HepMC.
void add_particle_out(GenParticle *outparticle)
add outgoing particle
bool add_vertex(GenVertex *vtx)
adds to evt and adopts
void print(std::ostream &ostr=std::cout) const
dumps to ostr
FourVector is a simple representation of a physics 4 vector.
void use_units(Units::MomentumUnit, Units::LengthUnit)
The GenParticle class contains information about generated particles.