CGEM BOSS 6.6.5.h
BESIII Offline Software System
Loading...
Searching...
No Matches
BesView.h
Go to the documentation of this file.
1//
2// BesView.h
3//
4
5#ifndef BES_BESVIEW
6#define BES_BESVIEW
7
8#include "BesTView.h"
9#include <TPad.h>
10#include <TCanvas.h>
11#include <TPaveLabel.h>
12
13#include "BesStatus.h"
14#include "BesGeometry.h"
15
16#ifndef BES_EBESViewType
17#define BES_EBESViewType
18
19enum EBESViewType {
20 k3DView = BIT(0),
21 kXYView = BIT(1),
22 kZRView = BIT(2),
23 //Long Peixun's update: CGEM unfolded display for each layer
24 kCgemUFView0 = BIT(3),
25 kCgemUFView1 = BIT(4),
26 kCgemUFView2 = BIT(5)
27};
28#endif
29
30class BesView : public BesTView {
31
32 private:
33 Bool_t fFishEye; // variable needed for toggle in menu
34 EBESViewType fViewType; // View type
35 Float_t fPhiRangeMin; // Minimum of phi range for Z-R projection (in degrees)
36 Float_t fPhiRangeMax; // Maximum of phi range for Z-R projection (in degrees)
37 TPaveLabel *fLabel; // Label
38 Float_t fMarkerSize; // size for marker
39 BesStatus *fStatus3D; // 3D view status flags
40 BesStatus *fStatusXY; // XY view status flags
41 BesStatus *fStatusZR; // ZR view status flags
42
43 //Long Peixun's update: Add CGEM unfolded view status flags
44 BesStatus *fStatusCgemUF[3];
45
46 BesStatus *fStatusCurrent; // current view status flags
47 Double_t fZoomFactor; // zoom factor
48 Double_t fExtentDefault;
49 Float_t m_BesR;
50 Float_t m_BesZ;
51 Double_t ViewCenter[2]; //Long Peixun's update: Coordinate of the center of View
52
53 public:
55 virtual ~BesView();
56
57 virtual void SetViewType(EBESViewType ViewType, Bool_t resetview = kFALSE);
58 virtual void SetViewTypeBare(EBESViewType ViewType, Bool_t resetview = kFALSE);
59 virtual void DefaultRange();
60 virtual void ClearPad();
61 virtual void DrawLabel();
62 virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py);
63
64 virtual Int_t GetRSign(Float_t Phi);
65 virtual void UpdateView(Bool_t resetview = kFALSE );
66 virtual void WCtoNDC(const Float_t *pw, Float_t *pn);
67 virtual void WCtoNDC(const Double_t *pw, Double_t *pn);
68 virtual void NDCtoWC(const Float_t* pn, Float_t* pw);
69 virtual void NDCtoWC(const Double_t* pn, Double_t* pw);
70 virtual char *GetObjectInfo(Int_t px, Int_t py) const;
71
72 void SetZoomRatio(Double_t ratio);
73 inline Double_t GetZoomRatio() { return fExtentDefault/GetExtent(); }
74 inline EBESViewType GetViewType() { return fViewType; }
75 inline Float_t GetMarkerSize() { return fMarkerSize;}
76
77 // menu
78 inline void View3D() { SetViewType(k3DView,1); } // *MENU*
79 inline void ViewXY() { SetViewType(kXYView,1); } // *MENU*
80 inline void ViewZR() { SetViewType(kZRView,1); } // *MENU*
81 //Long Peixun's update: CGEM Unfolded display for each layer
82 inline void ViewCgemUF(int layer) // *MENU*
83 {
84 switch (layer)
85 {
86 case 0:
88 break;
89 case 1:
91 break;
92 case 2:
94 break;
95 }
96 }
97
98 void ZoomIn(); // *MENU*
99 void ZoomOut(); // *MENU*
100 void Center(); // *MENU*
101 void Move(Int_t px, Int_t py);
102 inline void Front3D() {
103 this->View3D();
104 this->Front(); } // *MENU*
105 void Side3D(); // *MENU*
106 inline void Top3D() {
107 this->View3D();
108 Int_t iret;
109 this->SetView(-90,90,270,iret);
110
111 // this->Top();
112 } // *MENU*
113 void SetPhiRange(Float_t PhiMin = 0, Float_t PhiMax = 180);
114 void Reset(); // *MENU*
115 void Refresh(); //Long Peixun's update: Refresh
116
117 inline void SetMarkerSize(Float_t size) { fMarkerSize = size; }
118
119 //Long Peixun's update: Add access functions for CGEM visibility
120 inline Bool_t GetVisCgemGlobal() { return fStatusCurrent->fCgemGlobal; }
121 inline Bool_t GetVisCgemLayers() { return fStatusCurrent->fCgemLayers; }
122 inline Bool_t GetVisCgemXStrips() { return fStatusCurrent->fCgemXStrips; }
123 inline Bool_t GetVisCgemVStrips() { return fStatusCurrent->fCgemVStrips; }
124
125 inline void SetVisCgemGlobal(Bool_t input) { fStatusCurrent->fCgemGlobal = input; }
126 inline void SetVisCgemLayers(Bool_t input) { fStatusCurrent->fCgemLayers = input; }
127 inline void SetVisCgemXStrips(Bool_t input) { fStatusCurrent->fCgemXStrips = input; }
128 inline void SetVisCgemVStrips(Bool_t input) { fStatusCurrent->fCgemVStrips = input; }
129
130 //access functions for Mdc visibility
131 inline Bool_t GetVisMdcGlobal() { return fStatusCurrent->fMdcGlobal; }
132 inline Bool_t GetVisMdcTubes() { return fStatusCurrent->fMdcTubes; }
133 inline Bool_t GetVisMdcWires() { return fStatusCurrent->fMdcWires; }
134
135 inline void SetVisMdcGlobal (Bool_t input) { fStatusCurrent->fMdcGlobal = input; }
136 inline void SetVisMdcTubes(Bool_t input) { fStatusCurrent->fMdcTubes = input; }
137 inline void SetVisMdcWires(Bool_t input) { fStatusCurrent->fMdcWires = input; }
138
139 //access functions for Tof visibility
140 inline Bool_t GetVisTofGlobal() { return fStatusCurrent->fTofGlobal; }
141 inline Bool_t GetVisTofEast() { return fStatusCurrent->fTofEast; }
142 inline Bool_t GetVisTofBarrel() { return fStatusCurrent->fTofBarrel; }
143 inline Bool_t GetVisTofWest() { return fStatusCurrent->fTofWest; }
144 inline Float_t GetVisZoom() { return fStatusCurrent->fZoom; }
145
146 inline void SetVisTofGlobal(Bool_t input) { fStatusCurrent->fTofGlobal = input; }
147 inline void SetVisTofEast(Bool_t input) { fStatusCurrent->fTofEast = input; }
148 inline void SetVisTofBarrel(Bool_t input) { fStatusCurrent->fTofBarrel = input; }
149 inline void SetVisTofWest(Bool_t input) { fStatusCurrent->fTofWest = input; }
150 inline void SetVisZoom(Float_t input) { fStatusCurrent->fZoom = input; }
151
152 //access functions for Emc visibility
153 inline Bool_t GetVisEmcGlobal() { return fStatusCurrent->fEmcGlobal; }
154 inline Bool_t GetVisEmcEast() { return fStatusCurrent->fEmcEast; }
155 inline Bool_t GetVisEmcBarrel() { return fStatusCurrent->fEmcBarrel; }
156 inline Bool_t GetVisEmcWest() { return fStatusCurrent->fEmcWest; }
157 inline Bool_t GetVisEmcSide() { return fStatusCurrent->fEmcSide; }
158
159 inline void SetVisEmcGlobal(Bool_t input) { fStatusCurrent->fEmcGlobal = input; }
160 inline void SetVisEmcEast(Bool_t input) { fStatusCurrent->fEmcEast = input; }
161 inline void SetVisEmcBarrel(Bool_t input) { fStatusCurrent->fEmcBarrel = input; }
162 inline void SetVisEmcWest(Bool_t input) { fStatusCurrent->fEmcWest = input; }
163 inline void SetVisEmcSide(Bool_t input) { fStatusCurrent->fEmcSide = input; }
164
165 //access functions for Muc visibility
166 inline Bool_t GetVisMucGlobal() { return fStatusCurrent->fMucGlobal; }
167 inline Bool_t GetVisMucEast() { return fStatusCurrent->fMucEast; }
168 inline Bool_t GetVisMucBarrel() { return fStatusCurrent->fMucBarrel; }
169 inline Bool_t GetVisMucWest() { return fStatusCurrent->fMucWest; }
170 inline Bool_t GetVisMucStrips() { return fStatusCurrent->fMucStrips; }
171
172 inline void SetVisMucGlobal(Bool_t input) { fStatusCurrent->fMucGlobal = input; }
173 inline void SetVisMucEast(Bool_t input) { fStatusCurrent->fMucEast = input; }
174 inline void SetVisMucBarrel(Bool_t input) { fStatusCurrent->fMucBarrel = input; }
175 inline void SetVisMucWest(Bool_t input) { fStatusCurrent->fMucWest = input; }
176 inline void SetVisMucStrips(Bool_t input) { fStatusCurrent->fMucStrips = input; }
177
178 //access functions for Full3D visibility
179 inline Bool_t GetVisFull3DCgem() { return fStatusCurrent->fFull3DCgem; }
180 inline Bool_t GetVisFull3DMdc() { return fStatusCurrent->fFull3DMdc; }
181 inline Bool_t GetVisFull3DTof() { return fStatusCurrent->fFull3DTof; }
182 inline Bool_t GetVisFull3DEmc() { return fStatusCurrent->fFull3DEmc; }
183 inline Bool_t GetVisFull3DMuc() { return fStatusCurrent->fFull3DMuc; }
184
185 inline void SetVisFull3DCgem(Bool_t input) { fStatusCurrent->fFull3DCgem = input; }
186 inline void SetVisFull3DMdc(Bool_t input) { fStatusCurrent->fFull3DMdc = input; }
187 inline void SetVisFull3DTof(Bool_t input) { fStatusCurrent->fFull3DTof = input; }
188 inline void SetVisFull3DEmc(Bool_t input) { fStatusCurrent->fFull3DEmc = input; }
189 inline void SetVisFull3DMuc(Bool_t input) { fStatusCurrent->fFull3DMuc = input; }
190
191 //access functions for other parts visibility
192 inline Bool_t GetVisBeamPipe() { return fStatusCurrent->fBeamPipe; }
193 inline Bool_t GetVisZRPlaneOnXY() { return fStatusCurrent->fZRPlaneOnXY; }
194 inline Bool_t GetVisAxis() { return fStatusCurrent->fAxis; }
195
196 inline void SetVisBeamPipe(Bool_t input) { fStatusCurrent->fBeamPipe = input; }
197 inline void SetVisZRPlaneOnXY(Bool_t input) { fStatusCurrent->fZRPlaneOnXY = input; }
198 inline void SetVisAxis(Bool_t input) { fStatusCurrent->fAxis = input; }
199
200 //Long Peixun's update: access functions for Cgem hits
201 inline Bool_t GetVisCgemHitsGlobal() { return fStatusCurrent->fCgemHitsGlobal; }
202 inline Bool_t GetVisCgemHitsXStrip() { return fStatusCurrent->fCgemHitsXStrip; }
203 inline Bool_t GetVisCgemHitsVStrip() { return fStatusCurrent->fCgemHitsVStrip; }
204 inline Bool_t GetVisCgemHitsClusters() { return fStatusCurrent->fCgemHitsClusters; }
205 inline Bool_t GetVisCgemHitsFiredHL() { return fStatusCurrent->fCgemHitsFiredHL; }
206
207 inline void SetVisCgemHitsGlobal(Bool_t input) { fStatusCurrent->fCgemHitsGlobal = input; }
208 inline void SetVisCgemHitsXStrip(Bool_t input) { fStatusCurrent->fCgemHitsXStrip = input; }
209 inline void SetVisCgemHitsVStrip(Bool_t input) { fStatusCurrent->fCgemHitsVStrip = input; }
210 inline void SetVisCgemHitsClusters(Bool_t input) { fStatusCurrent->fCgemHitsClusters = input; }
211 inline void SetVisCgemHitsFiredHL(Bool_t input) { fStatusCurrent->fCgemHitsFiredHL = input; }
212
213 // access functions for Mdc hits
214 inline Bool_t GetVisMdcHitsGlobal() { return fStatusCurrent->fMdcHitsGlobal; }
215 inline Bool_t GetVisMdcHits() { return fStatusCurrent->fMdcHits; }
216
217 inline void SetVisMdcHitsGlobal (Bool_t input) { fStatusCurrent->fMdcHitsGlobal = input; }
218 inline void SetVisMdcHits(Bool_t input) { fStatusCurrent->fMdcHits = input; }
219
220 // access functions for Tof hits
221 inline Bool_t GetVisTofHitsGlobal() { return fStatusCurrent->fTofHitsGlobal; }
222 inline Bool_t GetVisTofHitsEast() { return fStatusCurrent->fTofHitsEast; }
223 inline Bool_t GetVisTofHitsBarrel() { return fStatusCurrent->fTofHitsBarrel; }
224 inline Bool_t GetVisTofHitsWest() { return fStatusCurrent->fTofHitsWest; }
225
226 inline void SetVisTofHitsGlobal (Bool_t input) { fStatusCurrent->fTofHitsGlobal = input; }
227 inline void SetVisTofHitsEast(Bool_t input) { fStatusCurrent->fTofHitsEast = input; }
228 inline void SetVisTofHitsBarrel(Bool_t input) { fStatusCurrent->fTofHitsBarrel = input; }
229 inline void SetVisTofHitsWest(Bool_t input) { fStatusCurrent->fTofHitsWest = input; }
230
231 // access functions for Emc hits
232 inline Bool_t GetVisEmcHitsGlobal() { return fStatusCurrent->fEmcHitsGlobal; }
233 inline Bool_t GetVisEmcHitsEast() { return fStatusCurrent->fEmcHitsEast; }
234 inline Bool_t GetVisEmcHitsBarrel() { return fStatusCurrent->fEmcHitsBarrel; }
235 inline Bool_t GetVisEmcHitsWest() { return fStatusCurrent->fEmcHitsWest; }
236 inline Bool_t GetVisEmcHitsSide() { return fStatusCurrent->fEmcHitsSide; }
237
238 inline void SetVisEmcHitsGlobal (Bool_t input) { fStatusCurrent->fEmcHitsGlobal = input; }
239 inline void SetVisEmcHitsEast(Bool_t input) { fStatusCurrent->fEmcHitsEast = input; }
240 inline void SetVisEmcHitsBarrel(Bool_t input) { fStatusCurrent->fEmcHitsBarrel = input; }
241 inline void SetVisEmcHitsWest(Bool_t input) { fStatusCurrent->fEmcHitsWest = input; }
242 inline void SetVisEmcHitsSide(Bool_t input) { fStatusCurrent->fEmcHitsSide = input; }
243
244 // access functions for Muc hits
245 inline Bool_t GetVisMucHitsGlobal() { return fStatusCurrent->fMucHitsGlobal; }
246 inline Bool_t GetVisMucHitsEast() { return fStatusCurrent->fMucHitsEast; }
247 inline Bool_t GetVisMucHitsBarrel() { return fStatusCurrent->fMucHitsBarrel; }
248 inline Bool_t GetVisMucHitsWest() { return fStatusCurrent->fMucHitsWest; }
249
250 inline void SetVisMucHitsGlobal (Bool_t input) { fStatusCurrent->fMucHitsGlobal = input; }
251 inline void SetVisMucHitsEast(Bool_t input) { fStatusCurrent->fMucHitsEast = input; }
252 inline void SetVisMucHitsBarrel(Bool_t input) { fStatusCurrent->fMucHitsBarrel = input; }
253 inline void SetVisMucHitsWest(Bool_t input) { fStatusCurrent->fMucHitsWest = input; }
254
255 // access functions for tracks
256 inline Bool_t GetVisTracksGlobal() { return fStatusCurrent->fTracksGlobal; }
257 inline Bool_t GetVisTracksMdc() { return fStatusCurrent->fTracksMdc; }
258 inline Bool_t GetVisTracksIdeal() { return fStatusCurrent->fTracksIdeal; }
259 inline Bool_t GetVisTracksTof() { return fStatusCurrent->fTracksTof; }
260 inline Bool_t GetVisTracksEmc() { return fStatusCurrent->fTracksEmc; }
261 inline Bool_t GetVisTracksMuc() { return fStatusCurrent->fTracksMuc; }
262 inline Bool_t GetVisTracksExt() { return fStatusCurrent->fTracksExt; }
263 inline Bool_t GetVisMCTruthTrack() { return fStatusCurrent->fMCTruthTrack; }
264
265 inline void SetVisTracksGlobal(Bool_t input) { fStatusCurrent->fTracksGlobal = input; }
266 inline void SetVisTracksMdc(Bool_t input) { fStatusCurrent->fTracksMdc = input; }
267 inline void SetVisTracksIdeal(Bool_t input) { fStatusCurrent->fTracksIdeal = input; }
268 inline void SetVisTracksTof(Bool_t input) { fStatusCurrent->fTracksTof = input; }
269 inline void SetVisTracksEmc(Bool_t input) { fStatusCurrent->fTracksEmc = input; }
270 inline void SetVisTracksMuc(Bool_t input) { fStatusCurrent->fTracksMuc = input; }
271 inline void SetVisTracksExt(Bool_t input) { fStatusCurrent->fTracksExt = input; }
272 inline void SetVisMCTruthTrack(Bool_t input) { fStatusCurrent->fMCTruthTrack = input; }
273
274 // access functions for fish eye
275 inline Bool_t GetFishEyeStatus() { return fStatusCurrent->fFishEye; }
276 inline Bool_t GetFishEye() { return fFishEye; }
277 inline void SetFishEye(Bool_t input = 0) {
278 if ( fViewType & k3DView ) {
279 fFishEye = 0;
280 fStatusCurrent->fFishEye = 0;
281 } else {
282 fFishEye = input;
283 fStatusCurrent->fFishEye = input;
284 }
285 } // *TOGGLE*
286
287 inline void PrintCurrent() { fStatusCurrent->Print(); }
288
289 // clean up right mouse button menu
290 inline virtual void Centered() { BesTView::Centered(); }
291 inline virtual void Front() { BesTView::Top(); }
292 inline virtual void Side() { BesTView::Side(); }
293 inline virtual void Top() { BesTView::Front(); }
294 // inline virtual void ShowAxis() { BesTView::ShowAxis(); }
295 inline virtual void ZoomMove() { BesTView::ZoomMove(); }
296 inline virtual void AdjustScales(TVirtualPad* pad = 0) { BesTView::AdjustScales(pad); }
297 inline virtual void Delete(Option_t* option) { BesTView::Delete(option); }
298 inline virtual void DrawClass() { BesTView::DrawClass(); }
299 inline virtual TObject* DrawClone(Option_t* option) { return BesTView::DrawClone(option); }
300
301#ifndef CL__DEBUG
302 inline virtual void Dump() { BesTView::Dump(); }
303 inline virtual void Inspect() { BesTView::Inspect(); }
304#endif
305
306 inline virtual void SetDrawOption(Option_t* option) { BesTView::SetDrawOption(option); }
307 inline virtual void SetLineAttributes() { BesTView::SetLineAttributes(); }
308
309 inline virtual void SetZoomFactor(Double_t factor) { fZoomFactor = factor; };
310 inline virtual Double_t GetZoomFactor() { return fZoomFactor; }
311 inline BesStatus* GetStatusCurrent() { return fStatusCurrent; };
312 inline BesStatus* GetStatus3D() { return fStatus3D; };
313 inline BesStatus* GetStatusXY() { return fStatusXY; };
314 inline BesStatus* GetStatusZR() { return fStatusZR; };
315
316 //Long Peixun's update: for CGEM status
317 inline BesStatus* GetStatusCgemUF(int layer) { return fStatusCgemUF[layer]; }
318
319 ClassDef(BesView,0) // BesVis View
320};
321
322#endif
EBESViewType
Definition BesStatus.h:13
@ kCgemUFView2
Definition BesStatus.h:20
@ kCgemUFView0
Definition BesStatus.h:18
@ kXYView
Definition BesStatus.h:15
@ k3DView
Definition BesStatus.h:14
@ kCgemUFView1
Definition BesStatus.h:19
@ kZRView
Definition BesStatus.h:16
double Phi(RecMdcKalTrack *trk)
float Float_t
#define PhiMax
#define PhiMin
Bool_t fTracksEmc
visibility flag for Tof Tracks
Definition BesStatus.h:122
Bool_t fCgemGlobal
Definition BesStatus.h:35
Bool_t fMucHitsEast
visibility flag for global Muc Hits
Definition BesStatus.h:112
Bool_t fTofHitsEast
visibility flag for global Tof Hits
Definition BesStatus.h:97
Bool_t fMucBarrel
visivility flag for Muc east EC
Definition BesStatus.h:65
Bool_t fFull3DCgem
visivility flag for Muc strips
Definition BesStatus.h:71
Bool_t fFull3DMdc
Definition BesStatus.h:72
Bool_t fTracksMdc
visibility flag for global Tracks
Definition BesStatus.h:119
Bool_t fMCTruthTrack
visibility flag for Ext Tracks
Definition BesStatus.h:128
Bool_t fTofBarrel
visibility flag for Tof east EC
Definition BesStatus.h:50
Bool_t fMucGlobal
visivility flag for Emc side
Definition BesStatus.h:63
Bool_t fTracksExt
visibility flag for Muc Tracks
Definition BesStatus.h:124
Bool_t fCgemHitsGlobal
visibility flag for axis
Definition BesStatus.h:84
Bool_t fMucStrips
visivility flag for Muc west EC
Definition BesStatus.h:67
Bool_t fFishEye
visibility flag for MC truth tracks
Definition BesStatus.h:132
Bool_t fCgemLayers
Definition BesStatus.h:36
Bool_t fAxis
visibility flag for ZRPlaneOnXY
Definition BesStatus.h:81
Bool_t fEmcHitsGlobal
visibility flag for Tof Hits West
Definition BesStatus.h:103
Bool_t fMucHitsWest
visibility flag for Muc Hits Barrel
Definition BesStatus.h:114
Bool_t fZRPlaneOnXY
visibility flag for beam pipe
Definition BesStatus.h:80
Bool_t fMucWest
visivility flag for Muc barrel
Definition BesStatus.h:66
Bool_t fMucEast
visivility flag for global Muc
Definition BesStatus.h:64
Bool_t fMdcWires
visibility flag for Mdc main tubes
Definition BesStatus.h:44
Bool_t fFull3DMuc
visivility flag for full 3D Emc
Definition BesStatus.h:75
Bool_t fEmcGlobal
visibility flag for Tof west EC
Definition BesStatus.h:55
Bool_t fTofHitsWest
visibility flag for Tof Hits Barrel
Definition BesStatus.h:99
Bool_t fCgemXStrips
Definition BesStatus.h:37
Bool_t fFull3DEmc
visivility flag for full 3D Tof
Definition BesStatus.h:74
Bool_t fTofHitsBarrel
visibility flag for Tof Hits East
Definition BesStatus.h:98
Bool_t fEmcWest
visivility flag for Emc barrel
Definition BesStatus.h:58
Bool_t fTofWest
visibility flag for Tof barrel
Definition BesStatus.h:51
Bool_t fTracksIdeal
visibility flag for Mdc Tracks
Definition BesStatus.h:120
Bool_t fTofEast
visibility flag for global Tof
Definition BesStatus.h:49
Bool_t fMdcGlobal
Definition BesStatus.h:42
Bool_t fCgemVStrips
Definition BesStatus.h:38
Bool_t fTofHitsGlobal
visibility flag for Mdc Hits
Definition BesStatus.h:96
Bool_t fEmcHitsBarrel
visibility flag for Emc Hits East
Definition BesStatus.h:105
Bool_t fEmcEast
visivility flag for global Emc
Definition BesStatus.h:56
Bool_t fMdcHits
visibility flag for global Mdc Hits
Definition BesStatus.h:92
Bool_t fMdcTubes
visibility flag for global Mdc
Definition BesStatus.h:43
Bool_t fEmcHitsSide
visibility flag for Emc Hits West
Definition BesStatus.h:107
Bool_t fEmcHitsWest
visibility flag for Emc Hits Barrel
Definition BesStatus.h:106
Bool_t fEmcSide
visivility flag for Emc west EC
Definition BesStatus.h:59
Bool_t fFull3DTof
visivility flag for full 3D Mdc
Definition BesStatus.h:73
Bool_t fTracksMuc
visibility flag for Emc Tracks
Definition BesStatus.h:123
Bool_t fTofGlobal
visibility flag for Mdc wires
Definition BesStatus.h:48
Float_t fZoom
Definition BesStatus.h:140
Bool_t fBeamPipe
visivility flag for full 3D Muc
Definition BesStatus.h:79
Bool_t fCgemHitsXStrip
Definition BesStatus.h:85
Bool_t fMucHitsBarrel
visibility flag for Muc Hits East
Definition BesStatus.h:113
Bool_t fEmcHitsEast
visibility flag for global Emc Hits
Definition BesStatus.h:104
Bool_t fCgemHitsClusters
Definition BesStatus.h:87
Bool_t fTracksTof
visibility flag for Ideal Tracks, added by wangll
Definition BesStatus.h:121
Bool_t fEmcBarrel
visivility flag for Emc east EC
Definition BesStatus.h:57
Bool_t fMucHitsGlobal
visibility flag for Emc Hits Side
Definition BesStatus.h:111
Bool_t fMdcHitsGlobal
Definition BesStatus.h:91
Bool_t fCgemHitsFiredHL
Definition BesStatus.h:88
Bool_t fCgemHitsVStrip
Definition BesStatus.h:86
Bool_t fTracksGlobal
visibility flag for Muc Hits West
Definition BesStatus.h:118
ClassDef(BesTView, 2)
virtual void AdjustScales(TVirtualPad *pad=0)
virtual void ZoomMove()
Definition BesTView.h:181
Double_t GetExtent() const
virtual void Top()
Definition BesTView.h:180
virtual void Front()
Definition BesTView.h:177
virtual void Centered()
Definition BesTView.h:176
virtual void SetView(Double_t longitude, Double_t latitude, Double_t psi, Int_t &irep)
virtual void Side()
Definition BesTView.h:179
Bool_t GetVisAxis()
Definition BesView.h:194
void SetVisEmcGlobal(Bool_t input)
Definition BesView.h:159
void SetVisMucHitsBarrel(Bool_t input)
Definition BesView.h:252
Bool_t GetVisMucHitsWest()
Definition BesView.h:248
void SetVisTofWest(Bool_t input)
Definition BesView.h:149
BesStatus * GetStatusCurrent()
Definition BesView.h:311
void SetVisEmcSide(Bool_t input)
Definition BesView.h:163
void SetVisEmcHitsWest(Bool_t input)
Definition BesView.h:241
Bool_t GetVisMucHitsGlobal()
Definition BesView.h:245
virtual void AdjustScales(TVirtualPad *pad=0)
Definition BesView.h:296
void SetVisTofHitsBarrel(Bool_t input)
Definition BesView.h:228
Bool_t GetVisCgemXStrips()
Definition BesView.h:122
void SetVisEmcHitsGlobal(Bool_t input)
Definition BesView.h:238
void SetMarkerSize(Float_t size)
Definition BesView.h:117
virtual void WCtoNDC(const Float_t *pw, Float_t *pn)
Definition BesView.cxx:824
Bool_t GetVisBeamPipe()
Definition BesView.h:192
void SetVisEmcEast(Bool_t input)
Definition BesView.h:160
Bool_t GetVisMucHitsEast()
Definition BesView.h:246
Bool_t GetVisFull3DTof()
Definition BesView.h:181
void SetVisCgemVStrips(Bool_t input)
Definition BesView.h:128
void ZoomIn()
Definition BesView.cxx:611
virtual Double_t GetZoomFactor()
Definition BesView.h:310
Bool_t GetVisCgemVStrips()
Definition BesView.h:123
void SetVisTracksExt(Bool_t input)
Definition BesView.h:271
Float_t GetMarkerSize()
Definition BesView.h:75
Bool_t GetVisTracksExt()
Definition BesView.h:262
void SetVisMdcHits(Bool_t input)
Definition BesView.h:218
virtual TObject * DrawClone(Option_t *option)
Definition BesView.h:299
void SetVisTracksTof(Bool_t input)
Definition BesView.h:268
void ViewCgemUF(int layer)
Definition BesView.h:82
void SetVisCgemHitsGlobal(Bool_t input)
Definition BesView.h:207
void SetVisMucWest(Bool_t input)
Definition BesView.h:175
Bool_t GetVisTracksGlobal()
Definition BesView.h:256
virtual void ZoomMove()
Definition BesView.h:295
Bool_t GetVisEmcBarrel()
Definition BesView.h:155
void SetVisTracksMdc(Bool_t input)
Definition BesView.h:266
Bool_t GetVisMdcHitsGlobal()
Definition BesView.h:214
void SetVisMdcGlobal(Bool_t input)
Definition BesView.h:135
void SetVisTofBarrel(Bool_t input)
Definition BesView.h:148
void ViewXY()
Definition BesView.h:79
BesStatus * GetStatus3D()
Definition BesView.h:312
Bool_t GetVisCgemHitsXStrip()
Definition BesView.h:202
void SetVisTofHitsWest(Bool_t input)
Definition BesView.h:229
Bool_t GetVisEmcHitsBarrel()
Definition BesView.h:234
Bool_t GetVisEmcHitsGlobal()
Definition BesView.h:232
virtual ~BesView()
Definition BesView.cxx:81
virtual Int_t GetRSign(Float_t Phi)
Definition BesView.cxx:717
Bool_t GetVisMdcTubes()
Definition BesView.h:132
void Move(Int_t px, Int_t py)
Definition BesView.cxx:513
Bool_t GetVisTracksIdeal()
Definition BesView.h:258
virtual void Front()
Definition BesView.h:291
Bool_t GetVisEmcGlobal()
Definition BesView.h:153
void SetVisMucHitsEast(Bool_t input)
Definition BesView.h:251
Bool_t GetVisMucWest()
Definition BesView.h:169
void SetVisMucEast(Bool_t input)
Definition BesView.h:173
void SetVisTofHitsGlobal(Bool_t input)
Definition BesView.h:226
Bool_t GetVisTofBarrel()
Definition BesView.h:142
Float_t GetVisZoom()
Definition BesView.h:144
virtual void SetLineAttributes()
Definition BesView.h:307
virtual void UpdateView(Bool_t resetview=kFALSE)
Definition BesView.cxx:753
void SetVisCgemXStrips(Bool_t input)
Definition BesView.h:127
Bool_t GetVisCgemGlobal()
Definition BesView.h:120
Bool_t GetVisTracksMuc()
Definition BesView.h:261
void SetVisCgemGlobal(Bool_t input)
Definition BesView.h:125
Bool_t GetVisMdcWires()
Definition BesView.h:133
void SetVisFull3DTof(Bool_t input)
Definition BesView.h:187
virtual void Centered()
Definition BesView.h:290
Bool_t GetVisCgemHitsFiredHL()
Definition BesView.h:205
Bool_t GetVisEmcHitsSide()
Definition BesView.h:236
virtual void Side()
Definition BesView.h:292
virtual char * GetObjectInfo(Int_t px, Int_t py) const
Definition BesView.cxx:965
void SetVisMdcTubes(Bool_t input)
Definition BesView.h:136
BesStatus * GetStatusZR()
Definition BesView.h:314
Bool_t GetVisMucHitsBarrel()
Definition BesView.h:247
void SetVisMucStrips(Bool_t input)
Definition BesView.h:176
virtual void ClearPad()
Definition BesView.cxx:439
void Center()
Definition BesView.cxx:559
Bool_t GetFishEyeStatus()
Definition BesView.h:275
virtual void Delete(Option_t *option)
Definition BesView.h:297
Bool_t GetVisEmcWest()
Definition BesView.h:156
void SetFishEye(Bool_t input=0)
Definition BesView.h:277
Bool_t GetFishEye()
Definition BesView.h:276
Bool_t GetVisTofEast()
Definition BesView.h:141
Bool_t GetVisTofGlobal()
Definition BesView.h:140
Bool_t GetVisMdcGlobal()
Definition BesView.h:131
Bool_t GetVisMdcHits()
Definition BesView.h:215
void SetVisFull3DEmc(Bool_t input)
Definition BesView.h:188
void SetVisTracksGlobal(Bool_t input)
Definition BesView.h:265
void SetVisEmcHitsEast(Bool_t input)
Definition BesView.h:239
void PrintCurrent()
Definition BesView.h:287
Bool_t GetVisFull3DMuc()
Definition BesView.h:183
void SetPhiRange(Float_t PhiMin=0, Float_t PhiMax=180)
Definition BesView.cxx:737
BesStatus * GetStatusCgemUF(int layer)
Definition BesView.h:317
Bool_t GetVisMucEast()
Definition BesView.h:167
Bool_t GetVisCgemHitsVStrip()
Definition BesView.h:203
void SetVisTofGlobal(Bool_t input)
Definition BesView.h:146
Bool_t GetVisEmcHitsWest()
Definition BesView.h:235
Bool_t GetVisFull3DEmc()
Definition BesView.h:182
void SetVisZoom(Float_t input)
Definition BesView.h:150
Bool_t GetVisEmcEast()
Definition BesView.h:154
Bool_t GetVisFull3DMdc()
Definition BesView.h:180
void SetVisEmcHitsSide(Bool_t input)
Definition BesView.h:242
EBESViewType GetViewType()
Definition BesView.h:74
void SetVisMucHitsGlobal(Bool_t input)
Definition BesView.h:250
void SetVisEmcBarrel(Bool_t input)
Definition BesView.h:161
void SetVisTracksEmc(Bool_t input)
Definition BesView.h:269
virtual void SetViewTypeBare(EBESViewType ViewType, Bool_t resetview=kFALSE)
Definition BesView.cxx:337
void SetVisCgemHitsXStrip(Bool_t input)
Definition BesView.h:208
void Top3D()
Definition BesView.h:106
void SetVisFull3DCgem(Bool_t input)
Definition BesView.h:185
void SetVisTofHitsEast(Bool_t input)
Definition BesView.h:227
void SetVisZRPlaneOnXY(Bool_t input)
Definition BesView.h:197
void SetVisTracksMuc(Bool_t input)
Definition BesView.h:270
void SetVisAxis(Bool_t input)
Definition BesView.h:198
virtual void Dump()
Definition BesView.h:302
void Front3D()
Definition BesView.h:102
void SetVisMdcWires(Bool_t input)
Definition BesView.h:137
void SetVisCgemHitsClusters(Bool_t input)
Definition BesView.h:210
void Side3D()
Definition BesView.cxx:954
void SetVisEmcHitsBarrel(Bool_t input)
Definition BesView.h:240
BesStatus * GetStatusXY()
Definition BesView.h:313
void ZoomOut()
Definition BesView.cxx:667
virtual void SetViewType(EBESViewType ViewType, Bool_t resetview=kFALSE)
Definition BesView.cxx:109
void SetVisCgemHitsVStrip(Bool_t input)
Definition BesView.h:209
virtual void SetZoomFactor(Double_t factor)
Definition BesView.h:309
void SetVisTracksIdeal(Bool_t input)
Definition BesView.h:267
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Definition BesView.cxx:451
Bool_t GetVisMucGlobal()
Definition BesView.h:166
virtual void NDCtoWC(const Float_t *pn, Float_t *pw)
Definition BesView.cxx:890
Bool_t GetVisTofHitsWest()
Definition BesView.h:224
void Refresh()
Definition BesView.cxx:1015
void SetVisCgemLayers(Bool_t input)
Definition BesView.h:126
Bool_t GetVisTofHitsGlobal()
Definition BesView.h:221
virtual void DefaultRange()
Definition BesView.cxx:101
void SetVisFull3DMuc(Bool_t input)
Definition BesView.h:189
Bool_t GetVisZRPlaneOnXY()
Definition BesView.h:193
Bool_t GetVisCgemHitsClusters()
Definition BesView.h:204
Bool_t GetVisTracksTof()
Definition BesView.h:259
void SetVisFull3DMdc(Bool_t input)
Definition BesView.h:186
void SetZoomRatio(Double_t ratio)
Definition BesView.cxx:578
void Reset()
Definition BesView.cxx:990
Bool_t GetVisTracksEmc()
Definition BesView.h:260
Bool_t GetVisTofWest()
Definition BesView.h:143
Bool_t GetVisMucStrips()
Definition BesView.h:170
void SetVisBeamPipe(Bool_t input)
Definition BesView.h:196
Bool_t GetVisFull3DCgem()
Definition BesView.h:179
void SetVisTofEast(Bool_t input)
Definition BesView.h:147
void SetVisCgemHitsFiredHL(Bool_t input)
Definition BesView.h:211
Double_t GetZoomRatio()
Definition BesView.h:73
void SetVisMCTruthTrack(Bool_t input)
Definition BesView.h:272
Bool_t GetVisEmcHitsEast()
Definition BesView.h:233
Bool_t GetVisCgemLayers()
Definition BesView.h:121
void SetVisMdcHitsGlobal(Bool_t input)
Definition BesView.h:217
void SetVisMucHitsWest(Bool_t input)
Definition BesView.h:253
Bool_t GetVisTracksMdc()
Definition BesView.h:257
Bool_t GetVisMucBarrel()
Definition BesView.h:168
virtual void DrawLabel()
Definition BesView.cxx:773
void SetVisMucBarrel(Bool_t input)
Definition BesView.h:174
virtual void Inspect()
Definition BesView.h:303
void ViewZR()
Definition BesView.h:80
Bool_t GetVisCgemHitsGlobal()
Definition BesView.h:201
virtual void SetDrawOption(Option_t *option)
Definition BesView.h:306
void SetVisMucGlobal(Bool_t input)
Definition BesView.h:172
virtual void DrawClass()
Definition BesView.h:298
Bool_t GetVisTofHitsBarrel()
Definition BesView.h:223
void SetVisEmcWest(Bool_t input)
Definition BesView.h:162
void View3D()
Definition BesView.h:78
Bool_t GetVisEmcSide()
Definition BesView.h:157
Bool_t GetVisMCTruthTrack()
Definition BesView.h:263
virtual void Top()
Definition BesView.h:293
Bool_t GetVisTofHitsEast()
Definition BesView.h:222