#include <EventConfig.h>
Static Public Member Functions | |
static void | putHandler (PersistentOStream &os, tcEventBasePtr h) |
Write a handler object to a persistent stream. | |
static void | getHandler (PersistentIStream &is, tcEventBasePtr &h) |
Read a handler object from a persistent stream. | |
static void | putParticleData (PersistentOStream &os, tcEventPDPtr pd) |
Write a ParticleData object to a persistent stream. | |
static void | getParticleData (PersistentIStream &is, cEventPDPtr &pd) |
Read a ParticleData object from a persistent stream. | |
static string | nameHandler (tcEventBasePtr h) |
Return the name of a handler object. | |
Static Public Attributes | |
static tcEventBasePtr | currentGenerator |
Optional pointer to the current EventGenerator. |
Definition at line 95 of file EventConfig.h.
static void ThePEG::EventConfig::putHandler | ( | PersistentOStream & | os, | |
tcEventBasePtr | h | |||
) | [static] |
Write a handler object to a persistent stream.
static void ThePEG::EventConfig::getHandler | ( | PersistentIStream & | is, | |
tcEventBasePtr & | h | |||
) | [static] |
Read a handler object from a persistent stream.
static void ThePEG::EventConfig::putParticleData | ( | PersistentOStream & | os, | |
tcEventPDPtr | pd | |||
) | [static] |
Write a ParticleData object to a persistent stream.
static void ThePEG::EventConfig::getParticleData | ( | PersistentIStream & | is, | |
cEventPDPtr & | pd | |||
) | [static] |
Read a ParticleData object from a persistent stream.
static string ThePEG::EventConfig::nameHandler | ( | tcEventBasePtr | h | ) | [static] |
Return the name of a handler object.
Optional pointer to the current EventGenerator.
If currentGenerator is set during persistent output, only the PDG number of a particle type is written rather than the full ParticleData object. Also only the name of handlers is written rather than the full objects. When this is read back in again, the currentGenerator must be set so that conversion from name/number back to objects can be done.
Definition at line 106 of file EventConfig.h.