|
ThePEG
1.8.0
|
The HepMCConverter defines only one public static function which converts a ThePEG::Event object to a HepMC::GenEvent.
More...
#include <HepMCConverter.h>
Classes | |
| struct | Vertex |
| Help class to represent a temporary vertex which can be converted to a GenVertex. More... | |
Public Types | |
| typedef Traits::ParticleT | GenParticle |
| Forward typedefs from Traits class. More... | |
| typedef Traits::EventT | GenEvent |
| Forward typedefs from Traits class. More... | |
| typedef Traits::VertexT | GenVertex |
| Forward typedefs from Traits class. More... | |
| typedef Traits::PdfInfoT | PdfInfo |
| Forward typedefs from Traits class. More... | |
| typedef map< tcPPtr, GenParticle * > | ParticleMap |
| Map ThePEG particles to HepMC particles. More... | |
| typedef map< tcColinePtr, long > | FlowMap |
| Map ThePEG colour lines to HepMC colour indices. More... | |
| typedef map< tcPPtr, Vertex * > | VertexMap |
| Map ThePEG particles to vertices. More... | |
| typedef map< const Vertex *, GenVertex * > | GenVertexMap |
| Map vertices to GenVertex. | |
Static Public Member Functions | |
| static GenEvent * | convert (const Event &ev, bool nocopies=false, Energy eunit=Traits::defaultEnergyUnit(), Length lunit=Traits::defaultLengthUnit()) |
| Convert a ThePEG::Event to a HepMC::GenEvent. More... | |
| static void | convert (const Event &ev, GenEvent &gev, bool nocopies, Energy eunit, Length lunit) |
| Convert a ThePEG::Event to a HepMC::GenEvent. More... | |
| static void | convert (const Event &ev, GenEvent &gev, bool nocopies=false) |
| Convert a ThePEG::Event to a HepMC::GenEvent. More... | |
Private Member Functions | |
| HepMCConverter (const Event &ev, bool nocopies, Energy eunit, Length lunit) | |
| The proper constructors are private. More... | |
| HepMCConverter (const Event &ev, GenEvent &gev, bool nocopies, Energy eunit, Length lunit) | |
| The proper constructors are private. More... | |
| void | init (const Event &ev, bool nocopies) |
| Common init function used by the constructors. | |
| HepMCConverter () | |
| Default constructor is unimplemented and private and should never be used. | |
| HepMCConverter (const HepMCConverter &) | |
| Copy constructor is unimplemented and private and should never be used. | |
| HepMCConverter & | operator= (const HepMCConverter &) |
| Assignment is unimplemented and private and should never be used. | |
| GenParticle * | createParticle (tcPPtr p) const |
| Create a GenParticle from a ThePEG 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. | |
| void | setPdfInfo (const Event &e) |
| Create and set a PdfInfo object for the event. | |
Private Attributes | |
| GenEvent * | geneve |
| The constructed GenEvent. | |
| ParticleMap | pmap |
| The translation table between the ThePEG particles and the GenParticles. | |
| FlowMap | flowmap |
| The translation table between ThePEG ColourLine objects and HepMC Flow indices. | |
| vector< Vertex > | vertices |
| All temporary vertices created. | |
| VertexMap | prov |
| The mapping of particles to their production vertices. | |
| VertexMap | decv |
| The mapping of particles to their decy vertices. | |
| GenVertexMap | vmap |
| The mapping between temporary vertices and the created GenVertex Objects. | |
| Energy | energyUnit |
| The energy unit to be used in the GenEvent. | |
| Length | lengthUnit |
| The length unit to be used in the GenEvent. | |
The HepMCConverter defines only one public static function which converts a ThePEG::Event object to a HepMC::GenEvent.
All mother-daughter relationships and colour information is preserved.
Definition at line 32 of file HepMCConverter.h.
| typedef map<tcColinePtr,long> ThePEG::HepMCConverter< HepMCEventT, Traits >::FlowMap |
Map ThePEG colour lines to HepMC colour indices.
Definition at line 63 of file HepMCConverter.h.
| typedef Traits::EventT ThePEG::HepMCConverter< HepMCEventT, Traits >::GenEvent |
Forward typedefs from Traits class.
Definition at line 55 of file HepMCConverter.h.
| typedef Traits::ParticleT ThePEG::HepMCConverter< HepMCEventT, Traits >::GenParticle |
Forward typedefs from Traits class.
Definition at line 53 of file HepMCConverter.h.
| typedef Traits::VertexT ThePEG::HepMCConverter< HepMCEventT, Traits >::GenVertex |
Forward typedefs from Traits class.
Definition at line 57 of file HepMCConverter.h.
| typedef map<tcPPtr,GenParticle*> ThePEG::HepMCConverter< HepMCEventT, Traits >::ParticleMap |
Map ThePEG particles to HepMC particles.
Definition at line 61 of file HepMCConverter.h.
| typedef Traits::PdfInfoT ThePEG::HepMCConverter< HepMCEventT, Traits >::PdfInfo |
Forward typedefs from Traits class.
Definition at line 59 of file HepMCConverter.h.
| typedef map<tcPPtr,Vertex*> ThePEG::HepMCConverter< HepMCEventT, Traits >::VertexMap |
Map ThePEG particles to vertices.
Definition at line 65 of file HepMCConverter.h.
|
private |
The proper constructors are private.
The class is only instantiated within the convert method.
|
private |
The proper constructors are private.
The class is only instantiated within the convert method.
|
static |
Convert a ThePEG::Event to a HepMC::GenEvent.
The caller is responsible for deleting the constructed GenEvent object. If nocopies is true, only final copies of particles connected with Particle::previous() and Particle::next() will be entered in the HepMC::GenEvent. In the GenEvent object, the energy/momentum variables will be in units of eunit and lengths variables in units of lunit.
|
static |
Convert a ThePEG::Event to a HepMC::GenEvent.
The caller supplies a GenEvent object, gev, which will be filled. If nocopies is true, only final copies of particles connected with Particle::previous() and Particle::next() will be entered in the HepMC::GenEvent. In the GenEvent object, the energy/momentum variables will be in units of eunit and lengths variables in units of lunit.
|
static |
Convert a ThePEG::Event to a HepMC::GenEvent.
The caller supplies a GenEvent object, gev, which will be filled. If nocopies is true, only final copies of particles connected with Particle::previous() and Particle::next() will be entered in the HepMC::GenEvent. In the GenEvent object, the energy/momentum variables will be in units of eunit and lengths variables in units of lunit.
1.8.9.1