#ifndef ROOT_THbookTree
#define ROOT_THbookTree
#ifndef ROOT_TTree
#include "TTree.h"
#endif
#ifndef ROOT_THbookFile
#include "THbookFile.h"
#endif
class THbookTree : public TTree {
protected:
Int_t fID;
Int_t fType;
char *fX;
Bool_t fInit;
THbookFile *fFile;
public:
THbookTree();
THbookTree(const char *name, Int_t id);
virtual ~THbookTree();
virtual Int_t GetEntry(Long64_t entry=0, Int_t getall=0);
THbookFile *GetHbookFile() {return fFile;}
virtual Int_t GetID() {return fID;}
virtual Int_t GetType() {return fType;}
Float_t *GetX() {return (Float_t*)fX;}
virtual void InitBranches(Long64_t entry);
char *MakeX(Int_t nvars) {fX = new char[nvars]; return fX;}
virtual void Print(Option_t *option="") const;
virtual Long64_t SetEntries(Long64_t n=-1);
virtual void SetHbookFile(THbookFile *file) {fFile = file;}
virtual void SetType(Int_t atype) {fType = atype;}
ClassDef(THbookTree,1)
};
#endif
Last change: Wed Jun 25 08:47:13 2008
Last generated: 2008-06-25 08:47
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.