HepMC3 event record library
|
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"
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 | |
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. | |
#define HEPMC3_EXPORT_API |
Definition at line 20 of file HEPEVT_Helpers.h.