#include <CommonIO.h>
Public Member Functions | |
CommonIO () | |
~CommonIO () | |
std::string | IO_GenEvent_Key () const |
std::string | IO_GenEvent_End () const |
std::string | IO_Ascii_Key () const |
std::string | IO_Ascii_End () const |
std::string | IO_ExtendedAscii_Key () const |
std::string | IO_ExtendedAscii_End () const |
int | io_type () const |
get IO type | |
void | write_IO_GenEvent_Key (std::ostream &) |
void | write_IO_GenEvent_End (std::ostream &) |
void | write_IO_Ascii_Key (std::ostream &) |
void | write_IO_Ascii_End (std::ostream &) |
void | write_IO_ExtendedAscii_Key (std::ostream &) |
void | write_IO_ExtendedAscii_End (std::ostream &) |
void | write_IO_Ascii_PDT_Key (std::ostream &) |
void | write_IO_Ascii_PDT_End (std::ostream &) |
void | write_IO_ExtendedAscii_PDT_Key (std::ostream &) |
void | write_IO_ExtendedAscii_PDT_End (std::ostream &) |
int | find_file_type (std::istream &) |
look for line type (key) | |
int | find_end_key (std::istream &) |
look for line type (key) | |
bool | read_io_ascii (std::istream *is, GenEvent *evt) |
bool | read_io_extendedascii (std::istream *is, GenEvent *evt) |
bool | read_io_genevent (std::istream *is, GenEvent *evt) |
bool | read_io_particle_data_table (std::istream *, ParticleDataTable *) |
ParticleDataTable is deprecated. | |
Protected Member Functions | |
HeavyIon * | read_heavy_ion (std::istream *) |
PdfInfo * | read_pdf_info (std::istream *) |
GenParticle * | read_particle (std::istream *, TempParticleMap &) |
GenVertex * | read_vertex (std::istream *, TempParticleMap &) |
ParticleData * | read_particle_data (std::istream *, ParticleDataTable *) |
ParticleDataTable is deprecated. | |
Private Attributes | |
std::string | m_io_genevent_start |
std::string | m_io_ascii_start |
std::string | m_io_extendedascii_start |
std::string | m_io_genevent_end |
std::string | m_io_ascii_end |
std::string | m_io_extendedascii_end |
std::string | m_io_ascii_pdt_start |
std::string | m_io_extendedascii_pdt_start |
std::string | m_io_ascii_pdt_end |
std::string | m_io_extendedascii_pdt_end |
int | m_io_type |
Definition at line 24 of file CommonIO.h.
HepMC::CommonIO::CommonIO | ( | ) | [inline] |
Definition at line 104 of file CommonIO.h.
00105 : m_io_genevent_start("HepMC::IO_GenEvent-START_EVENT_LISTING"), 00106 m_io_ascii_start("HepMC::IO_Ascii-START_EVENT_LISTING"), 00107 m_io_extendedascii_start("HepMC::IO_ExtendedAscii-START_EVENT_LISTING"), 00108 m_io_genevent_end("HepMC::IO_GenEvent-END_EVENT_LISTING"), 00109 m_io_ascii_end("HepMC::IO_Ascii-END_EVENT_LISTING"), 00110 m_io_extendedascii_end("HepMC::IO_ExtendedAscii-END_EVENT_LISTING"), 00111 m_io_ascii_pdt_start("HepMC::IO_Ascii-START_PARTICLE_DATA"), 00112 m_io_extendedascii_pdt_start("HepMC::IO_ExtendedAscii-START_PARTICLE_DATA"), 00113 m_io_ascii_pdt_end("HepMC::IO_Ascii-END_PARTICLE_DATA"), 00114 m_io_extendedascii_pdt_end("HepMC::IO_ExtendedAscii-END_PARTICLE_DATA"), 00115 m_io_type(0) 00116 {}
HepMC::CommonIO::~CommonIO | ( | ) | [inline] |
std::string HepMC::CommonIO::IO_GenEvent_Key | ( | ) | const [inline] |
std::string HepMC::CommonIO::IO_GenEvent_End | ( | ) | const [inline] |
std::string HepMC::CommonIO::IO_Ascii_Key | ( | ) | const [inline] |
std::string HepMC::CommonIO::IO_Ascii_End | ( | ) | const [inline] |
std::string HepMC::CommonIO::IO_ExtendedAscii_Key | ( | ) | const [inline] |
std::string HepMC::CommonIO::IO_ExtendedAscii_End | ( | ) | const [inline] |
int HepMC::CommonIO::io_type | ( | ) | const [inline] |
void HepMC::CommonIO::write_IO_GenEvent_Key | ( | std::ostream & | ) | [inline] |
void HepMC::CommonIO::write_IO_GenEvent_End | ( | std::ostream & | ) | [inline] |
void HepMC::CommonIO::write_IO_Ascii_Key | ( | std::ostream & | ) | [inline] |
void HepMC::CommonIO::write_IO_Ascii_End | ( | std::ostream & | ) | [inline] |
void HepMC::CommonIO::write_IO_ExtendedAscii_Key | ( | std::ostream & | ) | [inline] |
void HepMC::CommonIO::write_IO_ExtendedAscii_End | ( | std::ostream & | ) | [inline] |
void HepMC::CommonIO::write_IO_Ascii_PDT_Key | ( | std::ostream & | ) | [inline] |
void HepMC::CommonIO::write_IO_Ascii_PDT_End | ( | std::ostream & | ) | [inline] |
void HepMC::CommonIO::write_IO_ExtendedAscii_PDT_Key | ( | std::ostream & | ) | [inline] |
void HepMC::CommonIO::write_IO_ExtendedAscii_PDT_End | ( | std::ostream & | ) | [inline] |
int HepMC::CommonIO::find_file_type | ( | std::istream & | ) |
look for line type (key)
int HepMC::CommonIO::find_end_key | ( | std::istream & | ) |
look for line type (key)
bool HepMC::CommonIO::read_io_ascii | ( | std::istream * | is, | |
GenEvent * | evt | |||
) |
bool HepMC::CommonIO::read_io_extendedascii | ( | std::istream * | is, | |
GenEvent * | evt | |||
) |
bool HepMC::CommonIO::read_io_genevent | ( | std::istream * | is, | |
GenEvent * | evt | |||
) |
bool HepMC::CommonIO::read_io_particle_data_table | ( | std::istream * | , | |
ParticleDataTable * | ||||
) |
ParticleDataTable is deprecated.
We include this method for reading old files which may have ParticleData information.
HeavyIon* HepMC::CommonIO::read_heavy_ion | ( | std::istream * | ) | [protected] |
PdfInfo* HepMC::CommonIO::read_pdf_info | ( | std::istream * | ) | [protected] |
GenParticle* HepMC::CommonIO::read_particle | ( | std::istream * | , | |
TempParticleMap & | ||||
) | [protected] |
GenVertex* HepMC::CommonIO::read_vertex | ( | std::istream * | , | |
TempParticleMap & | ||||
) | [protected] |
ParticleData* HepMC::CommonIO::read_particle_data | ( | std::istream * | , | |
ParticleDataTable * | ||||
) | [protected] |
ParticleDataTable is deprecated.
We include this method for reading old files which may have ParticleData information.
std::string HepMC::CommonIO::m_io_genevent_start [private] |
Definition at line 86 of file CommonIO.h.
std::string HepMC::CommonIO::m_io_ascii_start [private] |
Definition at line 87 of file CommonIO.h.
std::string HepMC::CommonIO::m_io_extendedascii_start [private] |
Definition at line 88 of file CommonIO.h.
std::string HepMC::CommonIO::m_io_genevent_end [private] |
Definition at line 89 of file CommonIO.h.
std::string HepMC::CommonIO::m_io_ascii_end [private] |
Definition at line 90 of file CommonIO.h.
std::string HepMC::CommonIO::m_io_extendedascii_end [private] |
Definition at line 91 of file CommonIO.h.
std::string HepMC::CommonIO::m_io_ascii_pdt_start [private] |
Definition at line 93 of file CommonIO.h.
std::string HepMC::CommonIO::m_io_extendedascii_pdt_start [private] |
Definition at line 94 of file CommonIO.h.
std::string HepMC::CommonIO::m_io_ascii_pdt_end [private] |
Definition at line 95 of file CommonIO.h.
std::string HepMC::CommonIO::m_io_extendedascii_pdt_end [private] |
Definition at line 96 of file CommonIO.h.
int HepMC::CommonIO::m_io_type [private] |
Definition at line 97 of file CommonIO.h.