2 #ifndef HEPMC_STREAM_HELPERS_H
3 #define HEPMC_STREAM_HELPERS_H
14 #include "HepMC/GenEvent.h"
15 #include "HepMC/TempParticleMap.h"
22 std::ostream & establish_output_stream_info( std::ostream & );
24 std::istream & establish_input_stream_info( std::istream & );
28 std::istream & read_vertex( std::istream &, TempParticleMap &, GenVertex * );
32 std::istream & read_particle( std::istream&, TempParticleMap &, GenParticle * );
35 inline std::ostream & output( std::ostream & os,
const double& d ) {
47 inline std::ostream & output( std::ostream & os,
const float& d ) {
59 inline std::ostream & output( std::ostream & os,
const int& i ) {
71 inline std::ostream & output( std::ostream & os,
const long& i ) {
83 inline std::ostream & output( std::ostream & os,
const char& c ) {
95 std::istream & find_event_end( std::istream & );
101 #endif // HEPMC_STREAM_HELPERS_H