33 Int_t GetUnID(
void) {
return ++nID ; }
48 virtual ~TableTest() ;
59 :
TGMainFrame(p, w,
h), fNTableRows(ntrows), fNTableColumns(ntcols),
63 Connect(
"CloseWindow()",
"TableTest",
this,
"DoExit()") ;
67 fFile =
new TFile(
"cernstaff.root");
69 if (!fFile || fFile->IsZombie()) {
70 printf(
"Please run <ROOT location>/tutorials/tree/cernbuild.C first.");
79 TString varexp =
"px:py:pz:random:sin(px):log(px/py):log(pz)";
80 TString select =
"px>0 && py>0 && pz>0";
88 SetWindowName(
"TGTreeTable Test") ;
91 Resize(GetDefaultWidth()+20, 600) ;
96TableTest::~TableTest()
103 void TableTest::DoExit()
115 TableTest *
test =
new TableTest(0, ntrows, ntcols, 500, 200);
116 return test->GetTable();
#define ClassDef(name, id)
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format.
TGTreeTable is a TGTable that owns it's own interface.
A TTree represents a columnar dataset.
RooCmdArg Layout(Double_t xmin, Double_t xmax=0.99, Double_t ymin=0.95)