18 #ifndef STAR_StTreeMaker
19 #define STAR_StTreeMaker
30 #include "StIOInterFace.h"
35 Char_t maker_name[12];
50 StTreeMaker(
const Char_t *name=
"",
const Char_t *ioFile=
"",
const Char_t *treeName=0);
54 virtual Int_t MakeRead(
const StUKey &RunEvent);
55 virtual Int_t MakeRead(){
StUKey uk;
return MakeRead(uk);};
56 virtual Int_t MakeWrite();
57 Int_t MakeBfcStatus();
60 virtual Int_t Skip(
int nskip);
61 virtual void Clear(Option_t *opt);
62 virtual Int_t Open(
const Char_t *ioFile=0);
63 virtual void Close(Option_t *opt=0);
64 void UpdateTree(Int_t flag);
66 virtual void FillHistBranch(
StBranch *histBr);
70 StTree *GetTree(){
return fTree;};
71 StBranch *GetBranch(
const Char_t *brName)
72 {
if(!fTree)
return 0;
return (
StBranch*)fTree->
Find(brName);};
74 virtual const Char_t *GetCVS()
const
75 {
static const Char_t cvs[]=
"Tag $Name: $ $Id: StTreeMaker.h,v 1.19 2014/08/06 11:43:51 jeromel Exp $ built " __DATE__
" " __TIME__ ;
return cvs;}
StTreeMaker(const Char_t *name="", const Char_t *ioFile="", const Char_t *treeName=0)
noIO
virtual void Clear(Option_t *opt)
User defined functions.
virtual TDataSet * Find(const char *path) const