ThePEG 2.3.0
|
Struct for HepMC conversion. More...
#include <HepMCHelper.h>
Additional Inherited Members | |
Public Types inherited from ThePEG::HepMCTraitsBase< HepMC::GenEvent, HepMC::GenParticle, HepMC::GenParticle *, HepMC::GenVertex, HepMC::GenVertex *, HepMC::Polarization, HepMC::PdfInfo > | |
typedef HepMC::GenParticle | ParticleT |
Typedef of the particle class. | |
typedef HepMC::GenEvent | EventT |
Typedef of the event class. | |
typedef HepMC::GenVertex | VertexT |
Typedef of the vertex class. | |
typedef HepMC::Polarization | PolarizationT |
Typedef of the polarization class. | |
typedef HepMC::PdfInfo | PdfInfoT |
Typedef of the PdfInfo class. | |
typedef HepMC::GenParticle * | ParticlePtrT |
Typedef of a particle pointer. | |
typedef HepMC::GenVertex * | VertexPtrT |
Typedef of a vertex pointer. | |
Static Public Member Functions inherited from ThePEG::HepMCTraitsBase< HepMC::GenEvent, HepMC::GenParticle, HepMC::GenParticle *, HepMC::GenVertex, HepMC::GenVertex *, HepMC::Polarization, HepMC::PdfInfo > | |
static EventT * | newEvent (long evno, double weight, const map< string, double > &optionalWeights) |
Create an event object with number evno and weight. | |
static void | resetEvent (EventT *e, long evno, double weight, const map< string, double > &optionalWeights) |
Reset event weight and number of a re-used GenEvent. | |
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. | |
static Length | lengthUnit (const EventT &e) |
Return the length unit used by a given GenEvent object. | |
static void | setUnits (EventT &, Energy, Length) |
Set the units to be used by the given GenEvent object. | |
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. | |
static void | setSignalProcessVertex (EventT &e, VertexPtrT v) |
Set the primary vertex, v, for the event e. | |
static void | addVertex (EventT &e, VertexPtrT v) |
Set a vertex, v, for the event e. | |
static ParticlePtrT | newParticle (const Lorentz5Momentum &p, long id, int status, Energy unit) |
Create a new particle object with momentum p, PDG number id and status code status. | |
static void | setPolarization (ParticleT &genp, double the, double phi) |
Set the polarization directions, the and phi, for particle p. | |
static void | setColourLine (ParticleT &p, int indx, int coline) |
Set the colour line (with index indx) to coline for particle p. | |
static VertexPtrT | newVertex () |
Create a new vertex. | |
static void | addIncoming (VertexT &v, ParticlePtrT p) |
Add an incoming particle, p, to the vertex, v. | |
static void | addOutgoing (VertexT &v, ParticlePtrT p) |
Add an outgoing particle, p, to the vertex, v. | |
static void | setPosition (VertexT &v, const LorentzPoint &p, Length unit) |
Set the position p for the vertex, v. | |
static void | setBeamParticles (EventT &e, ParticlePtrT p1, ParticlePtrT p2) |
Set the beam particles for the event. | |
static void | setPdfInfo (EventT &, int, int, double, double, double, double, double) |
Set the PDF info for the event. | |
static void | setCrossSection (EventT &, double, double) |
Set the cross section info for the event. | |
Struct for HepMC conversion.
Definition at line 53 of file HepMCHelper.h.