|
HepMC Reference DocumentationHepMC |
#include <IO_BaseClass.h>
Inheritance diagram for HepMC::IO_BaseClass:

Public Member Functions | |
| virtual | ~IO_BaseClass () |
| virtual void | write_event (const GenEvent *)=0 |
| write this GenEvent | |
| virtual bool | fill_next_event (GenEvent *)=0 |
| fill this GenEvent | |
| virtual void | print (std::ostream &ostr=std::cout) const |
| write output to ostr | |
| GenEvent * | read_next_event () |
| do not over-ride | |
| virtual GenEvent *& | operator>> (GenEvent *&) |
| the same as read_next_event | |
| virtual const GenEvent *& | operator<< (const GenEvent *&) |
| the same as write_event | |
| virtual GenEvent *& | operator<< (GenEvent *&) |
| the same as write_event | |
If you want to write a new IO class, then inherit from this class and re-define read_event() and write_event()
Definition at line 34 of file IO_BaseClass.h.
| virtual HepMC::IO_BaseClass::~IO_BaseClass | ( | ) | [inline, virtual] |
Definition at line 36 of file IO_BaseClass.h.
| virtual bool HepMC::IO_BaseClass::fill_next_event | ( | GenEvent * | ) | [pure virtual] |
fill this GenEvent
Implemented in HepMC::IO_AsciiParticles, HepMC::IO_GenEvent, HepMC::IO_HEPEVT, and HepMC::IO_HERWIG.
Referenced by read_next_event().
the same as read_next_event
Definition at line 94 of file IO_BaseClass.h.
References read_next_event().
| void HepMC::IO_BaseClass::print | ( | std::ostream & | ostr = std::cout |
) | const [inline, virtual] |
write output to ostr
Reimplemented in HepMC::IO_AsciiParticles, HepMC::IO_GenEvent, HepMC::IO_HEPEVT, and HepMC::IO_HERWIG.
Definition at line 90 of file IO_BaseClass.h.
| GenEvent * HepMC::IO_BaseClass::read_next_event | ( | ) | [inline] |
do not over-ride
creates a new event and fills it by calling the sister method read_next_event( GenEvent* )
Definition at line 74 of file IO_BaseClass.h.
References fill_next_event().
Referenced by event_selection(), main(), operator>>(), pythia_in(), pythia_in_out(), pythia_out(), pythia_particle_out(), and writePythiaStreamIO().
| virtual void HepMC::IO_BaseClass::write_event | ( | const GenEvent * | ) | [pure virtual] |
write this GenEvent
Implemented in HepMC::IO_AsciiParticles, HepMC::IO_GenEvent, and HepMC::IO_HEPEVT.
Referenced by operator<<().
1.4.7