This is the declaration of the GenEventConverter class.
The GenEventConverter defines only one public static function which converts a Pythia7::Event object to a HepMC::GenEvent. All mother-daughter relationships and colour information is preserved.
CLASS
GenEventConverter
STRUCT
Vertex
GenEventConverter(const Event & ev);
The only proper constructor is private. The class is only
instantiated within the convert method.
GenEventConverter();
GenEventConverter(const GenEventConverter &);
GenEventConverter & operator=(const GenEventConverter &);
These are unimplemented and private and should never be used.
GenParticle * createParticle(tcPPtr p) const;
Create a GenParticle from a Pythia7 Particle.
void join(tcPPtr parent, tcPPtr child);
Join the decay vertex of the parent with the decay vertex of the
child.
GenVertex * createVertex(Vertex * v);
Create a GenVertex from a temporary Vertex.
GenEvent * geneve;
The constructed GenEvent.
ParticleMap pmap;
The translation table between the Pythia7 particles and the
GenParticles.
FlowMap flowmap;
Thetranslation table between Pythia7 ColourLine objects and HepMC
Flow indices.
vector<Vertex> vertices;
All temporary vertices created.
VertexMap prov;
VertexMap decv;
The mapping of particles to their production and decy vertices.
GenVertexMap vmap;
The mapping between our vertices and the created GenVertex Objects.