#ifndef ROOT_TTreeIndex
#define ROOT_TTreeIndex
#ifndef ROOT_TVirtualIndex
#include "TVirtualIndex.h"
#endif
#ifndef ROOT_TTreeFormula
#include "TTreeFormula.h"
#endif
class TTreeIndex : public TVirtualIndex {
protected:
TString fMajorName;
TString fMinorName;
Long64_t fN;
Long64_t *fIndexValues;
Long64_t *fIndex;
TTreeFormula *fMajorFormula;
TTreeFormula *fMinorFormula;
TTreeFormula *fMajorFormulaParent;
TTreeFormula *fMinorFormulaParent;
public:
TTreeIndex();
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 {return fIndexValues;}
virtual Long64_t *GetIndex() const {return fIndex;}
const char *GetMajorName() const {return fMajorName.Data();}
const char *GetMinorName() const {return fMinorName.Data();}
virtual Long64_t GetN() const {return fN;}
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);
};
#endif
Last change: Wed Jun 25 08:54:23 2008
Last generated: 2008-06-25 08:54
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.