1 #include "StIOInterFace.h"
9 if (iomode) SetIOMode(iomode);
13 void StIOInterFace::SetBranch(
const Char_t *brName,
const Char_t *file,
const Char_t *mode,Option_t *opt)
15 TString ts(
"SetBranch:");
17 if (file) { ts +=
" file="; ts += file;}
18 if (mode) { ts +=
" mode="; ts += mode;}
19 if (opt ) { ts +=
" opt="; ts += opt ;}
20 IntoBranch(brName,ts);
23 void StIOInterFace::IntoBranch(
const Char_t *brName,
const Char_t *logNames)
25 TString bN(brName);
if (bN.Index(
"Branch")<0) bN+=
"Branch";
26 TDataSet *was = GetData(bN,
".branches");
28 AddAlias(bN,logNames,
".branches");
33 Int_t StIOInterFace::Skip(
int nskip)
35 for (; nskip; nskip--)
37 Clear();
int ret = MakeRead();
46 printf(
"<%s::Finish> %s: %d I/O's\n",ClassName(),
GetName(),
fNIO);
Class StRTSBaseMaker - is an abstract StMaker to define the interface to access the DAQ data from the...
Int_t fNIO
Main file name name.
virtual void Clear(Option_t *option="")
User defined functions.
virtual const char * GetName() const
special overload