BOSS 6.6.4.p01
BESIII Offline Software System
Loading...
Searching...
No Matches
BesStatus Class Reference

#include <BesStatus.h>

+ Inheritance diagram for BesStatus:

Public Member Functions

 BesStatus ()
 
virtual ~BesStatus ()
 
void Transfer (BesStatus *right, Bool_t set)
 
void TransferGeometryMdc (BesStatus *right, Bool_t set)
 
void TransferGeometryTof (BesStatus *right, Bool_t set)
 
void TransferGeometryEmc (BesStatus *right, Bool_t set)
 
void TransferGeometryMuc (BesStatus *right, Bool_t set)
 
void TransferGeometryFull3D (BesStatus *right, Bool_t set)
 
void TransferGeometryOtherParts (BesStatus *right, Bool_t set)
 
void TransferHitsMdc (BesStatus *right, Bool_t set)
 
void TransferHitsTof (BesStatus *right, Bool_t set)
 
void TransferHitsEmc (BesStatus *right, Bool_t set)
 
void TransferHitsMuc (BesStatus *right, Bool_t set)
 
void TransferTracks (BesStatus *right, Bool_t set)
 
void TransferFishEye (BesStatus *right, Bool_t set)
 
void TransferPhiRange (BesStatus *right, Bool_t set)
 
void TransferZoom (BesStatus *right, Bool_t set)
 
void Default (EBESViewType type)
 

Public Attributes

Bool_t fMdcGlobal
 
Bool_t fMdcTubes
 visibility flag for global Mdc
 
Bool_t fMdcWires
 visibility flag for Mdc main tubes
 
Bool_t fTofGlobal
 visibility flag for Mdc wires
 
Bool_t fTofEast
 visibility flag for global Tof
 
Bool_t fTofBarrel
 visibility flag for Tof east EC
 
Bool_t fTofWest
 visibility flag for Tof barrel
 
Bool_t fEmcGlobal
 visibility flag for Tof west EC
 
Bool_t fEmcEast
 visivility flag for global Emc
 
Bool_t fEmcBarrel
 visivility flag for Emc east EC
 
Bool_t fEmcWest
 visivility flag for Emc barrel
 
Bool_t fEmcSide
 visivility flag for Emc west EC
 
Bool_t fMucGlobal
 visivility flag for Emc side
 
Bool_t fMucEast
 visivility flag for global Muc
 
Bool_t fMucBarrel
 visivility flag for Muc east EC
 
Bool_t fMucWest
 visivility flag for Muc barrel
 
Bool_t fMucStrips
 visivility flag for Muc west EC
 
Bool_t fFull3DMdc
 visivility flag for Muc strips
 
Bool_t fFull3DTof
 visivility flag for full 3D Mdc
 
Bool_t fFull3DEmc
 visivility flag for full 3D Tof
 
Bool_t fFull3DMuc
 visivility flag for full 3D Emc
 
Bool_t fBeamPipe
 visivility flag for full 3D Muc
 
Bool_t fZRPlaneOnXY
 visibility flag for beam pipe
 
Bool_t fAxis
 visibility flag for ZRPlaneOnXY
 
Bool_t fMdcHitsGlobal
 visibility flag for axis
 
Bool_t fMdcHits
 visibility flag for global Mdc Hits
 
Bool_t fTofHitsGlobal
 visibility flag for Mdc Hits
 
Bool_t fTofHitsEast
 visibility flag for global Tof Hits
 
Bool_t fTofHitsBarrel
 visibility flag for Tof Hits East
 
Bool_t fTofHitsWest
 visibility flag for Tof Hits Barrel
 
Bool_t fEmcHitsGlobal
 visibility flag for Tof Hits West
 
Bool_t fEmcHitsEast
 visibility flag for global Emc Hits
 
Bool_t fEmcHitsBarrel
 visibility flag for Emc Hits East
 
Bool_t fEmcHitsWest
 visibility flag for Emc Hits Barrel
 
Bool_t fEmcHitsSide
 visibility flag for Emc Hits West
 
Bool_t fMucHitsGlobal
 visibility flag for Emc Hits Side
 
Bool_t fMucHitsEast
 visibility flag for global Muc Hits
 
Bool_t fMucHitsBarrel
 visibility flag for Muc Hits East
 
Bool_t fMucHitsWest
 visibility flag for Muc Hits Barrel
 
Bool_t fTracksGlobal
 visibility flag for Muc Hits West
 
Bool_t fTracksMdc
 visibility flag for global Tracks
 
Bool_t fTracksTof
 visibility flag for Mdc Tracks
 
Bool_t fTracksEmc
 visibility flag for Tof Tracks
 
Bool_t fTracksMuc
 visibility flag for Emc Tracks
 
Bool_t fTracksExt
 visibility flag for Muc Tracks
 
Bool_t fFishEye
 visibility flag for Ext Tracks
 
Float_t fPhiRangeMin
 flags for fish eye view
 
Float_t fPhiRangeMax
 
Float_t fZoom
 

Friends

ostream & operator<< (ostream &os, const BesStatus &bs)
 
istream & operator>> (istream &is, BesStatus &bs)
 

Detailed Description

Definition at line 20 of file BesStatus.h.

Constructor & Destructor Documentation

◆ BesStatus()

BesStatus::BesStatus ( )

◆ ~BesStatus()

BesStatus::~BesStatus ( )
virtual

Definition at line 28 of file BesStatus.cxx.

28 {
29 //
30 // BesStatus default destructor
31 if (gDebug) {
32 cout << "BesStatus default dtor called" << endl;
33 }
34}

Member Function Documentation

◆ Default()

void BesStatus::Default ( EBESViewType  type)

Definition at line 38 of file BesStatus.cxx.

38 {
39 //
40 // default view settings
41 if ( type & k3DView ) {
42 if ( gDebug ) cout << "BesStatus default 3D called" << endl;
43
44 fMdcGlobal = 1; // nothing
45 fMdcTubes = 1; // tubes
46 fMdcWires = 0; // wires
47
48 fTofGlobal = 1; // nothing
49 fTofEast = 1; // scintilator
50 fTofBarrel = 1; // scintilator
51 fTofWest = 1; // scintilator
52
53 fEmcGlobal = 0; // nothing
54 fEmcEast = 1; // east frame, one cirlcle
55 fEmcBarrel = 1; // frame,
56 fEmcWest = 1; // west frame, one circle
57 fEmcSide = 0; // side
58
59 fMucGlobal = 1; // nothing
60 fMucEast = 0; // gap
61 fMucBarrel = 1; // gap
62 fMucWest = 0; // gap
63 fMucStrips = 0; // strips
64
65 fFull3DMdc = 0;
66 fFull3DTof = 0;
67 fFull3DEmc = 0;
68 fFull3DMuc = 0;
69
70 fBeamPipe = 1; // beamPipe
71 fZRPlaneOnXY = 0;
72 fAxis = 0;
73
75 fMdcHits = 1;
76
78 fTofHitsEast = 1;
80 fTofHitsWest = 1;
81
83 fEmcHitsEast = 1;
85 fEmcHitsWest = 1;
86 fEmcHitsSide = 0;
87
89 fMucHitsEast = 1;
91 fMucHitsWest = 1;
92
93 fTracksGlobal = 1;
94 fTracksMdc = 1;
95 fTracksTof = 1;
96 fTracksEmc = 1;
97 fTracksMuc = 1;
98 fTracksExt = 1;
99
100 fFishEye = 0;
101
102 fPhiRangeMin = 90;
103 fPhiRangeMax = 120;
104
105 } else if ( type & kXYView ) {
106
107 if ( gDebug ) cout << "BesStatus default ZR called" << endl;
108
109 fMdcGlobal = 1; // nothing
110 fMdcTubes = 0; // tubes
111 fMdcWires = 0; // wires
112
113 fTofGlobal = 1; // nothing
114 fTofEast = 0; // circle
115 fTofBarrel = 1; // circle
116 fTofWest = 0; // circle
117
118 fEmcGlobal = 1; // nothing
119 fEmcEast = 0; // east ec crystals
120 fEmcBarrel = 1; // 120 crystals
121 fEmcWest = 0; // west ec crystals
122 fEmcSide = 0; // side
123
124 fMucGlobal = 1; // nothing
125 fMucEast = 0; // shape of bakelite or chamber
126 fMucBarrel = 1; // gap
127 fMucWest = 0; // shape of bakelite or chamber
128 fMucStrips = 0; // strips
129
130 fFull3DMdc = 0;
131 fFull3DTof = 0;
132 fFull3DEmc = 0;
133 fFull3DMuc = 0;
134
135 fBeamPipe = 1; // circle
136 fZRPlaneOnXY = 0;
137 fAxis = 0;
138
139 fMdcHitsGlobal = 1;
140 fMdcHits = 1;
141
142 fTofHitsGlobal = 1;
143 fTofHitsEast = 1;
144 fTofHitsBarrel = 1;
145 fTofHitsWest = 1;
146
147 fEmcHitsGlobal = 1;
148 fEmcHitsEast = 1;
149 fEmcHitsBarrel = 1;
150 fEmcHitsWest = 1;
151 fEmcHitsSide = 0;
152
153 fMucHitsGlobal = 1;
154 fMucHitsEast = 1;
155 fMucHitsBarrel = 1;
156 fMucHitsWest = 1;
157
158 fTracksGlobal = 1;
159 fTracksMdc = 1;
160 fTracksTof = 1;
161 fTracksEmc = 1;
162 fTracksMuc = 1;
163 fTracksExt = 1;
164
165 fFishEye = 0;
166
167 fPhiRangeMin = 90;
168 fPhiRangeMax = 120;
169
170 fZoom = 1.44;
171
172 } else if ( type & kZRView ) {
173
174 if ( gDebug ) cout << "BesStatus default ZR called" << endl;
175
176 fMdcGlobal = 1; // nothing
177 fMdcTubes = 1; // nothing
178 fMdcWires = 0; // wire
179
180 fTofGlobal = 1; // nothing
181 fTofEast = 1; // box
182 fTofBarrel = 1; // box
183 fTofWest = 1; // box
184
185 fEmcGlobal = 1; // nothing
186 fEmcEast = 1; // intersect ec crystals
187 fEmcBarrel = 1; // 44 crystals
188 fEmcWest = 1; // intersect ec crystals
189 fEmcSide = 0; // side
190
191 fMucGlobal = 1; // nothing
192 fMucEast = 1; // project of bakelite or chamber
193 fMucBarrel = 1; // gap
194 fMucWest = 1; // shape of bakelite or chamber
195 fMucStrips = 0; // strips
196
197 fFull3DMdc = 0;
198 fFull3DTof = 0;
199 fFull3DEmc = 0;
200 fFull3DMuc = 0;
201
202 fBeamPipe = 1; // box
203 fZRPlaneOnXY = 0;
204 fAxis = 0;
205
206 fMdcHitsGlobal = 1;
207 fMdcHits = 1;
208
209 fTofHitsGlobal = 1;
210 fTofHitsEast = 1;
211 fTofHitsBarrel = 1;
212 fTofHitsWest = 1;
213
214 fEmcHitsGlobal = 1;
215 fEmcHitsEast = 1;
216 fEmcHitsBarrel = 1;
217 fEmcHitsWest = 1;
218 fEmcHitsSide = 0;
219
220 fMucHitsGlobal = 1;
221 fMucHitsEast = 1;
222 fMucHitsBarrel = 1;
223 fMucHitsWest = 1;
224
225 fTracksGlobal = 1;
226 fTracksMdc = 1;
227 fTracksTof = 1;
228 fTracksEmc = 1;
229 fTracksMuc = 1;
230 fTracksExt = 1;
231
232 fFishEye = 0;
233
234 fPhiRangeMin = 90;
235 fPhiRangeMax = 120;
236
237 fZoom = 1.44;
238 }
239}
@ kXYView
Definition: BesStatus.h:15
@ k3DView
Definition: BesStatus.h:14
@ kZRView
Definition: BesStatus.h:16
Bool_t fTracksEmc
visibility flag for Tof Tracks
Definition: BesStatus.h:103
Bool_t fMucHitsEast
visibility flag for global Muc Hits
Definition: BesStatus.h:94
Bool_t fTofHitsEast
visibility flag for global Tof Hits
Definition: BesStatus.h:79
Bool_t fMucBarrel
visivility flag for Muc east EC
Definition: BesStatus.h:55
Bool_t fFull3DMdc
visivility flag for Muc strips
Definition: BesStatus.h:61
Bool_t fTracksMdc
visibility flag for global Tracks
Definition: BesStatus.h:101
Bool_t fTofBarrel
visibility flag for Tof east EC
Definition: BesStatus.h:40
Bool_t fMucGlobal
visivility flag for Emc side
Definition: BesStatus.h:53
Bool_t fTracksExt
visibility flag for Muc Tracks
Definition: BesStatus.h:105
Bool_t fMucStrips
visivility flag for Muc west EC
Definition: BesStatus.h:57
Bool_t fFishEye
visibility flag for Ext Tracks
Definition: BesStatus.h:109
Bool_t fAxis
visibility flag for ZRPlaneOnXY
Definition: BesStatus.h:70
Bool_t fEmcHitsGlobal
visibility flag for Tof Hits West
Definition: BesStatus.h:85
Bool_t fMucHitsWest
visibility flag for Muc Hits Barrel
Definition: BesStatus.h:96
Bool_t fZRPlaneOnXY
visibility flag for beam pipe
Definition: BesStatus.h:69
Bool_t fMucWest
visivility flag for Muc barrel
Definition: BesStatus.h:56
Bool_t fMucEast
visivility flag for global Muc
Definition: BesStatus.h:54
Bool_t fMdcWires
visibility flag for Mdc main tubes
Definition: BesStatus.h:34
Bool_t fFull3DMuc
visivility flag for full 3D Emc
Definition: BesStatus.h:64
Bool_t fEmcGlobal
visibility flag for Tof west EC
Definition: BesStatus.h:45
Bool_t fTofHitsWest
visibility flag for Tof Hits Barrel
Definition: BesStatus.h:81
Bool_t fFull3DEmc
visivility flag for full 3D Tof
Definition: BesStatus.h:63
Bool_t fTofHitsBarrel
visibility flag for Tof Hits East
Definition: BesStatus.h:80
Bool_t fEmcWest
visivility flag for Emc barrel
Definition: BesStatus.h:48
Bool_t fTofWest
visibility flag for Tof barrel
Definition: BesStatus.h:41
Float_t fPhiRangeMin
flags for fish eye view
Definition: BesStatus.h:113
Bool_t fTofEast
visibility flag for global Tof
Definition: BesStatus.h:39
Bool_t fMdcGlobal
Definition: BesStatus.h:32
Bool_t fTofHitsGlobal
visibility flag for Mdc Hits
Definition: BesStatus.h:78
Bool_t fEmcHitsBarrel
visibility flag for Emc Hits East
Definition: BesStatus.h:87
Bool_t fEmcEast
visivility flag for global Emc
Definition: BesStatus.h:46
Bool_t fMdcHits
visibility flag for global Mdc Hits
Definition: BesStatus.h:74
Bool_t fMdcTubes
visibility flag for global Mdc
Definition: BesStatus.h:33
Float_t fPhiRangeMax
Definition: BesStatus.h:114
Bool_t fEmcHitsSide
visibility flag for Emc Hits West
Definition: BesStatus.h:89
Bool_t fEmcHitsWest
visibility flag for Emc Hits Barrel
Definition: BesStatus.h:88
Bool_t fEmcSide
visivility flag for Emc west EC
Definition: BesStatus.h:49
Bool_t fFull3DTof
visivility flag for full 3D Mdc
Definition: BesStatus.h:62
Bool_t fTracksMuc
visibility flag for Emc Tracks
Definition: BesStatus.h:104
Bool_t fTofGlobal
visibility flag for Mdc wires
Definition: BesStatus.h:38
Float_t fZoom
Definition: BesStatus.h:117
Bool_t fBeamPipe
visivility flag for full 3D Muc
Definition: BesStatus.h:68
Bool_t fMucHitsBarrel
visibility flag for Muc Hits East
Definition: BesStatus.h:95
Bool_t fEmcHitsEast
visibility flag for global Emc Hits
Definition: BesStatus.h:86
Bool_t fTracksTof
visibility flag for Mdc Tracks
Definition: BesStatus.h:102
Bool_t fEmcBarrel
visivility flag for Emc east EC
Definition: BesStatus.h:47
Bool_t fMucHitsGlobal
visibility flag for Emc Hits Side
Definition: BesStatus.h:93
Bool_t fMdcHitsGlobal
visibility flag for axis
Definition: BesStatus.h:73
Bool_t fTracksGlobal
visibility flag for Muc Hits West
Definition: BesStatus.h:100

Referenced by BesView::Reset().

◆ Transfer()

void BesStatus::Transfer ( BesStatus right,
Bool_t  set 
)

Definition at line 243 of file BesStatus.cxx.

243 {
244 //
245 // transfer status informations from one status instance to
246 // another, from here, all components transfer functions are called
247 if ( gDebug ) cout << "BesStatus::Transfer(BesStatus *right) called" << endl;
248
249 this->TransferGeometryMdc (right, set);
250 this->TransferGeometryTof (right, set);
251 this->TransferGeometryEmc (right, set);
252 this->TransferGeometryMuc (right, set);
253 this->TransferGeometryFull3D (right, set);
254 this->TransferGeometryOtherParts (right, set);
255
256 this->TransferHitsMdc (right, set);
257 this->TransferHitsTof (right, set);
258 this->TransferHitsEmc (right, set);
259 this->TransferHitsMuc (right, set);
260
261 this->TransferTracks (right, set);
262
263 this->TransferFishEye (right, set);
264 this->TransferPhiRange (right, set);
265 this->TransferZoom (right, set);
266}
void TransferGeometryMdc(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:270
void TransferPhiRange(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:391
void TransferHitsMdc(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:330
void TransferGeometryMuc(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:300
void TransferGeometryFull3D(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:311
void TransferHitsMuc(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:359
void TransferGeometryEmc(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:289
void TransferGeometryTof(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:279
void TransferHitsTof(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:338
void TransferGeometryOtherParts(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:321
void TransferZoom(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:402
void TransferFishEye(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:381
void TransferTracks(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:369
void TransferHitsEmc(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:348

Referenced by BesClient::LoadMyConfig(), and BesView::SetViewType().

◆ TransferFishEye()

void BesStatus::TransferFishEye ( BesStatus right,
Bool_t  set 
)

Definition at line 381 of file BesStatus.cxx.

381 {
382 //
383 // transfer function for fish eye flag
384 if ( gDebug ) cout << "BesStatus::TransferFishEye(BesStatus *right) called" << endl;
385
386 fFishEye = right->fFishEye;
387}

Referenced by Transfer().

◆ TransferGeometryEmc()

void BesStatus::TransferGeometryEmc ( BesStatus right,
Bool_t  set 
)

Definition at line 289 of file BesStatus.cxx.

289 {
290
291 fEmcGlobal = right->fEmcGlobal;
292 fEmcEast = right->fEmcEast;
293 fEmcBarrel = right->fEmcBarrel;
294 fEmcWest = right->fEmcWest;
295 fEmcSide = right->fEmcSide;
296}

Referenced by Transfer().

◆ TransferGeometryFull3D()

void BesStatus::TransferGeometryFull3D ( BesStatus right,
Bool_t  set 
)

Definition at line 311 of file BesStatus.cxx.

311 {
312
313 fFull3DMdc = right->fFull3DMdc;
314 fFull3DTof = right->fFull3DTof;
315 fFull3DEmc = right->fFull3DEmc;
316 fFull3DMuc = right->fFull3DMuc;
317}

Referenced by Transfer().

◆ TransferGeometryMdc()

void BesStatus::TransferGeometryMdc ( BesStatus right,
Bool_t  set 
)

Definition at line 270 of file BesStatus.cxx.

270 {
271
272 fMdcGlobal = right->fMdcGlobal;
273 fMdcTubes = right->fMdcTubes;
274 fMdcWires = right->fMdcWires;
275}

Referenced by Transfer().

◆ TransferGeometryMuc()

void BesStatus::TransferGeometryMuc ( BesStatus right,
Bool_t  set 
)

Definition at line 300 of file BesStatus.cxx.

300 {
301
302 fMucGlobal = right->fMucGlobal;
303 fMucEast = right->fMucEast;
304 fMucBarrel = right->fMucBarrel;
305 fMucWest = right->fMucWest;
306 fMucStrips = right->fMucStrips;
307}

Referenced by Transfer().

◆ TransferGeometryOtherParts()

void BesStatus::TransferGeometryOtherParts ( BesStatus right,
Bool_t  set 
)

Definition at line 321 of file BesStatus.cxx.

321 {
322
323 fBeamPipe = right->fBeamPipe;
324 fZRPlaneOnXY = right->fZRPlaneOnXY;
325 fAxis = right->fAxis;
326}

Referenced by Transfer().

◆ TransferGeometryTof()

void BesStatus::TransferGeometryTof ( BesStatus right,
Bool_t  set 
)

Definition at line 279 of file BesStatus.cxx.

279 {
280
281 fTofGlobal = right->fTofGlobal;
282 fTofEast = right->fTofEast;
283 fTofBarrel = right->fTofBarrel;
284 fTofWest = right->fTofWest;
285}

Referenced by Transfer().

◆ TransferHitsEmc()

void BesStatus::TransferHitsEmc ( BesStatus right,
Bool_t  set 
)

Definition at line 348 of file BesStatus.cxx.

348 {
349
351 fEmcHitsEast = right->fEmcHitsEast;
353 fEmcHitsWest = right->fEmcHitsWest;
354 fEmcHitsSide = right->fEmcHitsSide;
355}

Referenced by Transfer().

◆ TransferHitsMdc()

void BesStatus::TransferHitsMdc ( BesStatus right,
Bool_t  set 
)

Definition at line 330 of file BesStatus.cxx.

330 {
331
333 fMdcHits = right->fMdcHits;
334}

Referenced by Transfer().

◆ TransferHitsMuc()

void BesStatus::TransferHitsMuc ( BesStatus right,
Bool_t  set 
)

Definition at line 359 of file BesStatus.cxx.

359 {
360
362 fMucHitsEast = right->fMucHitsEast;
364 fMucHitsWest = right->fMucHitsWest;
365}

Referenced by Transfer().

◆ TransferHitsTof()

void BesStatus::TransferHitsTof ( BesStatus right,
Bool_t  set 
)

Definition at line 338 of file BesStatus.cxx.

338 {
339
341 fTofHitsEast = right->fTofHitsEast;
343 fTofHitsWest = right->fTofHitsWest;
344}

Referenced by Transfer().

◆ TransferPhiRange()

void BesStatus::TransferPhiRange ( BesStatus right,
Bool_t  set 
)

Definition at line 391 of file BesStatus.cxx.

391 {
392 //
393 // transfer function for fish phi range
394 if ( gDebug ) cout << "BesStatus::TransferPhiRange(BesStatus *right) called" << endl;
395
396 fPhiRangeMin = right->fPhiRangeMin;
397 fPhiRangeMax = right->fPhiRangeMax;
398}

Referenced by Transfer().

◆ TransferTracks()

void BesStatus::TransferTracks ( BesStatus right,
Bool_t  set 
)

Definition at line 369 of file BesStatus.cxx.

369 {
370
372 fTracksMdc = right->fTracksMdc;
373 fTracksTof = right->fTracksTof;
374 fTracksEmc = right->fTracksEmc;
375 fTracksMuc = right->fTracksMuc;
376 fTracksExt = right->fTracksExt;
377}

Referenced by Transfer().

◆ TransferZoom()

void BesStatus::TransferZoom ( BesStatus right,
Bool_t  set 
)

Definition at line 402 of file BesStatus.cxx.

402 {
403 //
404 // transfer function for zoom
405 if ( gDebug ) cout << "BesStatus::TransferZoom(BesStatus *right) called" << endl;
406
407 fZoom = right->fZoom;
408}

Referenced by Transfer().

Friends And Related Function Documentation

◆ operator<<

ostream & operator<< ( ostream &  os,
const BesStatus bs 
)
friend

Definition at line 479 of file BesStatus.cxx.

479 {
480
481 return os << hex << " "
482 << (bs.fMdcGlobal<<2) + (bs.fMdcTubes<<1) + bs.fMdcWires << " "
483 << (bs.fTofGlobal<<3) + (bs.fTofEast<<2) + (bs.fTofBarrel<<1) + bs.fTofWest << " "
484 << (bs.fEmcGlobal<<4) + (bs.fEmcEast<<3) + (bs.fEmcBarrel<<2) + (bs.fEmcWest<<1) + bs.fEmcSide << " "
485 << (bs.fMucGlobal<<4) + (bs.fMucEast<<3) + (bs.fMucBarrel<<2) + (bs.fMucWest<<1) + bs.fMucStrips << " "
486 << (bs.fFull3DMdc<<3) + (bs.fFull3DTof<<2) + (bs.fFull3DEmc<<1) + bs.fFull3DMuc << " "
487 << (bs.fBeamPipe<<2) + (bs.fZRPlaneOnXY<<1) + bs.fAxis << " "
488 << (bs.fMdcHitsGlobal<<1) + bs.fMdcHits << " "
489 << (bs.fTofHitsGlobal<<3) + (bs.fTofHitsEast<<2) + (bs.fTofHitsBarrel<<1) + bs.fTofHitsWest << " "
490 << (bs.fEmcHitsGlobal<<4) + (bs.fEmcHitsEast<<3) + (bs.fEmcHitsBarrel<<2) + (bs.fEmcHitsWest<<1) + bs.fEmcHitsSide << " "
491 << (bs.fMucHitsGlobal<<3) + (bs.fMucHitsEast<<2) + (bs.fMucHitsBarrel<<1) + bs.fMucHitsWest << " "
492 << (bs.fTracksGlobal<<5) + (bs.fTracksMdc<<4) + (bs.fTracksTof<<3) + (bs.fTracksEmc<<2) + (bs.fTracksMuc<<1) + bs.fTracksExt << " " << bs.fZoom;
493
494}

◆ operator>>

istream & operator>> ( istream &  is,
BesStatus bs 
)
friend

Definition at line 410 of file BesStatus.cxx.

410 {
411
412 unsigned int cMdc, cTof, cEmc, cMuc, cFull3D, cOther, cMdcHits;
413 unsigned int cTofHits, cEmcHits, cMucHits, cTracks;
414 Float_t cZoom;
415
416 is >> hex >> cMdc >> cTof >> cEmc >> cMuc >> cFull3D >>
417 cOther >> cMdcHits >> cTofHits >> cEmcHits >> cMucHits >> cTracks >> cZoom;
418
419 bs.fMdcGlobal = 1 & (cMdc>>2);
420 bs.fMdcTubes = 1 & (cMdc>>1);
421 bs.fMdcWires = 1 & cMdc;
422
423 bs.fTofGlobal = 1 & (cTof>>3);
424 bs.fTofEast = 1 & (cTof>>2);
425 bs.fTofBarrel = 1 & (cTof>>1);
426 bs.fTofWest = 1 & cTof;
427
428 bs.fEmcGlobal = 1 & (cEmc>>4);
429 bs.fEmcEast = 1 & (cEmc>>3);
430 bs.fEmcBarrel = 1 & (cEmc>>2);
431 bs.fEmcWest = 1 & (cEmc>>1);
432 bs.fEmcSide = 1 & cEmc;
433
434 bs.fMucGlobal = 1 & (cMuc>>4);
435 bs.fMucEast = 1 & (cMuc>>3);
436 bs.fMucBarrel = 1 & (cMuc>>2);
437 bs.fMucWest = 1 & (cMuc>>1);
438 bs.fMucStrips = 1 & cMuc;
439
440 bs.fFull3DMdc = 1 & (cFull3D>>3);
441 bs.fFull3DTof = 1 & (cFull3D>>2);
442 bs.fFull3DEmc = 1 & (cFull3D>>1);
443 bs.fFull3DMuc = 1 & cFull3D;
444
445 bs.fBeamPipe = 1 & (cOther>>2);
446 bs.fZRPlaneOnXY = 1 & (cOther>>1);
447 bs.fAxis = 1 & cOther;
448
449 bs.fMdcHitsGlobal = 1 & (cMdcHits>>1);
450 bs.fMdcHits = 1 & cMdcHits;
451
452 bs.fTofHitsGlobal = 1 & (cTofHits>>3);
453 bs.fTofHitsEast = 1 & (cTofHits>>2);
454 bs.fTofHitsBarrel = 1 & (cTofHits>>1);
455 bs.fTofHitsWest = 1 & cTofHits;
456
457 bs.fEmcHitsGlobal = 1 & (cEmcHits>>4);
458 bs.fEmcHitsEast = 1 & (cEmcHits>>3);
459 bs.fEmcHitsBarrel = 1 & (cEmcHits>>2);
460 bs.fEmcHitsWest = 1 & (cEmcHits>>1);
461 bs.fEmcHitsSide = 1 & cEmcHits;
462
463 bs.fMucHitsGlobal = 1 & (cMucHits>>3);
464 bs.fMucHitsEast = 1 & (cMucHits>>2);
465 bs.fMucHitsBarrel = 1 & (cMucHits>>1);
466 bs.fMucHitsWest = 1 & cMucHits;
467
468 bs.fTracksGlobal = 1 & (cTracks>>5);
469 bs.fTracksMdc = 1 & (cTracks>>4);
470 bs.fTracksTof = 1 & (cTracks>>3);
471 bs.fTracksEmc = 1 & (cTracks>>2);
472 bs.fTracksMuc = 1 & (cTracks>>1);
473 bs.fTracksExt = 1 & cTracks;
474 bs.fZoom = cZoom;
475
476 return is;
477}

Member Data Documentation

◆ fAxis

Bool_t BesStatus::fAxis

visibility flag for ZRPlaneOnXY

Definition at line 70 of file BesStatus.h.

Referenced by Default(), BesView::GetVisAxis(), BesView::SetVisAxis(), and TransferGeometryOtherParts().

◆ fBeamPipe

Bool_t BesStatus::fBeamPipe

visivility flag for full 3D Muc

Definition at line 68 of file BesStatus.h.

Referenced by Default(), BesView::GetVisBeamPipe(), BesView::SetVisBeamPipe(), and TransferGeometryOtherParts().

◆ fEmcBarrel

Bool_t BesStatus::fEmcBarrel

visivility flag for Emc east EC

Definition at line 47 of file BesStatus.h.

Referenced by Default(), BesView::GetVisEmcBarrel(), BesView::SetVisEmcBarrel(), and TransferGeometryEmc().

◆ fEmcEast

Bool_t BesStatus::fEmcEast

visivility flag for global Emc

Definition at line 46 of file BesStatus.h.

Referenced by Default(), BesView::GetVisEmcEast(), BesView::SetVisEmcEast(), and TransferGeometryEmc().

◆ fEmcGlobal

Bool_t BesStatus::fEmcGlobal

visibility flag for Tof west EC

Definition at line 45 of file BesStatus.h.

Referenced by Default(), BesView::GetVisEmcGlobal(), BesView::SetVisEmcGlobal(), and TransferGeometryEmc().

◆ fEmcHitsBarrel

Bool_t BesStatus::fEmcHitsBarrel

visibility flag for Emc Hits East

Definition at line 87 of file BesStatus.h.

Referenced by Default(), BesView::GetVisEmcHitsBarrel(), BesView::SetVisEmcHitsBarrel(), and TransferHitsEmc().

◆ fEmcHitsEast

Bool_t BesStatus::fEmcHitsEast

visibility flag for global Emc Hits

Definition at line 86 of file BesStatus.h.

Referenced by Default(), BesView::GetVisEmcHitsEast(), BesView::SetVisEmcHitsEast(), and TransferHitsEmc().

◆ fEmcHitsGlobal

Bool_t BesStatus::fEmcHitsGlobal

visibility flag for Tof Hits West

Definition at line 85 of file BesStatus.h.

Referenced by Default(), BesView::GetVisEmcHitsGlobal(), BesView::SetVisEmcHitsGlobal(), and TransferHitsEmc().

◆ fEmcHitsSide

Bool_t BesStatus::fEmcHitsSide

visibility flag for Emc Hits West

Definition at line 89 of file BesStatus.h.

Referenced by Default(), BesView::GetVisEmcHitsSide(), BesView::SetVisEmcHitsSide(), and TransferHitsEmc().

◆ fEmcHitsWest

Bool_t BesStatus::fEmcHitsWest

visibility flag for Emc Hits Barrel

Definition at line 88 of file BesStatus.h.

Referenced by Default(), BesView::GetVisEmcHitsWest(), BesView::SetVisEmcHitsWest(), and TransferHitsEmc().

◆ fEmcSide

Bool_t BesStatus::fEmcSide

visivility flag for Emc west EC

Definition at line 49 of file BesStatus.h.

Referenced by Default(), BesView::GetVisEmcSide(), BesView::SetVisEmcSide(), and TransferGeometryEmc().

◆ fEmcWest

Bool_t BesStatus::fEmcWest

visivility flag for Emc barrel

Definition at line 48 of file BesStatus.h.

Referenced by Default(), BesView::GetVisEmcWest(), BesView::SetVisEmcWest(), and TransferGeometryEmc().

◆ fFishEye

◆ fFull3DEmc

Bool_t BesStatus::fFull3DEmc

visivility flag for full 3D Tof

Definition at line 63 of file BesStatus.h.

Referenced by Default(), BesView::GetVisFull3DEmc(), BesView::SetVisFull3DEmc(), and TransferGeometryFull3D().

◆ fFull3DMdc

Bool_t BesStatus::fFull3DMdc

visivility flag for Muc strips

Definition at line 61 of file BesStatus.h.

Referenced by Default(), BesView::GetVisFull3DMdc(), BesView::SetVisFull3DMdc(), and TransferGeometryFull3D().

◆ fFull3DMuc

Bool_t BesStatus::fFull3DMuc

visivility flag for full 3D Emc

Definition at line 64 of file BesStatus.h.

Referenced by Default(), BesView::GetVisFull3DMuc(), BesView::SetVisFull3DMuc(), and TransferGeometryFull3D().

◆ fFull3DTof

Bool_t BesStatus::fFull3DTof

visivility flag for full 3D Mdc

Definition at line 62 of file BesStatus.h.

Referenced by Default(), BesView::GetVisFull3DTof(), BesView::SetVisFull3DTof(), and TransferGeometryFull3D().

◆ fMdcGlobal

Bool_t BesStatus::fMdcGlobal

◆ fMdcHits

Bool_t BesStatus::fMdcHits

visibility flag for global Mdc Hits

Definition at line 74 of file BesStatus.h.

Referenced by Default(), BesView::GetVisMdcHits(), BesView::SetVisMdcHits(), and TransferHitsMdc().

◆ fMdcHitsGlobal

Bool_t BesStatus::fMdcHitsGlobal

visibility flag for axis

Definition at line 73 of file BesStatus.h.

Referenced by Default(), BesView::GetVisMdcHitsGlobal(), BesView::SetVisMdcHitsGlobal(), and TransferHitsMdc().

◆ fMdcTubes

Bool_t BesStatus::fMdcTubes

visibility flag for global Mdc

Definition at line 33 of file BesStatus.h.

Referenced by Default(), BesView::GetVisMdcTubes(), BesView::SetVisMdcTubes(), and TransferGeometryMdc().

◆ fMdcWires

Bool_t BesStatus::fMdcWires

visibility flag for Mdc main tubes

Definition at line 34 of file BesStatus.h.

Referenced by Default(), BesView::GetVisMdcWires(), BesView::SetVisMdcWires(), and TransferGeometryMdc().

◆ fMucBarrel

Bool_t BesStatus::fMucBarrel

visivility flag for Muc east EC

Definition at line 55 of file BesStatus.h.

Referenced by Default(), BesView::GetVisMucBarrel(), BesView::SetVisMucBarrel(), and TransferGeometryMuc().

◆ fMucEast

Bool_t BesStatus::fMucEast

visivility flag for global Muc

Definition at line 54 of file BesStatus.h.

Referenced by Default(), BesView::GetVisMucEast(), BesView::SetVisMucEast(), and TransferGeometryMuc().

◆ fMucGlobal

Bool_t BesStatus::fMucGlobal

visivility flag for Emc side

Definition at line 53 of file BesStatus.h.

Referenced by Default(), BesView::GetVisMucGlobal(), BesView::SetVisMucGlobal(), and TransferGeometryMuc().

◆ fMucHitsBarrel

Bool_t BesStatus::fMucHitsBarrel

visibility flag for Muc Hits East

Definition at line 95 of file BesStatus.h.

Referenced by Default(), BesView::GetVisMucHitsBarrel(), BesView::SetVisMucHitsBarrel(), and TransferHitsMuc().

◆ fMucHitsEast

Bool_t BesStatus::fMucHitsEast

visibility flag for global Muc Hits

Definition at line 94 of file BesStatus.h.

Referenced by Default(), BesView::GetVisMucHitsEast(), BesView::SetVisMucHitsEast(), and TransferHitsMuc().

◆ fMucHitsGlobal

Bool_t BesStatus::fMucHitsGlobal

visibility flag for Emc Hits Side

Definition at line 93 of file BesStatus.h.

Referenced by Default(), BesView::GetVisMucHitsGlobal(), BesView::SetVisMucHitsGlobal(), and TransferHitsMuc().

◆ fMucHitsWest

Bool_t BesStatus::fMucHitsWest

visibility flag for Muc Hits Barrel

Definition at line 96 of file BesStatus.h.

Referenced by Default(), BesView::GetVisMucHitsWest(), BesView::SetVisMucHitsWest(), and TransferHitsMuc().

◆ fMucStrips

Bool_t BesStatus::fMucStrips

visivility flag for Muc west EC

Definition at line 57 of file BesStatus.h.

Referenced by Default(), BesView::GetVisMucStrips(), BesView::SetVisMucStrips(), and TransferGeometryMuc().

◆ fMucWest

Bool_t BesStatus::fMucWest

visivility flag for Muc barrel

Definition at line 56 of file BesStatus.h.

Referenced by Default(), BesView::GetVisMucWest(), BesView::SetVisMucWest(), and TransferGeometryMuc().

◆ fPhiRangeMax

Float_t BesStatus::fPhiRangeMax

Definition at line 114 of file BesStatus.h.

Referenced by Default(), BesView::SetPhiRange(), and TransferPhiRange().

◆ fPhiRangeMin

Float_t BesStatus::fPhiRangeMin

flags for fish eye view

Definition at line 113 of file BesStatus.h.

Referenced by Default(), Bes2DView::GetRSign(), BesView::GetRSign(), BesView::SetPhiRange(), and TransferPhiRange().

◆ fTofBarrel

Bool_t BesStatus::fTofBarrel

visibility flag for Tof east EC

Definition at line 40 of file BesStatus.h.

Referenced by Default(), BesView::GetVisTofBarrel(), BesView::SetVisTofBarrel(), and TransferGeometryTof().

◆ fTofEast

Bool_t BesStatus::fTofEast

visibility flag for global Tof

Definition at line 39 of file BesStatus.h.

Referenced by Default(), BesView::GetVisTofEast(), BesView::SetVisTofEast(), and TransferGeometryTof().

◆ fTofGlobal

Bool_t BesStatus::fTofGlobal

visibility flag for Mdc wires

Definition at line 38 of file BesStatus.h.

Referenced by Default(), BesView::GetVisTofGlobal(), BesView::SetVisTofGlobal(), and TransferGeometryTof().

◆ fTofHitsBarrel

Bool_t BesStatus::fTofHitsBarrel

visibility flag for Tof Hits East

Definition at line 80 of file BesStatus.h.

Referenced by Default(), BesView::GetVisTofHitsBarrel(), BesView::SetVisTofHitsBarrel(), and TransferHitsTof().

◆ fTofHitsEast

Bool_t BesStatus::fTofHitsEast

visibility flag for global Tof Hits

Definition at line 79 of file BesStatus.h.

Referenced by Default(), BesView::GetVisTofHitsEast(), BesView::SetVisTofHitsEast(), and TransferHitsTof().

◆ fTofHitsGlobal

Bool_t BesStatus::fTofHitsGlobal

visibility flag for Mdc Hits

Definition at line 78 of file BesStatus.h.

Referenced by Default(), BesView::GetVisTofHitsGlobal(), BesView::SetVisTofHitsGlobal(), and TransferHitsTof().

◆ fTofHitsWest

Bool_t BesStatus::fTofHitsWest

visibility flag for Tof Hits Barrel

Definition at line 81 of file BesStatus.h.

Referenced by Default(), BesView::GetVisTofHitsWest(), BesView::SetVisTofHitsWest(), and TransferHitsTof().

◆ fTofWest

Bool_t BesStatus::fTofWest

visibility flag for Tof barrel

Definition at line 41 of file BesStatus.h.

Referenced by Default(), BesView::GetVisTofWest(), BesView::SetVisTofWest(), and TransferGeometryTof().

◆ fTracksEmc

Bool_t BesStatus::fTracksEmc

visibility flag for Tof Tracks

Definition at line 103 of file BesStatus.h.

Referenced by Default(), BesView::GetVisTracksEmc(), BesView::SetVisTracksEmc(), and TransferTracks().

◆ fTracksExt

Bool_t BesStatus::fTracksExt

visibility flag for Muc Tracks

Definition at line 105 of file BesStatus.h.

Referenced by Default(), BesView::GetVisTracksExt(), BesView::SetVisTracksExt(), and TransferTracks().

◆ fTracksGlobal

Bool_t BesStatus::fTracksGlobal

visibility flag for Muc Hits West

Definition at line 100 of file BesStatus.h.

Referenced by Default(), BesView::GetVisTracksGlobal(), BesView::SetVisTracksGlobal(), and TransferTracks().

◆ fTracksMdc

Bool_t BesStatus::fTracksMdc

visibility flag for global Tracks

Definition at line 101 of file BesStatus.h.

Referenced by Default(), BesView::GetVisTracksMdc(), BesView::SetVisTracksMdc(), and TransferTracks().

◆ fTracksMuc

Bool_t BesStatus::fTracksMuc

visibility flag for Emc Tracks

Definition at line 104 of file BesStatus.h.

Referenced by Default(), BesView::GetVisTracksMuc(), BesView::SetVisTracksMuc(), and TransferTracks().

◆ fTracksTof

Bool_t BesStatus::fTracksTof

visibility flag for Mdc Tracks

Definition at line 102 of file BesStatus.h.

Referenced by Default(), BesView::GetVisTracksTof(), BesView::SetVisTracksTof(), and TransferTracks().

◆ fZoom

◆ fZRPlaneOnXY

Bool_t BesStatus::fZRPlaneOnXY

visibility flag for beam pipe

Definition at line 69 of file BesStatus.h.

Referenced by Default(), BesView::GetVisZRPlaneOnXY(), BesView::SetVisZRPlaneOnXY(), and TransferGeometryOtherParts().


The documentation for this class was generated from the following files: