10 #define StMuIOMaker_hh
14 #ifndef ST_NO_NAMESPACES
18 #include "StMuDstMaker.h"
46 StMuIOMaker(
const char* name=
"",
const char *ioFile=
"");
52 int Make(
int major,
int minor);
53 int Make(
const StUKey &RunEvent);
54 int Skip(
int nskip) {
return Make(mCurrentIndex+nskip); }
58 virtual Int_t Open(
const Char_t *ioFile=0);
59 virtual void Close(Option_t *opt=0);
60 virtual Int_t MakeRead(
const StUKey &RunEvent);
61 virtual Int_t MakeRead(){
StUKey uk;
return MakeRead(uk);};
64 int currentIndex() {
return mCurrentIndex; }
65 int eventCounter() {
return mEventCounter; }
66 int numberOfEvents() {
return mNumberOfEvents; }
70 static const char cvs[]=
"Tag $Name: $ $Id: StMuIOMaker.h,v 1.11 2014/08/06 11:43:31 jeromel Exp $ built " __DATE__
" " __TIME__ ;
virtual const char * GetCVS() const
int mCurrentIndex
holds the # of events in the current chain (file)
bool mMuSave
holds the index of the last event read