1 #ifndef QWEVENTDISPLAY_H
2 #define QWEVENTDISPLAY_H
19 #ifndef ROOT_RQ_OBJECT
20 #include "RQ_OBJECT.h"
40 #ifndef ROOT_TPaveLabel
41 #include <TPaveLabel.h>
43 #ifndef ROOT_TPaveText
44 #include <TPaveText.h>
46 #ifndef ROOT_TPolyMarker
47 #include <TPolyMarker.h>
49 #ifndef ROOT_TGuiBldHintsButton
50 #include "TGuiBldHintsButton.h"
52 #ifndef ROOT_TRootBrowserLite
53 #include "TRootBrowserLite.h"
61 #ifndef ROOT_TGDockableFrame
62 #include "TGDockableFrame.h"
67 #ifndef ROOT_TGMdiDecorFrame
68 #include "TGMdiDecorFrame.h"
73 #ifndef ROOT_TGMdiFrame
74 #include "TGMdiFrame.h"
76 #ifndef ROOT_TGMdiMainFrame
77 #include "TGMdiMainFrame.h"
79 #ifndef ROOT_TGMdiMenu
80 #include "TGMdiMenu.h"
82 #ifndef ROOT_TGColorDialog
83 #include "TGColorDialog.h"
85 #ifndef ROOT_TGColorSelect
86 #include "TGColorSelect.h"
88 #ifndef ROOT_TGListBox
89 #include "TGListBox.h"
91 #ifndef ROOT_TGNumberEntry
92 #include "TGNumberEntry.h"
94 #ifndef ROOT_TGScrollBar
95 #include "TGScrollBar.h"
97 #ifndef ROOT_TGuiBldHintsEditor
98 #include "TGuiBldHintsEditor.h"
100 #ifndef ROOT_TGuiBldNameFrame
101 #include "TGuiBldNameFrame.h"
106 #ifndef ROOT_TGFileDialog
107 #include "TGFileDialog.h"
109 #ifndef ROOT_TGShutter
110 #include "TGShutter.h"
112 #ifndef ROOT_TGButtonGroup
113 #include "TGButtonGroup.h"
115 #ifndef ROOT_TGCanvas
116 #include "TGCanvas.h"
118 #ifndef ROOT_TGFSContainer
119 #include "TGFSContainer.h"
121 #ifndef ROOT_TGFontDialog
122 #include "TGFontDialog.h"
124 #ifndef ROOT_TGuiBldEditor
125 #include "TGuiBldEditor.h"
127 #ifndef ROOT_TGTextEdit
128 #include "TGTextEdit.h"
130 #ifndef ROOT_TGButton
131 #include "TGButton.h"
133 #ifndef ROOT_TGFSComboBox
134 #include "TGFSComboBox.h"
139 #ifndef ROOT_TGMsgBox
140 #include "TGMsgBox.h"
142 #ifndef ROOT_TRootGuiBuilder
143 #include "TRootGuiBuilder.h"
148 #ifndef ROOT_TGListView
149 #include "TGListView.h"
151 #ifndef ROOT_TGSplitter
152 #include "TGSplitter.h"
154 #ifndef ROOT_TGStatusBar
155 #include "TGStatusBar.h"
157 #ifndef ROOT_TGListTree
158 #include "TGListTree.h"
160 #ifndef ROOT_TGToolTip
161 #include "TGToolTip.h"
163 #ifndef ROOT_TGToolBar
164 #include "TGToolBar.h"
166 #ifndef ROOT_TRootEmbeddedCanvas
167 #include "TRootEmbeddedCanvas.h"
169 #ifndef ROOT_TGuiBldDragManager
170 #include "TGuiBldDragManager.h"
172 #ifndef ROOT_TGNumberEntry
173 #include "TGNumberEntry.h"
175 #ifndef ROOT_TGComboBox
176 #include "TGComboBox.h"
181 #include "Riostream.h"
201 #define R1_WIDTH 30.00 // Region 1
202 #define R1_LENGTH 30.00
203 #define R1_DEPTH 3.00
204 #define R1_DIST 0.10 // Distance between traces ###CHECK THIS!!!
205 #define R1_CM .8/R1_WIDTH // Drawing scale factor, 1 cm in ROOT coordinates for this region
207 #define R2_WIDTH 45.09 // Region 2
208 #define R2_LENGTH 30.00
209 #define R2_DEPTH 3.35
210 #define R2_DIST 1.27 // Distance between drift cell planes
211 #define R2_XDIST 0.909 // Distance between x wires
212 #define R2_UVDIST 2.25 // Distance between u (or v) wires on bottom of frame
213 #define R2_FULLWIRE1 9 // 9.29 // (30*.675/2.18) ###CHECK THIS!!!
214 #define R2_FULLWIRE2 20 // 20.68 // (45.09/2.18)
215 #define R2_ANGLE 56.00 // Wire angle from bottom of frame
216 #define R2_CM .8/R2_WIDTH // Drawing scale factor, 1 cm in ROOT coordinates for this region
218 #define R3_WIDTH 204.47 // Region 3
219 #define R3_LENGTH 53.34
220 #define R3_DEPTH 2.54
221 #define R3_DIST 40.00 // Distance between drift cell chambers
222 #define R3_UVDIST 1.11 // Distance between u (or v) wires on bottom of frame
223 #define R3_FULLWIRE1 96 // Given in geometry data
224 #define R3_FULLWIRE2 184 // Given in geometry data
225 #define R3_ANGLE 26.57 // Wire angle from normal to bottom of frame (90 - 63.43)
226 #define R3_CM .8/R3_WIDTH // Drawing scale factor, 1 cm in ROOT coordinates for this region
284 TText *
tR2XY1, *
tR2XY2, *
tR2XY3, *
tR2XY4, *
tR2XZ1, *
tR2XZ2, *
tR2XZ3, *
tR2XZ4,*
tR2YZ1, *
tR2YZ2, *
tR2YZ3, *
tR2YZ4;
295 TText *
tR2bXY1, *
tR2bXY2, *
tR2bXY3, *
tR2bXY4, *
tR2bXZ1, *
tR2bXZ2, *
tR2bXZ3, *
tR2bXZ4,*
tR2bYZ1, *
tR2bYZ2, *
tR2bYZ3, *
tR2bYZ4;
302 TBox *
Box_R3XY1, *
Box_R3XY2,*
Box_R3XY3,*
Box_R3XY4, *
Box_R3XZ1, *
Box_R3XZ2,*
Box_R3XZ3,*
Box_R3XZ4, *
Box_R3YZ1, *
Box_R3YZ2, *
Box_R3YZ3, *
Box_R3YZ4;
303 TText *
tR3XY1, *
tR3XY2, *
tR3XY3, *
tR3XY4, *
tR3XZ1, *
tR3XZ2, *
tR3XZ3, *
tR3XZ4,*
tR3YZ1, *
tR3YZ2, *
tR3YZ3, *
tR3YZ4;
339 #endif //QWEVENTDISPLAY
TRootEmbeddedCanvas * fRegion3XZ
TRootEmbeddedCanvas * fRegion3XY
TRootEmbeddedCanvas * fRegion3YZ
Read simulated QweakSimG4 events and generate hit lists.
TGGroupFrame * fCurrentEvent
TGHorizontalFrame * fEventBoxes
QwSubsystemArrayTracking * fSubsystemArray
// Excluded from dictionary
TGCompositeFrame * fRegion3TS
TGCompositeFrame * fRegion2b
TRootEmbeddedCanvas * fRegion1XZ
std::vector< TLine > Line_R2x
QwHitContainer * fHitList
TGNumberEntry * fCurrentEventEntry
QwTreeEventBuffer * fEventBuffer
TGLayoutHints * fMenuBarHelpLayout
std::vector< TLine > Line_R3v
TGVerticalFrame * fEventBox3
TRootEmbeddedCanvas * fRegion1XY
ClassDef(QwEventDisplay, 1)
TGCompositeFrame * fRegion2
TGVerticalFrame * fEventBox2
TRootEmbeddedCanvas * fRegion2XY
void SetSubsystemArray(QwSubsystemArrayTracking *subsystemarray)
TGCompositeFrame * fRegion1
std::vector< TLine > Line_R1y
TGTextButton * ExitButton
void SetEventBuffer(QwTreeEventBuffer *eventbuffer)
QwEventDisplay(const TGWindow *p, UInt_t w, UInt_t h)
TGLabel * fCurrentEventLabel
TGLayoutHints * fMenuBarLayout
TRootEmbeddedCanvas * fRegion2bXZ
std::vector< TLine > Line_R1r
TRootEmbeddedCanvas * fRegion2YZ
TGListBox * fWireInfoListBox
RQ_OBJECT("QwEventDisplay") UInt_t fEventNumber
TGCompositeFrame * fRegion3
TRootEmbeddedCanvas * fRegion2bYZ
void HandleMenu(Int_t id)
virtual ~QwEventDisplay()
TRootEmbeddedCanvas * fRegion2bXY
std::vector< TLine > Line_R3u
TRootEmbeddedCanvas * fOctantID
TGVerticalFrame * fEventCounter
std::vector< TLine > Line_R2v
TRootEmbeddedCanvas * fRegion1YZ
TRootEmbeddedCanvas * fRegion2XZ
std::vector< TLine > Line_R2u
TGVerticalFrame * fEventBox1
TGLayoutHints * fMenuBarItemLayout