HepMC3 event record library
Data Structures | Namespaces | Macros | Functions
HEPEVT_Helpers.h File Reference

Detailed Description

Helper functions used to manipulate with HEPEVT block.

Definition in file HEPEVT_Helpers.h.

#include <algorithm>
#include <map>
#include "HepMC3/GenEvent.h"
#include "HepMC3/GenParticle.h"
#include "HepMC3/GenVertex.h"
+ Include dependency graph for HEPEVT_Helpers.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  HEPEVT_Templated< max_particles, momentum_type >
 C structure representing Fortran common block HEPEVT T. Sjöstrand et al., "A proposed standard event record", in `Z physics at LEP 1', eds. G. Altarelli, R. Kleiss and C. Verzegnassi, Geneva, Switzerland, September 4-5, 1989, CERN 89-08 (Geneva, 1989), Vol. 3, p. 327 Disk representation is given by Fortran WRITE/READ format. More...
 
struct  HEPEVT_Pointers< momentum_type >
 C structure representing Fortran common block HEPEVT T. Sjöstrand et al., "A proposed standard event record", in `Z physics at LEP 1', eds. G. Altarelli, R. Kleiss and C. Verzegnassi, Geneva, Switzerland, September 4-5, 1989, CERN 89-08 (Geneva, 1989), Vol. 3, p. 327 Disk representation is given by Fortran WRITE/READ format. More...
 
struct  GenParticlePtr_greater
 comparison of two particles More...
 
struct  pair_GenVertexPtr_int_greater
 Order vertices with equal paths. More...
 

Namespaces

 HepMC3
 HepMC3 main namespace.
 

Functions

void calculate_longest_path_to_top (ConstGenVertexPtr v, std::map< ConstGenVertexPtr, int > &pathl)
 Calculates the path to the top (beam) particles. More...
 
template<class T >
bool HEPEVT_to_GenEvent_nonstatic (GenEvent *evt, T *A)
 Converts HEPEVT into GenEvent. More...
 
template<class T >
bool GenEvent_to_HEPEVT_nonstatic (const GenEvent *evt, T *A)
 Converts GenEvent into HEPEVT. More...
 
template<class T >
bool HEPEVT_to_GenEvent_static (GenEvent *evt)
 Converts HEPEVT into GenEvent. More...
 
template<class T >
bool GenEvent_to_HEPEVT_static (const GenEvent *evt)
 Converts GenEvent into HEPEVT. More...