00001 #ifndef StHbtFlowPicoReader_h
00002 #define StHbtFlowPicoReader_h
00003 #include "StHbtMaker/Base/StHbtEventReader.hh"
00004 #include "StHbtMaker/Infrastructure/StHbtString.hh"
00005 #include "flow_pDST.h"
00006 #include <vector>
00007 #include <string.h>
00008
00009
00010
00011
00012
00013 class StHbtFlowPicoReader : public StHbtEventReader
00014 {
00015 public:
00016 StHbtFlowPicoReader(string to_do_list_inp, int nevents);
00017 ~StHbtFlowPicoReader();
00018 using StHbtEventReader::Init;
00019 int Init();
00020 StHbtEvent* ReturnHbtEvent();
00021
00022 StHbtString Report();
00023 int GetNevents();
00024
00025
00026 private:
00027 string to_do_list_inp;
00028 int crrnt_eventI;
00029 int NEVENTS;
00030 long Nentries;
00031 int crrnt_entry;
00032 int NEvt_in_chain;
00033 int nb;
00034 int Nbytes;
00035 flow_pDST* pDST;
00036 TChain* DST_Chain;
00037 vector<string> L_runs;
00038 ClassDef(StHbtFlowPicoReader,1)
00039 };
00040
00041 inline int StHbtFlowPicoReader::GetNevents() {return NEvt_in_chain;}
00042 #endif