CLHEP/HepMC/WriteHepMC.h

00001 // $Id: WriteHepMC.h,v 1.3 2002/05/20 20:14:10 garren Exp $
00002 // ----------------------------------------------------------------------
00003 //
00004 // WriteHepMC.h
00005 // Author: Lynn Garren
00006 //
00007 // write to an ostream in ascii format
00008 // ----------------------------------------------------------------------
00009 #ifndef WRITEHEPMC_H
00010 #define WRITEHEPMC_H
00011 
00012 #include "CLHEP/config/CLHEP.h"
00013 #include "CLHEP/config/iostream.h"
00014 #include <string>
00015 
00016 #include "CLHEP/HepMC/GenEvent.h"
00017 
00018 namespace HepMC  {
00019 
00020 std::ostream & writeComment( std::ostream & os, std::string const comment );
00021 std::ostream & writeLegend( std::ostream & os );
00022 std::ostream & flushOutput( std::ostream & os );
00023 std::ostream & writeGenEvent( std::ostream & os, GenEvent const * evt );
00024 std::ostream & operator << ( std::ostream & os, GenEvent const * evt );
00025 
00026   namespace Detail {
00027 
00028      std::ostream & writeVertex( std::ostream & os, GenVertex const * );
00029      std::ostream & writeParticle( std::ostream & os, GenParticle const * p );
00030      std::ostream & output( std::ostream & os, const double& d );
00031 
00032   }     // Detail
00033 
00034 }       // HepMC
00035 
00036 #endif // WRITEHEPMC_H
00037 

Class Library for High Energy Physics (version 1.8)