// @(#)root/treeplayer:$Id$ // Author: Rene Brun 05/07/2004 /************************************************************************* * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. * * All rights reserved. * * * * For the licensing terms see $ROOTSYS/LICENSE. * * For the list of contributors see $ROOTSYS/README/CREDITS. * *************************************************************************/ #ifndef ROOT_TTreeIndex #define ROOT_TTreeIndex ////////////////////////////////////////////////////////////////////////// // // // TTreeIndex // // // // A Tree Index with majorname and minorname. // // // ////////////////////////////////////////////////////////////////////////// #include "TVirtualIndex.h" class TTreeFormula; class TTreeIndex : public TVirtualIndex { protected: TString fMajorName; ///< Index major name TString fMinorName; ///< Index minor name Long64_t fN; ///< Number of entries Long64_t *fIndexValues; ///<[fN] Sorted index values, higher 64bits Long64_t *fIndexValuesMinor; ///<[fN] Sorted index values, lower 64bits Long64_t *fIndex; ///<[fN] Index of sorted values TTreeFormula *fMajorFormula; ///