hej is hosted by Hepforge, IPPP Durham
HEJ 2.2.2
High energy resummation for hadron colliders
Loading...
Searching...
No Matches
HEJ::detail_HepMC Namespace Reference

Namespaces

namespace  status_codes
 

Classes

struct  HepMCVersion
 

Typedefs

using Status = status_codes::Status
 

Functions

template<class FourVector >
FourVector to_FourVector (Particle const &sp)
 Convert Particle to HepMC 4-vector (x,y,z,E) More...
 
template<int V>
GenEvent< V > HepMC_init_kinematics (Event const &event, Beam< V > const &beam, GenEvent< V > &&out_ev)
 Template class to initialise the kinematics for HepMC. More...
 

Helper classes/functions

Have to be implemented for each HepMC version V

template<int V>
using GenEvent = typename HepMCVersion< V >::GenEvent
 
template<int V>
using Beam = typename HepMCVersion< V >::Beam
 
template<int V>
auto make_particle_ptr (Particle const &sp, int status)
 Make HepMC particle. More...
 
template<int V>
auto make_vx_ptr ()
 Make HepMC vetex. More...
 

Typedef Documentation

◆ Beam

template<int V>
using HEJ::detail_HepMC::Beam = typedef typename HepMCVersion<V>::Beam

◆ GenEvent

template<int V>
using HEJ::detail_HepMC::GenEvent = typedef typename HepMCVersion<V>::GenEvent

◆ Status

Function Documentation

◆ HepMC_init_kinematics()

template<int V>
GenEvent< V > HEJ::detail_HepMC::HepMC_init_kinematics ( Event const &  event,
Beam< V > const &  beam,
GenEvent< V > &&  out_ev 
)

Template class to initialise the kinematics for HepMC.

Template Parameters
VHepMC major version
Parameters
eventHEJ event
beambeam particles
out_evnew HepMC event

◆ make_particle_ptr()

template<int V>
auto HEJ::detail_HepMC::make_particle_ptr ( Particle const &  sp,
int  status 
)

Make HepMC particle.

◆ make_vx_ptr()

template<int V>
auto HEJ::detail_HepMC::make_vx_ptr ( )

Make HepMC vetex.

◆ to_FourVector()

template<class FourVector >
FourVector HEJ::detail_HepMC::to_FourVector ( Particle const &  sp)

Convert Particle to HepMC 4-vector (x,y,z,E)