#include <TTreeIndex.h>
Inheritance diagram for TTreeIndex:
Public Member Functions | |
TTreeIndex () | |
Pointer to minor TreeFormula in Parent tree (if any). | |
TTreeIndex (const TTree *T, const char *majorname, const char *minorname) | |
virtual | ~TTreeIndex () |
virtual void | Append (const TVirtualIndex *, Bool_t delaySort=kFALSE) |
virtual Int_t | GetEntryNumberFriend (const TTree *T) |
virtual Long64_t | GetEntryNumberWithIndex (Int_t major, Int_t minor) const |
virtual Long64_t | GetEntryNumberWithBestIndex (Int_t major, Int_t minor) const |
virtual Long64_t * | GetIndexValues () const |
virtual Long64_t * | GetIndex () const |
const char * | GetMajorName () const |
const char * | GetMinorName () const |
virtual Long64_t | GetN () const |
virtual TTreeFormula * | GetMajorFormula () |
virtual TTreeFormula * | GetMinorFormula () |
virtual TTreeFormula * | GetMajorFormulaParent (const TTree *T) |
virtual TTreeFormula * | GetMinorFormulaParent (const TTree *T) |
virtual void | Print (Option_t *option="") const |
virtual void | UpdateFormulaLeaves (const TTree *parent) |
virtual void | SetTree (const TTree *T) |
ClassDef (TTreeIndex, 1) | |
TTreeIndex () | |
Pointer to minor TreeFormula in Parent tree (if any). | |
TTreeIndex (const TTree *T, const char *majorname, const char *minorname) | |
virtual | ~TTreeIndex () |
virtual void | Append (const TVirtualIndex *, Bool_t delaySort=kFALSE) |
virtual Int_t | GetEntryNumberFriend (const TTree *T) |
virtual Long64_t | GetEntryNumberWithIndex (Int_t major, Int_t minor) const |
virtual Long64_t | GetEntryNumberWithBestIndex (Int_t major, Int_t minor) const |
virtual Long64_t * | GetIndexValues () const |
virtual Long64_t * | GetIndex () const |
const char * | GetMajorName () const |
const char * | GetMinorName () const |
virtual Long64_t | GetN () const |
virtual TTreeFormula * | GetMajorFormula () |
virtual TTreeFormula * | GetMinorFormula () |
virtual TTreeFormula * | GetMajorFormulaParent (const TTree *T) |
virtual TTreeFormula * | GetMinorFormulaParent (const TTree *T) |
virtual void | Print (Option_t *option="") const |
virtual void | UpdateFormulaLeaves (const TTree *parent) |
virtual void | SetTree (const TTree *T) |
ClassDef (TTreeIndex, 1) | |
Protected Attributes | |
TString | fMajorName |
TString | fMinorName |
Long64_t | fN |
Long64_t * | fIndexValues |
Long64_t * | fIndex |
TTreeFormula * | fMajorFormula |
TTreeFormula * | fMinorFormula |
Pointer to major TreeFormula. | |
TTreeFormula * | fMajorFormulaParent |
Pointer to minor TreeFormula. | |
TTreeFormula * | fMinorFormulaParent |
Pointer to major TreeFormula in Parent tree (if any). | |
Long64_t * | fIndexValues |
Long64_t * | fIndex |
TTreeFormula * | fMajorFormula |
TTreeFormula * | fMinorFormula |
Pointer to major TreeFormula. | |
TTreeFormula * | fMajorFormulaParent |
Pointer to minor TreeFormula. | |
TTreeFormula * | fMinorFormulaParent |
Pointer to major TreeFormula in Parent tree (if any). |
Definition at line 32 of file TTreeIndex.h.
TTreeIndex::TTreeIndex | ( | ) |
Pointer to minor TreeFormula in Parent tree (if any).
TTreeIndex::TTreeIndex | ( | const TTree * | T, | |
const char * | majorname, | |||
const char * | minorname | |||
) |
Definition at line 40 of file TTreeIndex.cxx.
References TString::Data(), TObject::Error(), TTreeFormula::EvalInstance(), fIndex, fIndexValues, fMajorFormula, fMajorFormulaParent, fMajorName, fMinorFormula, fMinorFormulaParent, fMinorName, fN, TVirtualIndex::fTree, TTree::GetEntries(), GetMajorFormula(), GetMinorFormula(), TFormula::GetNdim(), TTree::GetReadEntry(), TTree::GetTreeNumber(), i, TTree::LoadTree(), Long64_t, TObject::MakeZombie(), TMath::Sort(), T, TTreeFormula::UpdateFormulaLeaves(), and w.
TTreeIndex::~TTreeIndex | ( | ) | [virtual] |
Definition at line 168 of file TTreeIndex.cxx.
References fIndex, fIndexValues, fMajorFormula, fMajorFormulaParent, fMinorFormula, fMinorFormulaParent, TVirtualIndex::fTree, TTree::GetTreeIndex(), and TTree::SetTreeIndex().
TTreeIndex::TTreeIndex | ( | ) |
Pointer to minor TreeFormula in Parent tree (if any).
TTreeIndex::TTreeIndex | ( | const TTree * | T, | |
const char * | majorname, | |||
const char * | minorname | |||
) |
virtual TTreeIndex::~TTreeIndex | ( | ) | [virtual] |
void TTreeIndex::Append | ( | const TVirtualIndex * | , | |
Bool_t | delaySort = kFALSE | |||
) | [virtual] |
Implements TVirtualIndex.
Definition at line 182 of file TTreeIndex.cxx.
References TObject::Error(), fIndex, fIndexValues, fN, TVirtualIndex::GetN(), i, Long64_t, size, TMath::Sort(), and w.
Implements TVirtualIndex.
Definition at line 250 of file TTreeIndex.cxx.
References TTreeFormula::EvalInstance(), fMajorFormulaParent, fMinorFormulaParent, TVirtualIndex::fTree, TTree::GetEntries(), TTree::GetEntryNumberWithIndex(), GetMajorFormulaParent(), GetMinorFormulaParent(), TFormula::GetNdim(), TTree::GetReadEntry(), Long64_t, and T.
Implements TVirtualIndex.
Definition at line 313 of file TTreeIndex.cxx.
References TMath::BinarySearch(), fIndex, fIndexValues, fN, i, Long64_t, and value.
Implements TVirtualIndex.
Definition at line 286 of file TTreeIndex.cxx.
References TMath::BinarySearch(), fIndex, fIndexValues, fN, i, Long64_t, and value.
virtual Long64_t* TTreeIndex::GetIndexValues | ( | ) | const [inline, virtual] |
Definition at line 53 of file TTreeIndex.h.
References fIndexValues.
Referenced by TChainIndex::Append(), and TChainIndex::TChainIndex().
virtual Long64_t* TTreeIndex::GetIndex | ( | ) | const [inline, virtual] |
const char* TTreeIndex::GetMajorName | ( | ) | const [inline, virtual] |
Implements TVirtualIndex.
Definition at line 55 of file TTreeIndex.h.
References TString::Data(), and fMajorName.
const char* TTreeIndex::GetMinorName | ( | ) | const [inline, virtual] |
Implements TVirtualIndex.
Definition at line 56 of file TTreeIndex.h.
References TString::Data(), and fMinorName.
virtual Long64_t TTreeIndex::GetN | ( | ) | const [inline, virtual] |
TTreeFormula * TTreeIndex::GetMajorFormula | ( | ) | [virtual] |
Definition at line 336 of file TTreeIndex.cxx.
References TString::Data(), fMajorFormula, fMajorName, TVirtualIndex::fTree, kTRUE, and TTreeFormula::SetQuickLoad().
Referenced by TTreeIndex().
TTreeFormula * TTreeIndex::GetMinorFormula | ( | ) | [virtual] |
Definition at line 348 of file TTreeIndex.cxx.
References TString::Data(), fMinorFormula, fMinorName, TVirtualIndex::fTree, kTRUE, and TTreeFormula::SetQuickLoad().
Referenced by TTreeIndex().
TTreeFormula * TTreeIndex::GetMajorFormulaParent | ( | const TTree * | T | ) | [virtual] |
Definition at line 360 of file TTreeIndex.cxx.
References TString::Data(), fMajorFormulaParent, fMajorName, TTreeFormula::GetTree(), kTRUE, TTreeFormula::SetQuickLoad(), TTreeFormula::SetTree(), T, and TTreeFormula::UpdateFormulaLeaves().
Referenced by GetEntryNumberFriend().
TTreeFormula * TTreeIndex::GetMinorFormulaParent | ( | const TTree * | T | ) | [virtual] |
Definition at line 376 of file TTreeIndex.cxx.
References TString::Data(), fMinorFormulaParent, fMinorName, TTreeFormula::GetTree(), kTRUE, TTreeFormula::SetQuickLoad(), TTreeFormula::SetTree(), T, and TTreeFormula::UpdateFormulaLeaves().
Referenced by GetEntryNumberFriend().
void TTreeIndex::Print | ( | Option_t * | option = "" |
) | const [virtual] |
Reimplemented from TNamed.
Definition at line 393 of file TTreeIndex.cxx.
References TString::Contains(), TString::Data(), fIndex, fIndexValues, fMajorName, fMinorName, fN, TVirtualIndex::fTree, TNamed::GetName(), TNamed::GetTitle(), i, kFALSE, kTRUE, Long64_t, n, and Printf().
void TTreeIndex::UpdateFormulaLeaves | ( | const TTree * | parent | ) | [virtual] |
Implements TVirtualIndex.
Definition at line 470 of file TTreeIndex.cxx.
References fMajorFormula, fMajorFormulaParent, fMinorFormula, fMinorFormulaParent, TTreeFormula::SetTree(), and TTreeFormula::UpdateFormulaLeaves().
void TTreeIndex::SetTree | ( | const TTree * | T | ) | [virtual] |
Implements TVirtualIndex.
Definition at line 486 of file TTreeIndex.cxx.
References TVirtualIndex::fTree, and T.
TTreeIndex::ClassDef | ( | TTreeIndex | , | |
1 | ||||
) |
virtual void TTreeIndex::Append | ( | const TVirtualIndex * | , | |
Bool_t | delaySort = kFALSE | |||
) | [virtual] |
Implements TVirtualIndex.
Implements TVirtualIndex.
Implements TVirtualIndex.
virtual Long64_t TTreeIndex::GetEntryNumberWithBestIndex | ( | Int_t | major, | |
Int_t | minor | |||
) | const [virtual] |
Implements TVirtualIndex.
virtual Long64_t* TTreeIndex::GetIndexValues | ( | ) | const [inline, virtual] |
virtual Long64_t* TTreeIndex::GetIndex | ( | ) | const [inline, virtual] |
const char* TTreeIndex::GetMajorName | ( | ) | const [inline, virtual] |
Implements TVirtualIndex.
Definition at line 55 of file TTreeIndex.h.
References TString::Data(), and fMajorName.
const char* TTreeIndex::GetMinorName | ( | ) | const [inline, virtual] |
Implements TVirtualIndex.
Definition at line 56 of file TTreeIndex.h.
References TString::Data(), and fMinorName.
virtual Long64_t TTreeIndex::GetN | ( | ) | const [inline, virtual] |
virtual TTreeFormula* TTreeIndex::GetMajorFormula | ( | ) | [virtual] |
virtual TTreeFormula* TTreeIndex::GetMinorFormula | ( | ) | [virtual] |
virtual TTreeFormula* TTreeIndex::GetMajorFormulaParent | ( | const TTree * | T | ) | [virtual] |
virtual TTreeFormula* TTreeIndex::GetMinorFormulaParent | ( | const TTree * | T | ) | [virtual] |
virtual void TTreeIndex::Print | ( | Option_t * | option = "" |
) | const [virtual] |
Reimplemented from TNamed.
virtual void TTreeIndex::UpdateFormulaLeaves | ( | const TTree * | parent | ) | [virtual] |
Implements TVirtualIndex.
virtual void TTreeIndex::SetTree | ( | const TTree * | T | ) | [virtual] |
Implements TVirtualIndex.
TTreeIndex::ClassDef | ( | TTreeIndex | , | |
1 | ||||
) |
TString TTreeIndex::fMajorName [protected] |
Definition at line 35 of file TTreeIndex.h.
Referenced by GetMajorFormula(), GetMajorFormulaParent(), GetMajorName(), Print(), and TTreeIndex().
TString TTreeIndex::fMinorName [protected] |
Definition at line 36 of file TTreeIndex.h.
Referenced by GetMinorFormula(), GetMinorFormulaParent(), GetMinorName(), Print(), and TTreeIndex().
Long64_t TTreeIndex::fN [protected] |
Definition at line 37 of file TTreeIndex.h.
Referenced by Append(), GetEntryNumberWithBestIndex(), GetEntryNumberWithIndex(), GetN(), Print(), and TTreeIndex().
Long64_t* TTreeIndex::fIndexValues [protected] |
Definition at line 38 of file TTreeIndex.h.
Referenced by Append(), GetEntryNumberWithBestIndex(), GetEntryNumberWithIndex(), GetIndexValues(), Print(), TTreeIndex(), and ~TTreeIndex().
Long64_t* TTreeIndex::fIndex [protected] |
Definition at line 39 of file TTreeIndex.h.
Referenced by Append(), GetEntryNumberWithBestIndex(), GetEntryNumberWithIndex(), GetIndex(), Print(), TTreeIndex(), and ~TTreeIndex().
TTreeFormula* TTreeIndex::fMajorFormula [protected] |
Definition at line 40 of file TTreeIndex.h.
Referenced by GetMajorFormula(), TTreeIndex(), UpdateFormulaLeaves(), and ~TTreeIndex().
TTreeFormula* TTreeIndex::fMinorFormula [protected] |
Pointer to major TreeFormula.
Definition at line 41 of file TTreeIndex.h.
Referenced by GetMinorFormula(), TTreeIndex(), UpdateFormulaLeaves(), and ~TTreeIndex().
TTreeFormula* TTreeIndex::fMajorFormulaParent [protected] |
Pointer to minor TreeFormula.
Definition at line 42 of file TTreeIndex.h.
Referenced by GetEntryNumberFriend(), GetMajorFormulaParent(), TTreeIndex(), UpdateFormulaLeaves(), and ~TTreeIndex().
TTreeFormula* TTreeIndex::fMinorFormulaParent [protected] |
Pointer to major TreeFormula in Parent tree (if any).
Definition at line 43 of file TTreeIndex.h.
Referenced by GetEntryNumberFriend(), GetMinorFormulaParent(), TTreeIndex(), UpdateFormulaLeaves(), and ~TTreeIndex().
Long64_t* TTreeIndex::fIndexValues [protected] |
Definition at line 38 of file TTreeIndex.h.
Long64_t* TTreeIndex::fIndex [protected] |
Definition at line 39 of file TTreeIndex.h.
TTreeFormula* TTreeIndex::fMajorFormula [protected] |
Definition at line 40 of file TTreeIndex.h.
TTreeFormula* TTreeIndex::fMinorFormula [protected] |
TTreeFormula* TTreeIndex::fMajorFormulaParent [protected] |
TTreeFormula* TTreeIndex::fMinorFormulaParent [protected] |