HepMC Reference Documentation

HepMC

HepMC::detail Namespace Reference


Classes

struct  enable_if
 internal - used to decide if a class is arithmetic More...
struct  enable_if< true, T >
 internal - use if class T is arithmetic More...
struct  disable_if
 internal - used by SimpleVector to decide if a class is arithmetic More...
struct  disable_if< false, T >
 internal - used by SimpleVector to decide if a class is arithmetic More...
struct  is_arithmetic
 undefined and therefore non-arithmetic More...
struct  is_arithmetic< char >
 character is arithmetic More...
struct  is_arithmetic< unsigned char >
 unsigned character is arithmetic More...
struct  is_arithmetic< signed char >
 signed character is arithmetic More...
struct  is_arithmetic< short >
 short is arithmetic More...
struct  is_arithmetic< unsigned short >
 unsigned short is arithmetic More...
struct  is_arithmetic< int >
 int is arithmetic More...
struct  is_arithmetic< unsigned int >
 unsigned int is arithmetic More...
struct  is_arithmetic< long >
 long is arithmetic More...
struct  is_arithmetic< unsigned long >
 unsigned long is arithmetic More...
struct  is_arithmetic< float >
 float is arithmetic More...
struct  is_arithmetic< double >
 double is arithmetic More...
struct  is_arithmetic< long double >
 long double is arithmetic More...

Functions

std::ostream & establish_output_stream_info (std::ostream &)
 used by IO_GenEvent constructor
std::istream & establish_input_stream_info (std::istream &)
 used by IO_GenEvent constructor
std::istream & read_vertex (std::istream &, TempParticleMap &, GenVertex *)
std::istream & read_particle (std::istream &, TempParticleMap &, GenParticle *)
std::ostream & output (std::ostream &os, const double &d)
 write a double - for internal use by streaming IO
std::ostream & output (std::ostream &os, const float &d)
 write a float - for internal use by streaming IO
std::ostream & output (std::ostream &os, const int &i)
 write an int - for internal use by streaming IO
std::ostream & output (std::ostream &os, const long &i)
 write a long - for internal use by streaming IO
std::ostream & output (std::ostream &os, const char &c)
 write a single char - for internal use by streaming IO
std::istream & find_event_end (std::istream &)
 used to read to the end of a bad event
std::istream & read_units (std::istream &is, GenEvent &evt)


Function Documentation

std::ostream & HepMC::detail::establish_output_stream_info ( std::ostream &   ) 

used by IO_GenEvent constructor

Definition at line 649 of file GenEventStreamIO.cc.

References HepMC::StreamInfo::finished_first_event(), and HepMC::get_stream_info().

Referenced by HepMC::IO_GenEvent::IO_GenEvent().

std::istream & HepMC::detail::establish_input_stream_info ( std::istream &   ) 

used by IO_GenEvent constructor

Definition at line 663 of file GenEventStreamIO.cc.

References HepMC::StreamInfo::finished_first_event(), and HepMC::get_stream_info().

Referenced by HepMC::IO_GenEvent::IO_GenEvent().

std::istream & HepMC::detail::read_vertex ( std::istream &  ,
TempParticleMap &  ,
GenVertex *   
)

get a GenVertex from ASCII input TempParticleMap is used to track the associations of particles with vertices

Definition at line 23 of file StreamHelpers.cc.

References find_event_end(), read_particle(), and v.

Referenced by HepMC::GenEvent::read().

std::istream & HepMC::detail::read_particle ( std::istream &  ,
TempParticleMap &  ,
GenParticle *   
)

get a GenParticle from ASCII input TempParticleMap is used to track the associations of particles with vertices

Definition at line 541 of file GenEventStreamIO.cc.

References HepMC::TempParticleMap::addEndParticle(), HepMC::ascii, find_event_end(), HepMC::get_stream_info(), HepMC::StreamInfo::io_type(), p, and HepMC::Flow::set_icode().

Referenced by read_vertex().

std::ostream& HepMC::detail::output ( std::ostream &  os,
const double &  d 
) [inline]

write a double - for internal use by streaming IO

Definition at line 35 of file StreamHelpers.h.

Referenced by HepMC::Flow::connected_partners(), HepMC::Flow::dangling_connected_partners(), HepMC::operator<<(), HepMC::GenEvent::write(), and HepMC::IO_AsciiParticles::write_event().

std::ostream& HepMC::detail::output ( std::ostream &  os,
const float &  d 
) [inline]

write a float - for internal use by streaming IO

Definition at line 47 of file StreamHelpers.h.

std::ostream& HepMC::detail::output ( std::ostream &  os,
const int &  i 
) [inline]

write an int - for internal use by streaming IO

Definition at line 59 of file StreamHelpers.h.

std::ostream& HepMC::detail::output ( std::ostream &  os,
const long &  i 
) [inline]

write a long - for internal use by streaming IO

Definition at line 71 of file StreamHelpers.h.

std::ostream& HepMC::detail::output ( std::ostream &  os,
const char &  c 
) [inline]

write a single char - for internal use by streaming IO

Definition at line 83 of file StreamHelpers.h.

std::istream & HepMC::detail::find_event_end ( std::istream &   ) 

used to read to the end of a bad event

Definition at line 98 of file StreamHelpers.cc.

Referenced by HepMC::GenEvent::read(), read_particle(), and read_vertex().

std::istream& HepMC::detail::read_units ( std::istream &  is,
GenEvent &  evt 
)

Definition at line 622 of file GenEventStreamIO.cc.

References HepMC::get_stream_info(), HepMC::StreamInfo::io_momentum_unit(), HepMC::StreamInfo::io_position_unit(), and HepMC::GenEvent::use_units().


Generated on Thu Jan 7 13:10:21 2010 for HepMC by  doxygen 1.4.7