HepMC3 event record library
Functions
HepMCCompatibility.h File Reference

Implementation of compatibility layer (in-memory conversion functions) between HePMC2 and HepMC3. More...

#include "HepMC3/GenVertex.h"
#include "HepMC3/GenParticle.h"
#include "HepMC3/GenEvent.h"
#include "HepMC/GenVertex.h"
#include "HepMC/GenParticle.h"
#include "HepMC/GenEvent.h"
+ Include dependency graph for HepMCCompatibility.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

HepMC::GenEvent * ConvertHepMCGenEvent_3to2 (const HepMC3::GenEvent &evt)
 Please note the HEPMC_HAS_CENTRALITY should be defined externaly. More...
 
HepMC3::GenEventConvertHepMCGenEvent_2to3 (const HepMC::GenEvent &evt, std::shared_ptr< HepMC3::GenRunInfo > run)
 

Detailed Description

Implementation of compatibility layer (in-memory conversion functions) between HePMC2 and HepMC3.

Definition in file HepMCCompatibility.h.

Function Documentation

◆ ConvertHepMCGenEvent_2to3()

HepMC3::GenEvent* ConvertHepMCGenEvent_2to3 ( const HepMC::GenEvent &  evt,
std::shared_ptr< HepMC3::GenRunInfo run 
)

◆ ConvertHepMCGenEvent_3to2()

HepMC::GenEvent* ConvertHepMCGenEvent_3to2 ( const HepMC3::GenEvent evt)