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 256 of file HepMCTraits.h.


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

Generated on Thu Apr 29 12:43:25 2010 for ThePEG by  doxygen 1.5.5