00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef READSTDHEP_HH
00010 #define READSTDHEP_HH
00011
00012 #include "CLHEP/config/CLHEP.h"
00013 #include "CLHEP/config/iostream.h"
00014 #include <string>
00015 #include <map>
00016
00017 #include "CLHEP/StdHep/StdEvent.hh"
00018 #include "CLHEP/StdHep/StdRunInfo.hh"
00019
00020 namespace StdHep {
00021
00022 std::string readBlockType( std::istream & is );
00023 bool findBlockType( std::istream & is, std::string & type );
00024 StdEvent * readStdEvent( std::istream & is );
00025 StdEvent * findNextStdEvent( std::istream & is );
00026 StdRunInfo * readStdRun( std::istream & is );
00027 std::string readStdComment( std::istream & is );
00028
00029 namespace Detail {
00030
00031 StdEvent * readStdEventInfo( std::istream & is, std::string & evline );
00032 StdRunInfo * readRunInfo( std::istream & is, std::string & evline );
00033 void parseStdEventLine( std::string & evline, int & evnum, int & ncol );
00034
00035 }
00036
00037 }
00038
00039 #endif // READSTDHEP_HH