ROOT
v6-20
Reference Guide
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
#include "
TGFrame.h
"
25
26
class
TGLabel
;
27
class
TGTextEntry
;
28
class
TGTextButton
;
29
30
class
TTreeInput
:
public
TGTransientFrame
{
31
32
private
:
33
TGTextEntry
*
fTEVars
;
// text entry widget for variables
34
TGTextEntry
*
fTECuts
;
// text entry widget for cuts
35
TGTextButton
*
fOk
;
// ok button
36
TGTextButton
*
fCancel
;
// cancel button
37
char
*
fStrvars
;
// address to store variables string
38
char
*
fStrcuts
;
// address to store cuts string
39
40
TTreeInput
(
const
TTreeInput
&);
// Not implemented
41
TTreeInput
&
operator=
(
const
TTreeInput
&);
// Not implemented
42
43
public
:
44
TTreeInput
(
const
TGWindow
*p,
const
TGWindow
*
main
,
45
char
*strvars,
char
* strcuts);
46
~TTreeInput
();
47
virtual
Bool_t
ProcessMessage
(
Long_t
msg,
Long_t
parm1,
Long_t
);
48
49
ClassDef
(
TTreeInput
, 0)
// Simple input dialog
50
51
};
52
53
#endif
Long_t
long Long_t
Definition:
RtypesCore.h:50
Bool_t
bool Bool_t
Definition:
RtypesCore.h:59
ClassDef
#define ClassDef(name, id)
Definition:
Rtypes.h:326
TGFrame.h
TGLabel
Definition:
TGLabel.h:32
TGTextButton
Definition:
TGButton.h:142
TGTextEntry
Definition:
TGTextEntry.h:39
TGTransientFrame
Definition:
TGFrame.h:575
TGWindow
Definition:
TGWindow.h:32
TTreeInput
Definition:
TTreeInput.h:30
TTreeInput::ProcessMessage
virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t)
Handle button and text enter events.
Definition:
TTreeInput.cxx:130
TTreeInput::fOk
TGTextButton * fOk
Definition:
TTreeInput.h:35
TTreeInput::fStrcuts
char * fStrcuts
Definition:
TTreeInput.h:38
TTreeInput::fStrvars
char * fStrvars
Definition:
TTreeInput.h:37
TTreeInput::operator=
TTreeInput & operator=(const TTreeInput &)
TTreeInput::~TTreeInput
~TTreeInput()
Cleanup dialog.
Definition:
TTreeInput.cxx:122
TTreeInput::TTreeInput
TTreeInput(const TTreeInput &)
TTreeInput::fTECuts
TGTextEntry * fTECuts
Definition:
TTreeInput.h:34
TTreeInput::fTEVars
TGTextEntry * fTEVars
Definition:
TTreeInput.h:33
TTreeInput::fCancel
TGTextButton * fCancel
Definition:
TTreeInput.h:36
main
int main(int argc, char **argv)
Definition:
histspeedtest.cxx:752
gui
fitpanel
inc
TTreeInput.h
ROOT v6-20 - Reference Guide Generated on Fri Apr 1 2022 00:20:47 (GVA Time) using Doxygen 1.9.4