00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef StHbtGstarTxtReader_hh
00018 #define StHbtGstarTxtReader_hh
00019
00020 class StEvent;
00021
00022
00023 #ifdef __ROOT__
00024 #include "StMaker.h"
00025 #endif
00026 #include "StHbtMaker/Infrastructure/StHbtString.hh"
00027 #include "StHbtMaker/Base/StHbtEventReader.hh"
00028
00029 class StHbtGstarTxtReader : public StHbtEventReader{
00030
00031 private:
00032 ifstream* mInputStream;
00033 const char* mFileName;
00034
00035 public:
00036 StHbtGstarTxtReader();
00037 StHbtGstarTxtReader(char* FileName);
00038 ~StHbtGstarTxtReader();
00039
00040
00041 StHbtEvent* ReturnHbtEvent();
00042 StHbtString Report();
00043
00044 int Init(const char* ReadWrite, StHbtString& Message);
00045 void Finish();
00046
00047
00048 void SetFileName(char* file);
00049 #ifdef __ROOT__
00050 ClassDef(StHbtGstarTxtReader,0)
00051 #endif
00052 };
00053
00054 inline void StHbtGstarTxtReader::SetFileName(char* file){mFileName=file;}
00055
00056
00057 #endif