#ifndef ROOT_THbookBranch
#define ROOT_THbookBranch
#ifndef ROOT_TBranch
#include "TBranch.h"
#endif
class THbookBranch : public TBranch {
protected:
TString fBlockName;
public:
THbookBranch() {;}
THbookBranch(TTree *tree, const char *name, void *address, const char *leaflist, Int_t basketsize=32000, Int_t compress=-1);
THbookBranch(TBranch *branch, const char *name, void *address, const char *leaflist, Int_t basketsize=32000, Int_t compress=-1);
virtual ~THbookBranch();
virtual void Browse(TBrowser *b);
virtual Int_t GetEntry(Long64_t entry=0, Int_t getall=0);
const char *GetBlockName() const {return fBlockName.Data();}
virtual void SetAddress(void *addobj);
void SetBlockName(const char *name) {fBlockName=name;}
virtual void SetEntries(Long64_t n) {fEntries=n;}
ClassDef(THbookBranch,1)
};
#endif