| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

HepMC::CommonIO Class Reference

#include <CommonIO.h>

List of all members.


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

HeavyIonread_heavy_ion (std::istream *)
PdfInforead_pdf_info (std::istream *)
GenParticleread_particle (std::istream *, TempParticleMap &)
GenVertexread_vertex (std::istream *, TempParticleMap &)
ParticleDataread_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

Detailed Description

Definition at line 24 of file CommonIO.h.


Constructor & Destructor Documentation

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]

Definition at line 29 of file CommonIO.h.

00029 {;}


Member Function Documentation

std::string HepMC::CommonIO::IO_GenEvent_Key (  )  const [inline]

Definition at line 32 of file CommonIO.h.

00032 { return m_io_genevent_start; }

std::string HepMC::CommonIO::IO_GenEvent_End (  )  const [inline]

Definition at line 33 of file CommonIO.h.

00033 { return m_io_genevent_end; }

std::string HepMC::CommonIO::IO_Ascii_Key (  )  const [inline]

Definition at line 35 of file CommonIO.h.

00035 { return m_io_ascii_start; }

std::string HepMC::CommonIO::IO_Ascii_End (  )  const [inline]

Definition at line 36 of file CommonIO.h.

00036 { return m_io_ascii_end; }

std::string HepMC::CommonIO::IO_ExtendedAscii_Key (  )  const [inline]

Definition at line 38 of file CommonIO.h.

00038 { return m_io_extendedascii_start; }

std::string HepMC::CommonIO::IO_ExtendedAscii_End (  )  const [inline]

Definition at line 39 of file CommonIO.h.

00039 { return m_io_extendedascii_end; }

int HepMC::CommonIO::io_type (  )  const [inline]

get IO type

Definition at line 41 of file CommonIO.h.

00041 { return m_io_type; }

void HepMC::CommonIO::write_IO_GenEvent_Key ( std::ostream &   )  [inline]

Definition at line 118 of file CommonIO.h.

00119 { os << m_io_genevent_start << "\n"; }

void HepMC::CommonIO::write_IO_GenEvent_End ( std::ostream &   )  [inline]

Definition at line 121 of file CommonIO.h.

00122 { os << m_io_genevent_end << "\n"; }

void HepMC::CommonIO::write_IO_Ascii_Key ( std::ostream &   )  [inline]

Definition at line 124 of file CommonIO.h.

00125 { os << m_io_ascii_start << "\n"; }

void HepMC::CommonIO::write_IO_Ascii_End ( std::ostream &   )  [inline]

Definition at line 127 of file CommonIO.h.

00128 { os << m_io_ascii_end << "\n"; }

void HepMC::CommonIO::write_IO_ExtendedAscii_Key ( std::ostream &   )  [inline]

Definition at line 130 of file CommonIO.h.

00131 { os << m_io_extendedascii_start << "\n"; }

void HepMC::CommonIO::write_IO_ExtendedAscii_End ( std::ostream &   )  [inline]

Definition at line 133 of file CommonIO.h.

00134 { os << m_io_extendedascii_end << "\n"; }

void HepMC::CommonIO::write_IO_Ascii_PDT_Key ( std::ostream &   )  [inline]

Definition at line 136 of file CommonIO.h.

00137 { os << m_io_ascii_pdt_start << "\n"; }

void HepMC::CommonIO::write_IO_Ascii_PDT_End ( std::ostream &   )  [inline]

Definition at line 139 of file CommonIO.h.

00140 { os << m_io_ascii_pdt_end << "\n"; }

void HepMC::CommonIO::write_IO_ExtendedAscii_PDT_Key ( std::ostream &   )  [inline]

Definition at line 142 of file CommonIO.h.

00143 { os << m_io_extendedascii_pdt_start << "\n"; }

void HepMC::CommonIO::write_IO_ExtendedAscii_PDT_End ( std::ostream &   )  [inline]

Definition at line 145 of file CommonIO.h.

00146 { os << m_io_extendedascii_pdt_end << "\n"; }

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.


Member Data Documentation

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.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 19:56:44 2011 for HepMC by doxygen 1.4.7