BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
EventDisplay/BesVisLib/BesVisLib-00-04-04/BesVisLib/BesStatus.h File Reference
#include <TObject.h>

Go to the source code of this file.

Classes

class  BesStatus
 

Macros

#define BES_EBESViewType
 

Enumerations

enum  EBESViewType {
  k3DView = BIT(0) , kXYView = BIT(1) , kZRView = BIT(2) , k3DView = BIT(0) ,
  kXYView = BIT(1) , kZRView = BIT(2)
}
 

Functions

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

Macro Definition Documentation

◆ BES_EBESViewType

#define BES_EBESViewType

Enumeration Type Documentation

◆ EBESViewType

Enumerator
k3DView 
kXYView 
kZRView 
k3DView 
kXYView 
kZRView 

Definition at line 13 of file EventDisplay/BesVisLib/BesVisLib-00-04-04/BesVisLib/BesStatus.h.

Function Documentation

◆ operator<<()

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

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}
Bool_t fTracksEmc
visibility flag for Tof Tracks
Bool_t fMucHitsEast
visibility flag for global Muc Hits
Bool_t fTofHitsEast
visibility flag for global Tof Hits
Bool_t fMucBarrel
visivility flag for Muc east EC
Bool_t fFull3DMdc
visivility flag for Muc strips
Bool_t fTracksMdc
visibility flag for global Tracks
Bool_t fTofBarrel
visibility flag for Tof east EC
Bool_t fTracksExt
visibility flag for Muc Tracks
Bool_t fMucStrips
visivility flag for Muc west EC
Bool_t fAxis
visibility flag for ZRPlaneOnXY
Bool_t fEmcHitsGlobal
visibility flag for Tof Hits West
Bool_t fMucHitsWest
visibility flag for Muc Hits Barrel
Bool_t fZRPlaneOnXY
visibility flag for beam pipe
Bool_t fMucWest
visivility flag for Muc barrel
Bool_t fMucEast
visivility flag for global Muc
Bool_t fMdcWires
visibility flag for Mdc main tubes
Bool_t fFull3DMuc
visivility flag for full 3D Emc
Bool_t fEmcGlobal
visibility flag for Tof west EC
Bool_t fTofHitsWest
visibility flag for Tof Hits Barrel
Bool_t fFull3DEmc
visivility flag for full 3D Tof
Bool_t fTofHitsBarrel
visibility flag for Tof Hits East
Bool_t fEmcWest
visivility flag for Emc barrel
Bool_t fTofWest
visibility flag for Tof barrel
Bool_t fTofEast
visibility flag for global Tof
Bool_t fTofHitsGlobal
visibility flag for Mdc Hits
Bool_t fEmcHitsBarrel
visibility flag for Emc Hits East
Bool_t fEmcEast
visivility flag for global Emc
Bool_t fMdcHits
visibility flag for global Mdc Hits
Bool_t fMdcTubes
visibility flag for global Mdc
Bool_t fEmcHitsSide
visibility flag for Emc Hits West
Bool_t fEmcHitsWest
visibility flag for Emc Hits Barrel
Bool_t fEmcSide
visivility flag for Emc west EC
Bool_t fFull3DTof
visivility flag for full 3D Mdc
Bool_t fTracksMuc
visibility flag for Emc Tracks
Bool_t fTofGlobal
visibility flag for Mdc wires
Bool_t fBeamPipe
visivility flag for full 3D Muc
Bool_t fMucHitsBarrel
visibility flag for Muc Hits East
Bool_t fEmcHitsEast
visibility flag for global Emc Hits
Bool_t fTracksTof
visibility flag for Mdc Tracks
Bool_t fEmcBarrel
visivility flag for Emc east EC
Bool_t fMucHitsGlobal
visibility flag for Emc Hits Side
Bool_t fTracksGlobal
visibility flag for Muc Hits West

◆ operator>>()

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

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}