#include <THbookFile.h>
Inheritance diagram for THbookFile:
Public Member Functions | |
THbookFile () | |
THbookFile (const char *fname, Int_t lrecl=1024) | |
virtual | ~THbookFile () |
virtual void | Browse (TBrowser *b) |
virtual Bool_t | cd (const char *dirname="") |
virtual void | Close (Option_t *option="") |
virtual TFile * | Convert2root (const char *rootname="", Int_t lrecl=0, Option_t *option="") |
virtual TObject * | ConvertCWN (Int_t id) |
virtual TObject * | ConvertRWN (Int_t id) |
virtual TObject * | ConvertProfile (Int_t id) |
virtual TObject * | Convert1D (Int_t id) |
virtual TObject * | Convert2D (Int_t id) |
void | DeleteID (Int_t id) |
virtual TObject * | FindObject (const char *name) const |
virtual TObject * | FindObject (const TObject *obj) const |
TObject * | Get (Int_t id) |
const char * | GetCurDir () const |
Int_t | GetEntry (Int_t entry, Int_t id, Int_t atype, Float_t *x) |
Int_t | GetEntryBranch (Int_t entry, Int_t id) |
Long64_t | GetSize () const |
TList * | GetList () const |
TList * | GetListOfKeys () const |
void | InitLeaves (Int_t id, Int_t var, TTreeFormula *formula) |
Bool_t | IsFolder () const |
virtual Bool_t | IsOpen () const |
virtual void | ls (const char *path="") const |
virtual void | SetBranchAddress (Int_t id, const char *bname, void *add) |
THbookFile () | |
THbookFile (const char *fname, Int_t lrecl=1024) | |
virtual | ~THbookFile () |
virtual void | Browse (TBrowser *b) |
virtual Bool_t | cd (const char *dirname="") |
virtual void | Close (Option_t *option="") |
virtual TFile * | Convert2root (const char *rootname="", Int_t lrecl=0, Option_t *option="") |
virtual TObject * | ConvertCWN (Int_t id) |
virtual TObject * | ConvertRWN (Int_t id) |
virtual TObject * | ConvertProfile (Int_t id) |
virtual TObject * | Convert1D (Int_t id) |
virtual TObject * | Convert2D (Int_t id) |
void | DeleteID (Int_t id) |
virtual TObject * | FindObject (const char *name) const |
virtual TObject * | FindObject (const TObject *obj) const |
TObject * | Get (Int_t id) |
const char * | GetCurDir () const |
Int_t | GetEntry (Int_t entry, Int_t id, Int_t atype, Float_t *x) |
Int_t | GetEntryBranch (Int_t entry, Int_t id) |
Long64_t | GetSize () const |
TList * | GetList () const |
TList * | GetListOfKeys () const |
void | InitLeaves (Int_t id, Int_t var, TTreeFormula *formula) |
Bool_t | IsFolder () const |
virtual Bool_t | IsOpen () const |
virtual void | ls (const char *path="") const |
virtual void | SetBranchAddress (Int_t id, const char *bname, void *add) |
Protected Attributes | |
Int_t | fLun |
Int_t | fLrecl |
TList * | fList |
TList * | fKeys |
TString | fCurDir |
TList * | fList |
TList * | fKeys |
Static Protected Attributes | |
static Bool_t | fgPawInit |
static Int_t * | fgLuns |
static Int_t * | fgLuns |
Definition at line 31 of file THbookFile.h.
THbookFile::THbookFile | ( | ) |
THbookFile::THbookFile | ( | const char * | fname, | |
Int_t | lrecl = 1024 | |||
) |
Definition at line 252 of file THbookFile.cxx.
References TList::Add(), TObject::Error(), fCurDir, fgLuns, fgPawInit, fKeys, fList, fLrecl, fLun, TROOT::GetListOfBrowsables(), gROOT, hlimit, hropen, i, iq, kTRUE, lq, TObject::MakeZombie(), PASSCHAR, pawc, PAWC_SIZE, quest, rzink, TNamed::SetTitle(), and snprintf.
THbookFile::~THbookFile | ( | ) | [virtual] |
THbookFile::THbookFile | ( | ) |
THbookFile::THbookFile | ( | const char * | fname, | |
Int_t | lrecl = 1024 | |||
) |
virtual THbookFile::~THbookFile | ( | ) | [virtual] |
void THbookFile::Browse | ( | TBrowser * | b | ) | [virtual] |
Bool_t THbookFile::cd | ( | const char * | dirname = "" |
) | [virtual] |
Definition at line 349 of file THbookFile.cxx.
References TString::Data(), fCurDir, hcdir, i, kTRUE, TString::Length(), and PASSCHAR.
Referenced by Browse(), THbookKey::Browse(), THbookBranch::Browse(), and Close().
void THbookFile::Close | ( | Option_t * | option = "" |
) | [virtual] |
Definition at line 385 of file THbookFile.cxx.
References cd(), TList::Delete(), fgLuns, fKeys, fList, fLun, TROOT::GetListOfBrowsables(), TNamed::GetTitle(), gROOT, hdelet, hrend, IsOpen(), PASSCHAR, and TList::Remove().
Referenced by ~THbookFile().
TFile * THbookFile::Convert2root | ( | const char * | rootname = "" , |
|
Int_t | lrecl = 0 , |
|||
Option_t * | option = "" | |||
) | [virtual] |
Definition at line 584 of file THbookFile.cxx.
References TString::Contains(), RootCsg::dot(), TSystem::Exec(), TNamed::GetName(), gSystem, snprintf, strcpy(), strlcat(), strlcpy(), and TString::ToLower().
Definition at line 630 of file THbookFile.cxx.
References TObjArray::Add(), bigbuf, bufsize, chtitl, TLeaf::GetLeafCount(), TTree::GetListOfBranches(), TBranch::GetListOfLeaves(), TLeafI::GetMaximum(), golower, gTree, hbnam, hgiven, hnoent, hntvar2, i, idname, j, THbookTree::MakeX(), name, nbits, nentries, PASSCHAR, THbookBranch::SetBlockName(), THbookTree::SetEntries(), THbookTree::SetHbookFile(), TLeafI::SetMaximum(), THbookTree::SetType(), TObject::SetUniqueID(), snprintf, strlcat(), strlcpy(), and TObjArray::UncheckedAt().
Referenced by Get().
Definition at line 784 of file THbookFile.cxx.
References TObjArray::Add(), bufsize, chtitl, TString::Data(), TTree::GetListOfBranches(), golower, gTree, hgiven, hgnpar, hnoent, i, idname, j, THbookTree::MakeX(), name, nentries, PASSCHAR, THbookBranch::SetAddress(), THbookBranch::SetBlockName(), THbookTree::SetEntries(), THbookTree::SetHbookFile(), THbookTree::SetType(), snprintf, and x.
Referenced by Get().
Definition at line 904 of file THbookFile.cxx.
References TList::Add(), chtitl, TH2::Fill(), TH1::GetBinCenter(), TH1::GetListOfFunctions(), gr, h1, hcbits, hgive, hi, hie, hif, hnoent, i, idb, idname, kMAX1, kMIN1, lcid, lq, ncx, ncy, nentries, nwt, TH1::SetBinError(), TH1::SetEntries(), TH1::SetMaximum(), TH1::SetMinimum(), TGraph::SetPoint(), snprintf, TH1::Sumw2(), x, xmax, xmin, ymax, and ymin.
Referenced by Get().
void THbookFile::DeleteID | ( | Int_t | id | ) |
Definition at line 408 of file THbookFile.cxx.
References hdelet.
Referenced by THbookTree::~THbookTree().
TObject * THbookFile::FindObject | ( | const char * | name | ) | const [virtual] |
Reimplemented from TObject.
Definition at line 415 of file THbookFile.cxx.
References TList::FindObject(), and fList.
Reimplemented from TObject.
Definition at line 422 of file THbookFile.cxx.
References TList::FindObject(), and fList.
Definition at line 429 of file THbookFile.cxx.
References TList::Add(), Convert1D(), Convert2D(), ConvertCWN(), ConvertProfile(), ConvertRWN(), fList, TNamed::GetName(), hcbits, hcbook, hdcofl, hdelet, hrin, i, iq, kNRH, lcdir, lcid, lcont, lq, ltab, quest, and rzink.
Referenced by THbookKey::Browse().
const char* THbookFile::GetCurDir | ( | ) | const [inline] |
Definition at line 501 of file THbookFile.cxx.
Referenced by THbookBranch::GetEntry(), and THbookTree::GetEntry().
Definition at line 515 of file THbookFile.cxx.
References gLastEntry, and hgntf.
Referenced by THbookBranch::GetEntry().
Long64_t THbookFile::GetSize | ( | ) | const [inline] |
Definition at line 64 of file THbookFile.h.
TList* THbookFile::GetList | ( | ) | const [inline] |
TList* THbookFile::GetListOfKeys | ( | ) | const [inline] |
void THbookFile::InitLeaves | ( | Int_t | id, | |
Int_t | var, | |||
TTreeFormula * | formula | |||
) |
Definition at line 535 of file THbookFile.cxx.
References TTreeFormula::GetLeaf(), TLeaf::GetLeafCount(), TTreeFormula::GetNcodes(), hntvar3, i, and PASSCHAR.
Referenced by THbookTree::InitBranches().
Bool_t THbookFile::IsFolder | ( | ) | const [inline, virtual] |
Bool_t THbookFile::IsOpen | ( | ) | const [virtual] |
void THbookFile::ls | ( | const char * | path = "" |
) | const [virtual] |
Reimplemented from TNamed.
Definition at line 991 of file THbookFile.cxx.
References TString::Data(), fCurDir, hldir, TString::Length(), and PASSCHAR.
void THbookFile::SetBranchAddress | ( | Int_t | id, | |
const char * | bname, | |||
void * | add | |||
) | [virtual] |
Definition at line 571 of file THbookFile.cxx.
References hbnam, and PASSCHAR.
Referenced by THbookBranch::SetAddress().
virtual Bool_t THbookFile::cd | ( | const char * | dirname = "" |
) | [virtual] |
virtual void THbookFile::Close | ( | Option_t * | option = "" |
) | [virtual] |
virtual TFile* THbookFile::Convert2root | ( | const char * | rootname = "" , |
|
Int_t | lrecl = 0 , |
|||
Option_t * | option = "" | |||
) | [virtual] |
void THbookFile::DeleteID | ( | Int_t | id | ) |
virtual TObject* THbookFile::FindObject | ( | const char * | name | ) | const [virtual] |
Reimplemented from TObject.
Reimplemented from TObject.
const char* THbookFile::GetCurDir | ( | ) | const [inline] |
Long64_t THbookFile::GetSize | ( | ) | const [inline] |
Definition at line 64 of file THbookFile.h.
TList* THbookFile::GetList | ( | ) | const [inline] |
TList* THbookFile::GetListOfKeys | ( | ) | const [inline] |
void THbookFile::InitLeaves | ( | Int_t | id, | |
Int_t | var, | |||
TTreeFormula * | formula | |||
) |
Bool_t THbookFile::IsFolder | ( | ) | const [inline, virtual] |
virtual Bool_t THbookFile::IsOpen | ( | ) | const [virtual] |
virtual void THbookFile::ls | ( | const char * | path = "" |
) | const [virtual] |
Reimplemented from TNamed.
virtual void THbookFile::SetBranchAddress | ( | Int_t | id, | |
const char * | bname, | |||
void * | add | |||
) | [virtual] |
Int_t THbookFile::fLun [protected] |
Int_t THbookFile::fLrecl [protected] |
TList* THbookFile::fList [protected] |
Definition at line 36 of file THbookFile.h.
Referenced by Browse(), Close(), FindObject(), Get(), GetList(), THbookFile(), and ~THbookFile().
TList* THbookFile::fKeys [protected] |
Definition at line 37 of file THbookFile.h.
Referenced by Browse(), Close(), GetListOfKeys(), THbookFile(), and ~THbookFile().
TString THbookFile::fCurDir [protected] |
Definition at line 38 of file THbookFile.h.
Referenced by cd(), GetCurDir(), ls(), and THbookFile().
static Bool_t THbookFile::fgPawInit [static, protected] |
Int_t * THbookFile::fgLuns [static, protected] |
TList* THbookFile::fList [protected] |
Definition at line 36 of file THbookFile.h.
TList* THbookFile::fKeys [protected] |
Definition at line 37 of file THbookFile.h.
Int_t* THbookFile::fgLuns [static, protected] |
Definition at line 41 of file THbookFile.h.