ThePEG is hosted by Hepforge, IPPP Durham
ThePEG  2.1.0
ThePEG::HepMCTraits< HepMC::GenEvent > Struct Template Reference

Struct for HepMC conversion. More...

#include <HepMCHelper.h>

Inheritance diagram for ThePEG::HepMCTraits< HepMC::GenEvent >:

Additional Inherited Members

- Public Types inherited from ThePEG::HepMCTraitsBase< HepMC::GenEvent, HepMC::GenParticle, HepMC::GenVertex, HepMC::Polarization, HepMC::PdfInfo >
typedef HepMC::GenParticle ParticleT
 Typedef of the particle class. More...
 
typedef HepMC::GenEvent EventT
 Typedef of the event class. More...
 
typedef HepMC::GenVertex VertexT
 Typedef of the vertex class. More...
 
typedef HepMC::Polarization PolarizationT
 Typedef of the polarization class. More...
 
typedef HepMC::PdfInfo PdfInfoT
 Typedef of the PdfInfo class. More...
 
- Static Public Member Functions inherited from ThePEG::HepMCTraitsBase< HepMC::GenEvent, HepMC::GenParticle, HepMC::GenVertex, HepMC::Polarization, HepMC::PdfInfo >
static EventTnewEvent (long evno, double weight, const map< string, double > &optionalWeights)
 Create an event object with number evno and weight. More...
 
static void resetEvent (EventT *e, long evno, double weight, const map< string, double > &optionalWeights)
 Reset event weight and number of a re-used GenEvent. More...
 
static bool hasUnits ()
 Return true if this version of HepMC accept user-defined units.
 
static Energy defaultEnergyUnit ()
 Return the energy unit used in the installed version of HepMC.
 
static Length defaultLengthUnit ()
 Return the length unit used in the installed version of HepMC.
 
static Energy momentumUnit (const EventT &e)
 Return the momentum unit used by a given GenEvent object. More...
 
static Length lengthUnit (const EventT &e)
 Return the length unit used by a given GenEvent object. More...
 
static void setUnits (EventT &, Energy, Length)
 Set the units to be used by the given GenEvent object. More...
 
static void setScaleAndAlphas (EventT &e, Energy2 scale, double aS, double aEM, Energy unit)
 Set the scale, $\alpha_S$ (aS) and $\alpha_{EM}$ (aEM) for the event e. More...
 
static void setSignalProcessVertex (EventT &e, VertexT *v)
 Set the primary vertex, v, for the event e. More...
 
static void addVertex (EventT &e, VertexT *v)
 Set a vertex, v, for the event e. More...
 
static ParticleTnewParticle (const Lorentz5Momentum &p, long id, int status, Energy unit)
 Create a new particle object with momentum p, PDG number id and status code status. More...
 
static void setPolarization (ParticleT &genp, double the, double phi)
 Set the polarization directions, the and phi, for particle p. More...
 
static void setColourLine (ParticleT &p, int indx, int coline)
 Set the colour line (with index indx) to coline for particle p. More...
 
static VertexTnewVertex ()
 Create a new vertex. More...
 
static void addIncoming (VertexT &v, ParticleT *p)
 Add an incoming particle, p, to the vertex, v. More...
 
static void addOutgoing (VertexT &v, ParticleT *p)
 Add an outgoing particle, p, to the vertex, v. More...
 
static void setPosition (VertexT &v, const LorentzPoint &p, Length unit)
 Set the position p for the vertex, v. More...
 
static void setBeamParticles (EventT &e, ParticleT *p1, ParticleT *p2)
 Set the beam particles for the event. More...
 
static void setPdfInfo (EventT &, int, int, double, double, double, double, double)
 Set the PDF info for the event. More...
 
static void setCrossSection (EventT &, double, double)
 Set the cross section info for the event. More...
 

Detailed Description

template<>
struct ThePEG::HepMCTraits< HepMC::GenEvent >

Struct for HepMC conversion.

Definition at line 23 of file HepMCHelper.h.


The documentation for this struct was generated from the following file: