HepMC3 event record library: HEPEVT_Helpers.h File Reference

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 | GenParticlePtr_greater
struct | pair_GenVertexPtr_int_greater
| Order vertices with equal paths. More...

## Namespaces
namespace | 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.
template<class T>
bool | HEPEVT_to_GenEvent_nonstatic (GenEvent *evt, T *A)
| Converts HEPEVT into GenEvent.
template<class T>
bool | GenEvent_to_HEPEVT_nonstatic (const GenEvent *evt, T *A)
| Converts GenEvent into HEPEVT.
template<class T>
bool | HEPEVT_to_GenEvent_static (GenEvent *evt)
| Converts HEPEVT into GenEvent.
template<class T>
bool | GenEvent_to_HEPEVT_static (const GenEvent *evt)
| Converts GenEvent into HEPEVT.

## Macro Definition Documentation

## ◆ HEPMC3_EXPORT_API

#define HEPMC3_EXPORT_API

Definition at line 20 of file HEPEVT_Helpers.h.