1 #ifndef STAR_StIOInterFace
2 #define STAR_StIOInterFace
10 #ifndef STAR_StRTSBaseMaker_H
11 #include "StRTSBaseMaker.h"
22 virtual Int_t MakeRead() {
return Make();};
23 virtual Int_t MakeRead(
const StUKey &) {
return MakeRead();};
24 virtual Int_t
Make() {assert(0);
return 1999;};
25 virtual Int_t Skip(
int nskip);
26 virtual Int_t MakeWrite(){assert(0);
return 1999;};
27 virtual Int_t Open(
const char *filename=0){assert(0&&filename);
return 1999;};
28 virtual void Close(Option_t *opt=0){assert(0&&opt);};
35 virtual void SetIOMode(Option_t *iomode=
"w") {fIOMode=tolower(iomode[0]);};
36 virtual void SetTreeName(
const Char_t *treeName=
"bfcTree"){
fTreeName=treeName;};
37 virtual const Char_t *GetTreeName()
const {
return (
const Char_t*)
fTreeName;};
38 virtual void SetFileName(
const char *fileName){
fFile = fileName;};
39 virtual void SetFile(
const char *fileName) {
fFile = fileName;};
40 virtual const char *GetFile()
const {
return (
const char*)
fFile;};
41 virtual const char *GetFileName()
const {
return GetFile();};
43 virtual void SetBranch (
const Char_t *brName,
const Char_t *file=0,
const Char_t *iomode=
"w",Option_t *opt=0);
44 virtual void IntoBranch(
const Char_t *brName,
const Char_t *logNames);
Class StRTSBaseMaker - is an abstract StMaker to define the interface to access the DAQ data from the...
Int_t fNIO
Main file name name.
TString fTreeName
r=read,w=write,u=update
virtual void SetIOMode(Option_t *iomode="w")
number of transactions