8 #ifndef StHbtTTreeReader_hh
9 #define StHbtTTreeReader_hh
11 #include "StHbtMaker/Base/StHbtEventReader.hh"
12 #include "StHbtMaker/Infrastructure/StHbtEnumeration.hh"
16 #include "St_DataSetIter.h"
36 StTrackType mTrackType;
39 string mCurrentFileName;
57 unsigned int mEventIndex;
60 int initRead(
string dir,
string file,
string filter,
string extention,
int mMaxFiles);
63 int initWrite(
string,
string);
65 int fillChain(TChain* chain,
const char* dir,
const char* filter,
const char* extention,
const int maxFiles);
66 int fillChain(TChain* chain,
const char* list,
const int maxFiles);
72 const char* dirName,
const char* fileName,
const char* extention=
".hbtTTreeMuDst",
73 const char* filter=
".",
int maxFiles=99999);
81 StTrackType TrackType();
82 void SetTrackType(StTrackType);
89 inline StTrackType StHbtTTreeReader::TrackType() {
return mTrackType;}
90 inline void StHbtTTreeReader::SetTrackType(StTrackType t) { mTrackType=t;}
91 inline void StHbtTTreeReader::SetDebug(
int debug) {mDebug=debug;}