12 #ifndef ROOT_THbookFile 13 #define ROOT_THbookFile 47 virtual Bool_t cd(
const char *dirname=
"");
68 virtual void ls(
const char *path=
"")
const;
virtual Bool_t IsOpen() const
Returns kTRUE in case file is open and kFALSE if file is not open.
virtual TObject * ConvertProfile(Int_t id)
Convert an Hbook profile histogram into a Root TProfile.
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
virtual TObject * ConvertRWN(Int_t id)
Convert the Row-Wise-Ntuple id to a Root Tree.
virtual TObject * ConvertCWN(Int_t id)
Convert the Column-Wise-Ntuple id to a Root Tree.
virtual void Browse(TBrowser *b)
to be implemented
TObject * Get(Int_t id)
import Hbook object with identifier idd in memory
virtual TFile * Convert2root(const char *rootname="", Int_t lrecl=0, Option_t *option="")
Convert this Hbook file to a Root file with name rootname.
#define ClassDef(name, id)
The TNamed class is the base class for all named ROOT classes.
virtual void Close(Option_t *option="")
Close the Hbook file.
Int_t GetEntry(Int_t entry, Int_t id, Int_t atype, Float_t *x)
Read in memory all columns of entry number of ntuple id from the Hbook file.
virtual ~THbookFile()
destructor
const char * GetCurDir() const
Using a TBrowser one can browse all ROOT objects.
void DeleteID(Int_t id)
remove id from file and memory
virtual TObject * FindObject(const char *name) const
return object with name in fList in memory
THbookFile()
the constructor
void InitLeaves(Int_t id, Int_t var, TTreeFormula *formula)
This function is called from the first entry in TTreePlayer::InitLoop It analyzes the list of variabl...
Int_t GetEntryBranch(Int_t entry, Int_t id)
Read in memory only the branch bname.
virtual void SetBranchAddress(Int_t id, const char *bname, void *add)
Set branch address.
virtual void ls(const char *path="") const
List contents of Hbook directory.
TList * GetListOfKeys() const
Mother of all ROOT objects.
virtual Bool_t cd(const char *dirname="")
change directory to dirname
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
This class is an interface to the Hbook objects in Hbook files.
virtual TObject * Convert1D(Int_t id)
Convert an Hbook 1-d histogram into a Root TH1F.
virtual TObject * Convert2D(Int_t id)
Convert an Hbook 2-d histogram into a Root TH2F.
Bool_t IsFolder() const
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects)...
const char * Data() const