hej is hosted by Hepforge, IPPP Durham
HEJ 2.2.2
High energy resummation for hadron colliders
Loading...
Searching...
No Matches
HepMCInterface_common.hh File Reference

Template functions shared between HepMC2 and HepMC3. More...

#include "HEJ/Event.hh"
#include "HEJ/Particle.hh"
Include dependency graph for HepMCInterface_common.hh:

Go to the source code of this file.

Namespaces

namespace  HEJ
 Main HEJ 2 Namespace.
 
namespace  HEJ::detail_HepMC
 
namespace  HEJ::detail_HepMC::status_codes
 

Typedefs

using HEJ::detail_HepMC::Status = status_codes::Status
 

Enumerations

enum  HEJ::detail_HepMC::status_codes::Status : unsigned { HEJ::detail_HepMC::status_codes::out = 1 , HEJ::detail_HepMC::status_codes::decay = 2 , HEJ::detail_HepMC::status_codes::beam = 4 , HEJ::detail_HepMC::status_codes::in = 11 }
 Conventional status codes in HepMC. More...
 

Functions

template<class FourVector >
FourVector HEJ::detail_HepMC::to_FourVector (Particle const &sp)
 Convert Particle to HepMC 4-vector (x,y,z,E) More...
 
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. More...
 

Helper classes/functions

Have to be implemented for each HepMC version V

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

Detailed Description

Template functions shared between HepMC2 and HepMC3.

Authors
The HEJ collaboration (see AUTHORS for details)
Date
2019-2020