Logo ROOT  
Reference Guide
TTreeViewer.h
Go to the documentation of this file.
1 // @(#)root/treeviewer:$Id$
2 //Author : Andrei Gheata 16/08/00
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_TTreeViewer
13 #define ROOT_TTreeViewer
14 
15 ////////////////////////////////////////////////////
16 // //
17 // TTreeViewer - A GUI oriented tree viewer //
18 // //
19 ////////////////////////////////////////////////////
20 
21 #include "TGFrame.h"
22 
23 #include "TTree.h"
24 
25 class TTVLVContainer;
26 class TTVLVEntry;
27 class TTVSession;
28 class TGSelectBox;
29 class TBranch;
30 class TContextMenu;
31 class TList;
32 class TGPicture;
33 class TTimer;
34 class TGLayoutHints;
35 class TGMenuBar;
36 class TGPopupMenu;
37 class TGToolBar;
38 class TGLabel;
39 class TGCheckButton;
40 class TGComboBox;
41 class TGTextButton;
42 class TGTextEntry;
43 class TGDoubleVSlider;
44 class TGPictureButton;
45 class TGStatusBar;
46 class TGCanvas;
47 class TGListTree;
48 class TGListTreeItem;
49 class TGListView;
50 class TGHProgressBar;
51 class TGButton;
52 
53 
54 class TTreeViewer : public TGMainFrame {
55 
56 friend class TGClient;
57 friend class TGButton;
58 
59 public:
60  //---- item types used as user data
62  kLTNoType = 0,
70  kLTCutType = BIT(7)
71  };
72 
73 private:
74  TTree *fTree; // selected tree
75  TTVSession *fSession; // current tree-viewer session
76  const char *fFilename; // name of the file containing the tree
77  const char *fSourceFile; // name of the C++ source file - default treeviewer.C
78  TString fLastOption; // last graphic option
79  TTree *fMappedTree; // listed tree
80  TBranch *fMappedBranch; // listed branch
81  Int_t fDimension; // histogram dimension
82  Bool_t fVarDraw; // true if an item is double-clicked
83  Bool_t fScanMode; // flag activated when Scan Box is double-clicked
84  TContextMenu *fContextMenu; // context menu for tree viewer
85  TGSelectBox *fDialogBox; // expression editor
86  TList *fTreeList; // list of mapped trees
87  Int_t fTreeIndex; // index of current tree in list
88  const TGPicture *fPicX, *fPicY, *fPicZ; // pictures for X, Y and Z expressions
89  const TGPicture *fPicDraw, *fPicStop; // pictures for Draw/Stop buttons
90  const TGPicture *fPicRefr; // pictures for Refresh buttons //ia
91  Cursor_t fDefaultCursor; // default cursor
92  Cursor_t fWatchCursor; // watch cursor
93  TTimer *fTimer; // tree viewer timer
94  Bool_t fCounting; // true if timer is counting
95  Bool_t fStopMapping; // true if branch don't need remapping
96  Bool_t fEnableCut; // true if cuts are enabled
97  Int_t fNexpressions; // number of expression widgets
98 // menu bar, menu bar entries and layouts
111 // toolbar and hints
114 // widgets on the toolbar
115  TGLabel *fBarLbl1; // label of command text entry
116  TGLabel *fBarLbl2; // label of option text entry
117  TGLabel *fBarLbl3; // label of histogram name text entry
118  TGCheckButton *fBarH; // checked for drawing current histogram with different graphic option
119  TGCheckButton *fBarScan; // checked for tree scan
120  TGCheckButton *fBarRec; // command recording toggle
121  TGTextEntry *fBarCommand; // user command entry
122  TGTextEntry *fBarOption; // histogram drawing option entry
123  TGTextEntry *fBarHist; // histogram name entry
124 // frames
125  TGHorizontalFrame *fHf; // main horizontal frame
126  TGDoubleVSlider *fSlider; // vertical slider to select processed tree entries;
127  TGVerticalFrame *fV1; // list tree mother
128  TGVerticalFrame *fV2; // list view mother
129  TGCompositeFrame *fTreeHdr; // header for list tree
130  TGCompositeFrame *fListHdr; // header for list view
131  TGLabel *fLbl1; // label for list tree
132  TGLabel *fLbl2; // label for list view
133  TGHorizontalFrame *fBFrame; // button frame
134  TGHorizontalFrame *fHpb; // progress bar frame
135  TGHProgressBar *fProgressBar; // progress bar
136  TGLabel *fBLbl4; // label for input list entry
137  TGLabel *fBLbl5; // label for output list entry
138  TGTextEntry *fBarListIn; // tree input event list name entry
139  TGTextEntry *fBarListOut; // tree output event list name entry
140  TGPictureButton *fDRAW; // DRAW button
141  TGTextButton *fSPIDER; // SPIDER button
142  TGPictureButton *fSTOP; // interrupt current command (not yet)
143  TGPictureButton *fREFR; // REFRESH button //ia
144  TGStatusBar *fStatusBar; // status bar
145  TGComboBox *fCombo; // combo box with session records
151  TGTextButton *fReset; // clear expression's entries
152 // ListTree
153  TGCanvas *fTreeView; // ListTree canvas container
154  TGListTree *fLt; // ListTree with file and tree items
155 // ListView
156  TGListView *fListView; // ListView with branches and leaves
157  TTVLVContainer *fLVContainer; // container for listview
158 
159  TList *fWidgets; // list of widgets to be deleted
160 
161 private:
162 // private methods
163  void BuildInterface();
164  const char *Cut();
165  Int_t Dimension();
166  const char *EmptyBrackets(const char* name);
167  const char *Ex();
168  const char *Ey();
169  const char *Ez();
170  const char *En(Int_t n);
171  void MapBranch(TBranch *branch, const char *prefix="", TGListTreeItem *parent = 0, Bool_t listIt = kTRUE);
172  void MapOptions(Long_t parm1);
173  void MapTree(TTree *tree, TGListTreeItem *parent = 0, Bool_t listIt = kTRUE);
174  void SetFile();
175  const char *ScanList();
176  void SetParentTree(TGListTreeItem *item);
177  void DoError(int level, const char *location, const char *fmt, va_list va) const;
178 
179 public:
180  TTreeViewer(const char* treeName = 0);
181  TTreeViewer(const TTree *tree);
182  virtual ~TTreeViewer();
183 // public methods
184  void AppendTree(TTree *tree);
185  void ActivateButtons(Bool_t first, Bool_t previous,
186  Bool_t next , Bool_t last);
187  virtual void CloseWindow();
188  virtual void Delete(Option_t *) { } // *MENU*
189  void DoRefresh();
190  void EditExpression();
191  void Empty();
192  void EmptyAll(); // *MENU*
193  void ExecuteCommand(const char* command, Bool_t fast = kFALSE); // *MENU*
194  void ExecuteDraw();
195  void ExecuteSpider();
198  const char *GetGrOpt();
199  TTree *GetTree() {return fTree;}
200  Bool_t HandleTimer(TTimer *timer);
203  Int_t MakeSelector(const char* selector = 0); // *MENU*
204  void Message(const char* msg);
205  void NewExpression(); // *MENU*
206  void PrintEntries();
207  Long64_t Process(const char* filename, Option_t *option="", Long64_t nentries=TTree::kMaxEntries, Long64_t firstentry=0); // *MENU*
208  Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
209  void RemoveItem();
210  void RemoveLastRecord(); // *MENU*
211  void SaveSource(const char* filename="", Option_t *option=""); // *MENU*
212  void SetHistogramTitle(const char *title);
213  void SetCutMode(Bool_t enabled = kTRUE) {fEnableCut = enabled;}
214  void SetCurrentRecord(Long64_t entry);
215  void SetGrOpt(const char *option);
216  void SetNexpressions(Int_t expr);
217  void SetRecordName(const char *name); // *MENU*
218  void SetScanFileName(const char *name=""); // *MENU*
219  void SetScanMode(Bool_t mode=kTRUE) {fScanMode = mode;}
220  void SetScanRedirect(Bool_t mode);
221  void SetSession(TTVSession *session);
222  void SetUserCode(const char *code, Bool_t autoexec=kTRUE); // *MENU*
223  void SetTree(TTree* tree);
224  void SetTreeName(const char* treeName); // *MENU*
225  Bool_t SwitchTree(Int_t index);
226  void UpdateCombo();
227  void UpdateRecord(const char *name="new name"); // *MENU*
228 
229  ClassDef(TTreeViewer,0) // A GUI oriented tree viewer
230 };
231 
232 #endif
TTreeViewer::fMappedBranch
TBranch * fMappedBranch
Definition: TTreeViewer.h:80
TTVSession
I/O classes for TreeViewer session handling.
Definition: TTVSession.h:70
TTreeViewer::fMenuBarLayout
TGLayoutHints * fMenuBarLayout
Definition: TTreeViewer.h:99
n
const Int_t n
Definition: legend1.C:16
TGSelectBox
This class represent a specialized expression editor for TTVLVEntry 'true name' and 'alias' data memb...
Definition: TTVLVContainer.h:156
first
Definition: first.py:1
TTreeViewer::fBarLayout
TGLayoutHints * fBarLayout
Definition: TTreeViewer.h:113
kTRUE
const Bool_t kTRUE
Definition: RtypesCore.h:91
TTreeViewer::fREFR
TGPictureButton * fREFR
Definition: TTreeViewer.h:143
TTreeViewer::kLTPackType
@ kLTPackType
Definition: TTreeViewer.h:63
TTreeViewer::SetScanMode
void SetScanMode(Bool_t mode=kTRUE)
Definition: TTreeViewer.h:219
TTreeViewer::ScanList
const char * ScanList()
returns scanlist
Definition: TTreeViewer.cxx:1276
TGMainFrame
Definition: TGFrame.h:443
TGPicture
Definition: TGPicture.h:36
TTreeViewer::ProcessMessage
Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
Handle menu and other commands generated.
Definition: TTreeViewer.cxx:1792
TTreeViewer::fBarRec
TGCheckButton * fBarRec
Definition: TTreeViewer.h:120
Option_t
const char Option_t
Definition: RtypesCore.h:66
TTreeViewer::fStatusBar
TGStatusBar * fStatusBar
Definition: TTreeViewer.h:144
TTreeViewer::fSession
TTVSession * fSession
Definition: TTreeViewer.h:75
TTreeViewer::EmptyBrackets
const char * EmptyBrackets(const char *name)
Empty the bracket content of a string.
Definition: TTreeViewer.cxx:1295
TTreeViewer::EditExpression
void EditExpression()
Start the expression editor.
Definition: TTreeViewer.cxx:1669
TTreeViewer::fNexpressions
Int_t fNexpressions
Definition: TTreeViewer.h:97
TTreeViewer::fBLbl5
TGLabel * fBLbl5
Definition: TTreeViewer.h:137
TTreeViewer::fBarH
TGCheckButton * fBarH
Definition: TTreeViewer.h:118
TTreeViewer::SetUserCode
void SetUserCode(const char *code, Bool_t autoexec=kTRUE)
user defined command for current record
Definition: TTreeViewer.cxx:2885
TTreeViewer::DoRefresh
void DoRefresh()
This slot is called when button REFR is clicked.
Definition: TTreeViewer.cxx:2915
TTreeViewer::SetParentTree
void SetParentTree(TGListTreeItem *item)
Find parent tree of a clicked item.
Definition: TTreeViewer.cxx:2637
tree
Definition: tree.py:1
TTreeViewer::fBFrame
TGHorizontalFrame * fBFrame
Definition: TTreeViewer.h:133
TTreeViewer::fSPIDER
TGTextButton * fSPIDER
Definition: TTreeViewer.h:141
TTreeViewer::fOptionsGen
TGPopupMenu * fOptionsGen
Definition: TTreeViewer.h:107
TTreeViewer::SetTreeName
void SetTreeName(const char *treeName)
Allow geting the tree from the context menu.
Definition: TTreeViewer.cxx:516
TTreeViewer::SetRecordName
void SetRecordName(const char *name)
Set record name.
Definition: TTreeViewer.cxx:2856
TTVLVContainer
This class represent the list view container for the.
Definition: TTVLVContainer.h:110
TTreeViewer::kLTBranchType
@ kLTBranchType
Definition: TTreeViewer.h:65
TTreeViewer::SwitchTree
Bool_t SwitchTree(Int_t index)
Makes current the tree at a given index in the list.
Definition: TTreeViewer.cxx:2823
Long64_t
long long Long64_t
Definition: RtypesCore.h:73
TTreeViewer::fEditMenu
TGPopupMenu * fEditMenu
Definition: TTreeViewer.h:104
TTreeViewer::GetTree
TTree * GetTree()
Definition: TTreeViewer.h:199
TGLabel
Definition: TGLabel.h:32
TTree
A TTree represents a columnar dataset.
Definition: TTree.h:79
TGToolBar
Definition: TGToolBar.h:42
TTreeViewer::ExecuteSpider
void ExecuteSpider()
Draw a spider plot for the selected entries.
Definition: TTreeViewer.cxx:1551
TTreeViewer::Message
void Message(const char *msg)
Send a message on the status bar.
Definition: TTreeViewer.cxx:2656
TTreeViewer::fTreeList
TList * fTreeList
Definition: TTreeViewer.h:86
TTreeViewer::fTimer
TTimer * fTimer
Definition: TTreeViewer.h:93
TGTextButton
Definition: TGButton.h:142
Int_t
int Int_t
Definition: RtypesCore.h:45
TTreeViewer::ActivateButtons
void ActivateButtons(Bool_t first, Bool_t previous, Bool_t next, Bool_t last)
Enable/disable session buttons.
Definition: TTreeViewer.cxx:1252
TTreeViewer::ExecuteDraw
void ExecuteDraw()
Called when the DRAW button is executed.
Definition: TTreeViewer.cxx:1382
TTreeViewer::fPicStop
const TGPicture * fPicStop
Definition: TTreeViewer.h:89
TGListTree
Definition: TGListTree.h:210
TTreeViewer::kLTLeafType
@ kLTLeafType
Definition: TTreeViewer.h:66
TTreeViewer::fFileMenu
TGPopupMenu * fFileMenu
Definition: TTreeViewer.h:103
TTreeViewer::fPicRefr
const TGPicture * fPicRefr
Definition: TTreeViewer.h:90
TTreeViewer::fListHdr
TGCompositeFrame * fListHdr
Definition: TTreeViewer.h:130
TTreeViewer::fBGNext
TGPictureButton * fBGNext
Definition: TTreeViewer.h:149
TTreeViewer::fProgressBar
TGHProgressBar * fProgressBar
Definition: TTreeViewer.h:135
TTreeViewer::NewExpression
void NewExpression()
Create new expression.
Definition: TTreeViewer.cxx:2616
TTreeViewer::fOptionsMenu
TGPopupMenu * fOptionsMenu
Definition: TTreeViewer.h:106
TTreeViewer
A graphic user interface designed to handle ROOT trees and to take advantage of TTree class features.
Definition: TTreeViewer.h:54
nentries
int nentries
Definition: THbookFile.cxx:91
TTreeViewer::Cut
const char * Cut()
Apply Cut.
Definition: TTreeViewer.cxx:1268
TTreeViewer::SaveSource
void SaveSource(const char *filename="", Option_t *option="")
Save current session as a C++ macro file.
Definition: TTreeViewer.cxx:2713
TTreeViewer::fCombo
TGComboBox * fCombo
Definition: TTreeViewer.h:145
TTreeViewer::fLt
TGListTree * fLt
Definition: TTreeViewer.h:154
TTreeViewer::PrintEntries
void PrintEntries()
Print the number of selected entries on status-bar.
Definition: TTreeViewer.cxx:2700
TGHorizontalFrame
Definition: TGFrame.h:422
TTreeViewer::fLbl2
TGLabel * fLbl2
Definition: TTreeViewer.h:132
TTree.h
TTreeViewer::fBarLbl1
TGLabel * fBarLbl1
Definition: TTreeViewer.h:115
TTreeViewer::fWidgets
TList * fWidgets
Definition: TTreeViewer.h:159
TString
Basic string class.
Definition: TString.h:136
TTreeViewer::fMenuBar
TGMenuBar * fMenuBar
Definition: TTreeViewer.h:102
TTreeViewer::fListView
TGListView * fListView
Definition: TTreeViewer.h:156
TTreeViewer::UpdateCombo
void UpdateCombo()
Updates combo box to current session entries.
Definition: TTreeViewer.cxx:2894
Bool_t
bool Bool_t
Definition: RtypesCore.h:63
TTreeViewer::Ex
const char * Ex()
Get the expression to be drawn on X axis.
Definition: TTreeViewer.cxx:1635
TGListView
Definition: TGListView.h:133
TTreeViewer::fBLbl4
TGLabel * fBLbl4
Definition: TTreeViewer.h:136
TTreeViewer::fBarLbl2
TGLabel * fBarLbl2
Definition: TTreeViewer.h:116
TTreeViewer::GetGrOpt
const char * GetGrOpt()
Get graph option.
Definition: TTreeViewer.cxx:1721
bool
TTreeViewer::fLastOption
TString fLastOption
Definition: TTreeViewer.h:78
Cursor_t
Handle_t Cursor_t
Cursor handle.
Definition: GuiTypes.h:34
TTreeViewer::SetCurrentRecord
void SetCurrentRecord(Long64_t entry)
Set current record.
Definition: TTreeViewer.cxx:2864
TTreeViewer::fVarDraw
Bool_t fVarDraw
Definition: TTreeViewer.h:82
TTreeViewer::ExpressionList
TList * ExpressionList()
Get the list of expression items.
Definition: TTreeViewer.cxx:1362
TTreeViewer::fFilename
const char * fFilename
Definition: TTreeViewer.h:76
TTreeViewer::MapOptions
void MapOptions(Long_t parm1)
Scan the selected options from option menu.
Definition: TTreeViewer.cxx:2335
TTreeViewer::Ez
const char * Ez()
Get the expression to be drawn on Z axis.
Definition: TTreeViewer.cxx:1651
TTreeViewer::Dimension
Int_t Dimension()
Compute dimension of the histogram.
Definition: TTreeViewer.cxx:1370
TTreeViewer::SetScanFileName
void SetScanFileName(const char *name="")
Set the name of the file where to redirect <Scan> output.
Definition: TTreeViewer.cxx:462
TTreeViewer::MakeSelector
Int_t MakeSelector(const char *selector=0)
Get use of TTree::MakeSelector() via the context menu.
Definition: TTreeViewer.cxx:1703
TGStatusBar
Definition: TGStatusBar.h:29
TContextMenu
This class provides an interface to context sensitive popup menus.
Definition: TContextMenu.h:44
TGCheckButton
Definition: TGButton.h:264
TBranch
A TTree is a list of TBranches.
Definition: TBranch.h:89
TTreeViewer::fReset
TGTextButton * fReset
Definition: TTreeViewer.h:151
TTreeViewer::SetCutMode
void SetCutMode(Bool_t enabled=kTRUE)
Definition: TTreeViewer.h:213
TTreeViewer::RemoveLastRecord
void RemoveLastRecord()
Remove the current record.
Definition: TTreeViewer.cxx:1767
TTimer
Handles synchronous and a-synchronous timer events.
Definition: TTimer.h:51
TTreeViewer::fContextMenu
TContextMenu * fContextMenu
Definition: TTreeViewer.h:84
TGHProgressBar
Definition: TGProgressBar.h:106
TTreeViewer::TTreeViewer
TTreeViewer(const char *treeName=0)
TTreeViewer default constructor.
Definition: TTreeViewer.cxx:317
TTreeViewer::fSourceFile
const char * fSourceFile
Definition: TTreeViewer.h:77
TTreeViewer::fBarOption
TGTextEntry * fBarOption
Definition: TTreeViewer.h:122
TTreeViewer::kLTExpressionType
@ kLTExpressionType
Definition: TTreeViewer.h:69
TTreeViewer::fBarCommand
TGTextEntry * fBarCommand
Definition: TTreeViewer.h:121
TTreeViewer::ExpressionItem
TTVLVEntry * ExpressionItem(Int_t index)
Get the item from a specific position.
Definition: TTreeViewer.cxx:1354
TTreeViewer::fTree
TTree * fTree
Definition: TTreeViewer.h:74
TGVerticalFrame
Definition: TGFrame.h:411
TTreeViewer::fPicX
const TGPicture * fPicX
Definition: TTreeViewer.h:88
TTreeViewer::fCounting
Bool_t fCounting
Definition: TTreeViewer.h:94
TTreeViewer::fHf
TGHorizontalFrame * fHf
Definition: TTreeViewer.h:125
TTreeViewer::SetTree
void SetTree(TTree *tree)
Assign the fTree member from existing tree, e.g.
Definition: TTreeViewer.cxx:480
TGTextEntry
Definition: TGTextEntry.h:39
TTreeViewer::SetFile
void SetFile()
Set file name containing the tree.
Definition: TTreeViewer.cxx:581
TTreeViewer::fLVContainer
TTVLVContainer * fLVContainer
Definition: TTreeViewer.h:157
TTreeViewer::fTreeView
TGCanvas * fTreeView
Definition: TTreeViewer.h:153
TTreeViewer::fToolBar
TGToolBar * fToolBar
Definition: TTreeViewer.h:112
kFALSE
const Bool_t kFALSE
Definition: RtypesCore.h:92
TTreeViewer::fStopMapping
Bool_t fStopMapping
Definition: TTreeViewer.h:95
TTreeViewer::fPicDraw
const TGPicture * fPicDraw
Definition: TTreeViewer.h:89
TTreeViewer::fHpb
TGHorizontalFrame * fHpb
Definition: TTreeViewer.h:134
TGFrame.h
TTreeViewer::fBGLast
TGPictureButton * fBGLast
Definition: TTreeViewer.h:150
Long_t
long Long_t
Definition: RtypesCore.h:54
TTreeViewer::fMappedTree
TTree * fMappedTree
Definition: TTreeViewer.h:79
TTreeViewer::HandleTimer
Bool_t HandleTimer(TTimer *timer)
This function is called by the fTimer object.
Definition: TTreeViewer.cxx:1775
TGLayoutHints
Definition: TGLayout.h:57
BIT
#define BIT(n)
Definition: Rtypes.h:85
TTreeViewer::BuildInterface
void BuildInterface()
Create all viewer widgets.
Definition: TTreeViewer.cxx:607
TTreeViewer::kLTCutType
@ kLTCutType
Definition: TTreeViewer.h:70
TTreeViewer::kLTTreeType
@ kLTTreeType
Definition: TTreeViewer.h:64
TTreeViewer::fWatchCursor
Cursor_t fWatchCursor
Definition: TTreeViewer.h:92
TTreeViewer::fDefaultCursor
Cursor_t fDefaultCursor
Definition: TTreeViewer.h:91
TTreeViewer::fOptions2D
TGPopupMenu * fOptions2D
Definition: TTreeViewer.h:109
TTreeViewer::SetSession
void SetSession(TTVSession *session)
Set current session.
Definition: TTreeViewer.cxx:1284
TTreeViewer::SetGrOpt
void SetGrOpt(const char *option)
Set graph option.
Definition: TTreeViewer.cxx:1729
TTreeViewer::fBarListOut
TGTextEntry * fBarListOut
Definition: TTreeViewer.h:139
TTreeViewer::UpdateRecord
void UpdateRecord(const char *name="new name")
Updates current record to new X, Y, Z items.
Definition: TTreeViewer.cxx:2907
TTreeViewer::fSlider
TGDoubleVSlider * fSlider
Definition: TTreeViewer.h:126
TGComboBox
Definition: TGComboBox.h:67
TGDoubleVSlider
Definition: TGDoubleSlider.h:206
TTreeViewer::IsCutEnabled
Bool_t IsCutEnabled()
Definition: TTreeViewer.h:201
TTreeViewer::~TTreeViewer
virtual ~TTreeViewer()
TTreeViewer destructor.
Definition: TTreeViewer.cxx:1166
TTreeViewer::fRunMenu
TGPopupMenu * fRunMenu
Definition: TTreeViewer.h:105
TTreeViewer::Process
Long64_t Process(const char *filename, Option_t *option="", Long64_t nentries=TTree::kMaxEntries, Long64_t firstentry=0)
Get use of TTree::Process() via the context menu.
Definition: TTreeViewer.cxx:1712
TTreeViewer::AppendTree
void AppendTree(TTree *tree)
Allow geting the tree from the context menu.
Definition: TTreeViewer.cxx:387
TTreeViewer::fBarLbl3
TGLabel * fBarLbl3
Definition: TTreeViewer.h:117
TTreeViewer::RemoveItem
void RemoveItem()
Remove the selected item from the list.
Definition: TTreeViewer.cxx:1745
TTreeViewer::MapBranch
void MapBranch(TBranch *branch, const char *prefix="", TGListTreeItem *parent=0, Bool_t listIt=kTRUE)
Map current branch and expand its content in the list view.
Definition: TTreeViewer.cxx:2459
TTreeViewer::fPicY
const TGPicture * fPicY
Definition: TTreeViewer.h:88
TTreeViewer::fBGFirst
TGPictureButton * fBGFirst
Definition: TTreeViewer.h:146
TTreeViewer::EListItemType
EListItemType
Definition: TTreeViewer.h:61
TTreeViewer::kLTActionType
@ kLTActionType
Definition: TTreeViewer.h:67
TTreeViewer::En
const char * En(Int_t n)
Get the n'th expression.
Definition: TTreeViewer.cxx:1659
TTreeViewer::kLTNoType
@ kLTNoType
Definition: TTreeViewer.h:62
TTreeViewer::fMenuBarItemLayout
TGLayoutHints * fMenuBarItemLayout
Definition: TTreeViewer.h:100
TTreeViewer::fDRAW
TGPictureButton * fDRAW
Definition: TTreeViewer.h:140
TTreeViewer::fLbl1
TGLabel * fLbl1
Definition: TTreeViewer.h:131
TTreeViewer::EmptyAll
void EmptyAll()
Clear the content of all items in the list view.
Definition: TTreeViewer.cxx:1322
TTreeViewer::CloseWindow
virtual void CloseWindow()
Close the viewer.
Definition: TTreeViewer.cxx:2298
TTreeViewer::DoError
void DoError(int level, const char *location, const char *fmt, va_list va) const
Put error/warning into TMsgBox and also forward to console.
Definition: TTreeViewer.cxx:2664
TTreeViewer::SetScanRedirect
void SetScanRedirect(Bool_t mode)
Set the state of Scan check button.
Definition: TTreeViewer.cxx:469
TGPictureButton
Definition: TGButton.h:228
TTreeViewer::fHelpMenu
TGPopupMenu * fHelpMenu
Definition: TTreeViewer.h:110
TTVLVEntry
This class represent entries that goes into the TreeViewer listview container.
Definition: TTVLVContainer.h:56
TTreeViewer::IsScanRedirected
Bool_t IsScanRedirected()
Return kTRUE if scan is redirected.
Definition: TTreeViewer.cxx:1737
TTreeViewer::fScanMode
Bool_t fScanMode
Definition: TTreeViewer.h:83
TTreeViewer::SetHistogramTitle
void SetHistogramTitle(const char *title)
Set title of Histogram.
Definition: TTreeViewer.cxx:2872
TTreeViewer::fMenuBarHelpLayout
TGLayoutHints * fMenuBarHelpLayout
Definition: TTreeViewer.h:101
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
TTreeViewer::Ey
const char * Ey()
Get the expression to be drawn on Y axis.
Definition: TTreeViewer.cxx:1643
TTreeViewer::fDimension
Int_t fDimension
Definition: TTreeViewer.h:81
TTreeViewer::fOptions1D
TGPopupMenu * fOptions1D
Definition: TTreeViewer.h:108
TGPopupMenu
Definition: TGMenu.h:123
TTreeViewer::kLTDragType
@ kLTDragType
Definition: TTreeViewer.h:68
TTreeViewer::ExecuteCommand
void ExecuteCommand(const char *command, Bool_t fast=kFALSE)
Execute all user commands.
Definition: TTreeViewer.cxx:2306
name
char name[80]
Definition: TGX11.cxx:110
TTreeViewer::fBarScan
TGCheckButton * fBarScan
Definition: TTreeViewer.h:119
TTreeViewer::Delete
virtual void Delete(Option_t *)
Delete this object.
Definition: TTreeViewer.h:188
TTreeViewer::fDialogBox
TGSelectBox * fDialogBox
Definition: TTreeViewer.h:85
TTreeViewer::fBarHist
TGTextEntry * fBarHist
Definition: TTreeViewer.h:123
TTreeViewer::fV2
TGVerticalFrame * fV2
Definition: TTreeViewer.h:128
TTreeViewer::fTreeHdr
TGCompositeFrame * fTreeHdr
Definition: TTreeViewer.h:129
TTreeViewer::fSTOP
TGPictureButton * fSTOP
Definition: TTreeViewer.h:142
TGMenuBar
Definition: TGMenu.h:304
TTreeViewer::fBGPrevious
TGPictureButton * fBGPrevious
Definition: TTreeViewer.h:147
TGButton
Definition: TGButton.h:68
TTreeViewer::Empty
void Empty()
Empty the content of the selected expression.
Definition: TTreeViewer.cxx:1330
TTreeViewer::MapTree
void MapTree(TTree *tree, TGListTreeItem *parent=0, Bool_t listIt=kTRUE)
Map current tree and expand its content (including friends) in the lists.
Definition: TTreeViewer.cxx:2413
TTreeViewer::SetNexpressions
void SetNexpressions(Int_t expr)
Change the number of expression widgets.
Definition: TTreeViewer.cxx:452
TGCompositeFrame
Definition: TGFrame.h:323
TTree::kMaxEntries
static constexpr Long64_t kMaxEntries
Definition: TTree.h:225
TGCanvas
Definition: TGCanvas.h:202
TTreeViewer::fBarListIn
TGTextEntry * fBarListIn
Definition: TTreeViewer.h:138
TGListTreeItem
Definition: TGListTree.h:44
TTreeViewer::fBGRecord
TGPictureButton * fBGRecord
Definition: TTreeViewer.h:148
TTreeViewer::fTreeIndex
Int_t fTreeIndex
Definition: TTreeViewer.h:87
TTreeViewer::fEnableCut
Bool_t fEnableCut
Definition: TTreeViewer.h:96
TTreeViewer::fV1
TGVerticalFrame * fV1
Definition: TTreeViewer.h:127
TGClient
Definition: TGClient.h:46
TList
A doubly linked list.
Definition: TList.h:44
int
TTreeViewer::fPicZ
const TGPicture * fPicZ
Definition: TTreeViewer.h:88