ROOT
6.12/07
Reference Guide
tree
treeviewer
inc
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
16
class
TTreeTableInterface
;
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
TGTable
Definition:
TGTable.h:34
TGTreeTable::TGTreeTable
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
TGTreeTable is a TGTable that owns it's own interface.
Definition:
TGTreeTable.h:19
Int_t
int Int_t
Definition:
RtypesCore.h:41
ClassDef
#define ClassDef(name, id)
Definition:
Rtypes.h:320
TGTreeTable::fTree
TTree * fTree
Definition:
TGTreeTable.h:22
TGWindow
Definition:
TGWindow.h:32
TGTreeTable::~TGTreeTable
~TGTreeTable()
TGTreeTable destructor.
Definition:
TGTreeTable.cxx:56
UInt_t
unsigned int UInt_t
Definition:
RtypesCore.h:42
tree
Definition:
tree.py:1
TTreeTableInterface
TTreeTableInterface is used to interface to data that is stored in a TTree.
Definition:
TTreeTableInterface.h:25
TTree
A TTree object has a header with a name and a title.
Definition:
TTree.h:70
TGTable.h