/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Protected Member Functions | Private Attributes
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.

: m_io_genevent_start("HepMC::IO_GenEvent-START_EVENT_LISTING"),
  m_io_ascii_start("HepMC::IO_Ascii-START_EVENT_LISTING"),
  m_io_extendedascii_start("HepMC::IO_ExtendedAscii-START_EVENT_LISTING"),
  m_io_genevent_end("HepMC::IO_GenEvent-END_EVENT_LISTING"),
  m_io_ascii_end("HepMC::IO_Ascii-END_EVENT_LISTING"),
  m_io_extendedascii_end("HepMC::IO_ExtendedAscii-END_EVENT_LISTING"),
  m_io_ascii_pdt_start("HepMC::IO_Ascii-START_PARTICLE_DATA"),
  m_io_extendedascii_pdt_start("HepMC::IO_ExtendedAscii-START_PARTICLE_DATA"),
  m_io_ascii_pdt_end("HepMC::IO_Ascii-END_PARTICLE_DATA"),
  m_io_extendedascii_pdt_end("HepMC::IO_ExtendedAscii-END_PARTICLE_DATA"),
  m_io_type(0)
{}
HepMC::CommonIO::~CommonIO ( ) [inline]

Definition at line 29 of file CommonIO.h.

{;}

Member Function Documentation

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

Definition at line 32 of file CommonIO.h.

{ return m_io_genevent_start; }
std::string HepMC::CommonIO::IO_GenEvent_End ( ) const [inline]

Definition at line 33 of file CommonIO.h.

{ return m_io_genevent_end; }
std::string HepMC::CommonIO::IO_Ascii_Key ( ) const [inline]

Definition at line 35 of file CommonIO.h.

{ return m_io_ascii_start; }
std::string HepMC::CommonIO::IO_Ascii_End ( ) const [inline]

Definition at line 36 of file CommonIO.h.

{ return m_io_ascii_end; }
std::string HepMC::CommonIO::IO_ExtendedAscii_Key ( ) const [inline]

Definition at line 38 of file CommonIO.h.

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

Definition at line 39 of file CommonIO.h.

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

get IO type

Definition at line 41 of file CommonIO.h.

{ return m_io_type; }
void HepMC::CommonIO::write_IO_GenEvent_Key ( std::ostream &  os) [inline]

Definition at line 118 of file CommonIO.h.

{ os << m_io_genevent_start << "\n"; }
void HepMC::CommonIO::write_IO_GenEvent_End ( std::ostream &  os) [inline]

Definition at line 121 of file CommonIO.h.

{ os << m_io_genevent_end << "\n"; }
void HepMC::CommonIO::write_IO_Ascii_Key ( std::ostream &  os) [inline]

Definition at line 124 of file CommonIO.h.

{ os << m_io_ascii_start << "\n"; }
void HepMC::CommonIO::write_IO_Ascii_End ( std::ostream &  os) [inline]

Definition at line 127 of file CommonIO.h.

{ os << m_io_ascii_end << "\n"; }
void HepMC::CommonIO::write_IO_ExtendedAscii_Key ( std::ostream &  os) [inline]

Definition at line 130 of file CommonIO.h.

{ os << m_io_extendedascii_start << "\n"; }
void HepMC::CommonIO::write_IO_ExtendedAscii_End ( std::ostream &  os) [inline]

Definition at line 133 of file CommonIO.h.

{ os << m_io_extendedascii_end << "\n"; }
void HepMC::CommonIO::write_IO_Ascii_PDT_Key ( std::ostream &  os) [inline]

Definition at line 136 of file CommonIO.h.

{ os << m_io_ascii_pdt_start << "\n"; }
void HepMC::CommonIO::write_IO_Ascii_PDT_End ( std::ostream &  os) [inline]

Definition at line 139 of file CommonIO.h.

{ os << m_io_ascii_pdt_end << "\n"; }
void HepMC::CommonIO::write_IO_ExtendedAscii_PDT_Key ( std::ostream &  os) [inline]

Definition at line 142 of file CommonIO.h.

{ os << m_io_extendedascii_pdt_start << "\n"; }
void HepMC::CommonIO::write_IO_ExtendedAscii_PDT_End ( std::ostream &  os) [inline]

Definition at line 145 of file CommonIO.h.

{ 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.

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.

Definition at line 91 of file CommonIO.h.

Definition at line 93 of file CommonIO.h.

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.

Definition at line 96 of file CommonIO.h.

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 Fri May 16 2014 09:49:37 for HepMC by doxygen 1.7.4