Logo ROOT   6.12/07
Reference Guide
TGTreeTable.h
Go to the documentation of this file.
1 // Author: Roel Aaij 30/08/2007
2 
3 /*************************************************************************
4  * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
5  * All rights reserved. *
6  * *
7  * For the licensing terms see $ROOTSYS/LICENSE. *
8  * For the list of contributors see $ROOTSYS/README/CREDITS. *
9  *************************************************************************/
10 
11 #ifndef ROOT_TGTreeTable
12 #define ROOT_TGTreeTable
13 
14 #include "TGTable.h"
15 
17 class TTree;
18 
19 class TGTreeTable : public TGTable {
20 
21 private:
22  TTree *fTree; // Pointer to the tree
23 
24 protected:
25 
26 public:
27  TGTreeTable(TGWindow *p = 0, Int_t id = -1, TTree *tree = 0,
28  const char *expression = 0, const char *selection = 0,
29  const char *option = 0, UInt_t nrows = 50, UInt_t ncolumns = 10);
30  ~TGTreeTable();
31 
32  ClassDef(TGTreeTable, 0) // A TGTable that owns it's TTreeTableIngeface.
33 };
34 
35 #endif
TGTreeTable(TGWindow *p=0, Int_t id=-1, TTree *tree=0, const char *expression=0, const char *selection=0, const char *option=0, UInt_t nrows=50, UInt_t ncolumns=10)
TGTreeTable constructor.
Definition: TGTreeTable.cxx:42
TGTreeTable is a TGTable that owns it's own interface.
Definition: TGTreeTable.h:19
int Int_t
Definition: RtypesCore.h:41
#define ClassDef(name, id)
Definition: Rtypes.h:320
TTree * fTree
Definition: TGTreeTable.h:22
~TGTreeTable()
TGTreeTable destructor.
Definition: TGTreeTable.cxx:56
unsigned int UInt_t
Definition: RtypesCore.h:42
Definition: tree.py:1
TTreeTableInterface is used to interface to data that is stored in a TTree.
A TTree object has a header with a name and a title.
Definition: TTree.h:70