ThePEG
1.8.0
|
Struct for HepMC conversion. More...
#include <HepMCHelper.h>
Additional Inherited Members | |
![]() | |
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 EventT * | newEvent (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, ![]() ![]() | |
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 ParticleT * | 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. 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 VertexT * | newVertex () |
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... | |
Struct for HepMC conversion.
Definition at line 20 of file HepMCHelper.h.