thepeg is hosted by Hepforge, IPPP Durham
ThePEG  2.2.1
ThePEG::HepMCTraits< HepMCEventT > Struct Template Reference

The HepMCTraits class is used to deal with different flavours of HepMC in the HepMCConverter class. More...

#include <HepMCTraits.h>

Detailed Description

template<typename HepMCEventT>
struct ThePEG::HepMCTraits< HepMCEventT >

The HepMCTraits class is used to deal with different flavours of HepMC in the HepMCConverter class.

To use the HepMCConverter class for any flavour of HepMC you have to specialize the HepMCTraits class accordingly, possibly inheriting the functionality from the HepMCTraitsBase class and only overriding the functions and typedefs which are different. For the CLHEP flavour of HepMC you only need to do template<> struct HepMCTraits<HepMC::GenEvent>: public HepMCTraitsBase<HepMC::GenEvent,HepMC::GenParticle,HepMC::GenVertex, HepMC::Polarization,HepMC::PdfInfo> {}; somewhere inside the ThePEG namespace.

Definition at line 350 of file HepMCTraits.h.


The documentation for this struct was generated from the following file: