45 #ifndef StHbtBinaryReader_hh
46 #define StHbtBinaryReader_hh
54 #include "StHbtMaker/Base/StHbtEventReader.hh"
55 #include "StHbtMaker/Infrastructure/StHbtIOBinary.hh"
59 #include "StIOMaker/StIOMaker.h"
60 #include "StIOInterFace.h"
64 #if !defined(ST_NO_NAMESPACES)
67 #ifdef ST_NO_TEMPLATE_DEF_ARGS
68 typedef list<StHbtString*, allocator<StHbtString*> > fileCollection;
69 typedef list<StHbtString*, allocator<StHbtString*> >::iterator fileIterator;
71 typedef list<StHbtString*> fileCollection;
72 typedef list<StHbtString*>::iterator fileIterator;
81 unsigned short mStHbtEventVersion;
82 unsigned short mStHbtTrackVersion;
83 unsigned short mStHbtV0Version;
90 const char* mFileName;
92 const char* mAppendix;
93 fileCollection* mFileList;
95 StHbtString mTheMessage;
96 StHbtString mCurrentFile;
98 void FillFileList(
char* fileList);
106 StHbtBinaryReader(
const char* dir=0,
const char* file=
"test",
const char* appendix=0);
115 int Init(
const char* ReadWrite, StHbtString& Message);
117 StHbtString Report();
120 void SetDirName(
const char*);
121 void SetFileName(
const char*);
122 void SetAppendix(
const char*);
123 void AddFileList(
const char*);
128 void init(
const char* dir,
const char* file,
const char* appendix);
136 inline void StHbtBinaryReader::SetFlowMaker(
StFlowMaker* flowMaker){mFlowMaker = flowMaker;}
138 mFlowAnalysisMaker = flowAnal;