ROOT
6.06/09
Reference Guide
ROOT Home Page
Main Page
Related Pages
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
gui
fitpanel
inc
TTreeInput.h
Go to the documentation of this file.
1
// @(#)root/gui:$Id$
2
// Author: David Gonzalez Maline 21/10/2008
3
4
/*************************************************************************
5
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6
* All rights reserved. *
7
* *
8
* For the licensing terms see $ROOTSYS/LICENSE. *
9
* For the list of contributors see $ROOTSYS/README/CREDITS. *
10
*************************************************************************/
11
12
#ifndef ROOT_TTreeInput
13
#define ROOT_TTreeInput
14
15
///////////////////////////////////////////////////////////////////////////
16
// //
17
// Tree Input Dialog Widget //
18
// //
19
// An input dialog box to select the variables and the cuts from //
20
// a TTree //
21
// //
22
///////////////////////////////////////////////////////////////////////////
23
24
#ifndef ROOT_TGFrame
25
#include "
TGFrame.h
"
26
#endif
27
28
class
TGLabel
;
29
class
TGTextEntry
;
30
class
TGTextButton
;
31
32
class
TTreeInput
:
public
TGTransientFrame
{
33
34
private
:
35
TGTextEntry
*
fTEVars
;
// text entry widget for variables
36
TGTextEntry
*
fTECuts
;
// text entry widget for cuts
37
TGTextButton
*
fOk
;
// ok button
38
TGTextButton
*
fCancel
;
// cancel button
39
char
*
fStrvars
;
// address to store variables string
40
char
*
fStrcuts
;
// address to store cuts string
41
42
TTreeInput
(
const
TTreeInput
&);
// Not implemented
43
TTreeInput
&
operator=
(
const
TTreeInput
&);
// Not implemented
44
45
public
:
46
TTreeInput
(
const
TGWindow
*p,
const
TGWindow
*
main
,
47
char
*strvars,
char
* strcuts);
48
~TTreeInput
();
49
virtual
Bool_t
ProcessMessage
(
Long_t
msg,
Long_t
parm1,
Long_t
);
50
51
ClassDef
(
TTreeInput
, 0)
// Simple input dialog
52
53
};
54
55
#endif
TTreeInput::fTECuts
TGTextEntry * fTECuts
Definition:
TTreeInput.h:36
TGTextButton
Definition:
TGButton.h:146
TTreeInput
Definition:
TTreeInput.h:32
TTreeInput::~TTreeInput
~TTreeInput()
Cleanup dialog.
Definition:
TTreeInput.cxx:122
Bool_t
bool Bool_t
Definition:
RtypesCore.h:59
TGTextEntry
Definition:
TGTextEntry.h:45
TTreeInput::operator=
TTreeInput & operator=(const TTreeInput &)
ClassDef
#define ClassDef(name, id)
Definition:
Rtypes.h:254
TTreeInput::TTreeInput
TTreeInput(const TTreeInput &)
TGFrame.h
TTreeInput::ProcessMessage
virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t)
Handle button and text enter events.
Definition:
TTreeInput.cxx:130
TGWindow
Definition:
TGWindow.h:38
TGTransientFrame
Definition:
TGFrame.h:591
TTreeInput::fTEVars
TGTextEntry * fTEVars
Definition:
TTreeInput.h:35
Long_t
long Long_t
Definition:
RtypesCore.h:50
main
int main(int argc, char *argv[])
Definition:
python64.c:14
TTreeInput::fOk
TGTextButton * fOk
Definition:
TTreeInput.h:37
TTreeInput::fStrvars
char * fStrvars
Definition:
TTreeInput.h:39
TGLabel
Definition:
TGLabel.h:38
TTreeInput::fCancel
TGTextButton * fCancel
Definition:
TTreeInput.h:38
TTreeInput::fStrcuts
char * fStrcuts
Definition:
TTreeInput.h:40