BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
EventDisplay/BesVisLib/BesVisLib-00-04-04/BesVisLib/BesStatus.h
Go to the documentation of this file.
1//
2// BesStatus.h
3//
4
5#ifndef BES_STATUS
6#define BES_STATUS
7
8#include <TObject.h>
9
10#ifndef BES_EBESViewType
11#define BES_EBESViewType
12
14 k3DView = BIT(0),
15 kXYView = BIT(1),
16 kZRView = BIT(2)
17};
18#endif
19
20class BesStatus : public TObject {
21
22 private:
23
24 public:
25 friend ostream& operator<< (ostream& os,const BesStatus& bs);
26 friend istream& operator>> (istream& is,BesStatus& bs);
28 virtual ~BesStatus();
29
30 // status flags for Mdc geometry
31
32 Bool_t fMdcGlobal; //! visibility flag for global Mdc
33 Bool_t fMdcTubes; //! visibility flag for Mdc main tubes
34 Bool_t fMdcWires; //! visibility flag for Mdc wires
35
36 // status flags for Tof geometry
37
38 Bool_t fTofGlobal; //!visibility flag for global Tof
39 Bool_t fTofEast; //!visibility flag for Tof east EC
40 Bool_t fTofBarrel; //!visibility flag for Tof barrel
41 Bool_t fTofWest; //!visibility flag for Tof west EC
42
43 // status flags for Emc geometry
44
45 Bool_t fEmcGlobal; //! visivility flag for global Emc
46 Bool_t fEmcEast; //! visivility flag for Emc east EC
47 Bool_t fEmcBarrel; //! visivility flag for Emc barrel
48 Bool_t fEmcWest; //! visivility flag for Emc west EC
49 Bool_t fEmcSide; //! visivility flag for Emc side
50
51 // status flags for Muc geometry
52
53 Bool_t fMucGlobal; //! visivility flag for global Muc
54 Bool_t fMucEast; //! visivility flag for Muc east EC
55 Bool_t fMucBarrel; //! visivility flag for Muc barrel
56 Bool_t fMucWest; //! visivility flag for Muc west EC
57 Bool_t fMucStrips; //! visivility flag for Muc strips
58
59 // status flags for full 3D detector geometry
60
61 Bool_t fFull3DMdc; //! visivility flag for full 3D Mdc
62 Bool_t fFull3DTof; //! visivility flag for full 3D Tof
63 Bool_t fFull3DEmc; //! visivility flag for full 3D Emc
64 Bool_t fFull3DMuc; //! visivility flag for full 3D Muc
65
66 // status flags for other parts
67
68 Bool_t fBeamPipe; //! visibility flag for beam pipe
69 Bool_t fZRPlaneOnXY; //! visibility flag for ZRPlaneOnXY
70 Bool_t fAxis; //! visibility flag for axis
71
72 // status flags for hits Mdc
73 Bool_t fMdcHitsGlobal; //! visibility flag for global Mdc Hits
74 Bool_t fMdcHits; //! visibility flag for Mdc Hits
75
76 // status flags for hits Tof
77
78 Bool_t fTofHitsGlobal; //! visibility flag for global Tof Hits
79 Bool_t fTofHitsEast; //! visibility flag for Tof Hits East
80 Bool_t fTofHitsBarrel; //! visibility flag for Tof Hits Barrel
81 Bool_t fTofHitsWest; //! visibility flag for Tof Hits West
82
83 // status flags for hits Emc
84
85 Bool_t fEmcHitsGlobal; //! visibility flag for global Emc Hits
86 Bool_t fEmcHitsEast; //! visibility flag for Emc Hits East
87 Bool_t fEmcHitsBarrel; //! visibility flag for Emc Hits Barrel
88 Bool_t fEmcHitsWest; //! visibility flag for Emc Hits West
89 Bool_t fEmcHitsSide; //! visibility flag for Emc Hits Side
90
91 // status flags for hits Muc
92
93 Bool_t fMucHitsGlobal; //! visibility flag for global Muc Hits
94 Bool_t fMucHitsEast; //! visibility flag for Muc Hits East
95 Bool_t fMucHitsBarrel; //! visibility flag for Muc Hits Barrel
96 Bool_t fMucHitsWest; //! visibility flag for Muc Hits West
97
98 // status flags for tracks
99
100 Bool_t fTracksGlobal; //! visibility flag for global Tracks
101 Bool_t fTracksMdc; //! visibility flag for Mdc Tracks
102 Bool_t fTracksTof; //! visibility flag for Tof Tracks
103 Bool_t fTracksEmc; //! visibility flag for Emc Tracks
104 Bool_t fTracksMuc; //! visibility flag for Muc Tracks
105 Bool_t fTracksExt; //! visibility flag for Ext Tracks
106
107 // status flags for general options
108
109 Bool_t fFishEye; //! flags for fish eye view
110
111 // phi range
112
113 Float_t fPhiRangeMin; // Minimum of phi range for Z-R projection (in degrees)
114 Float_t fPhiRangeMax; // Maximum of phi range for Z-R projection (in degrees)
115
116 // zoom
117 Float_t fZoom;
118
119 void Transfer(BesStatus *right, Bool_t set);
120
121 void TransferGeometryMdc (BesStatus *right, Bool_t set);
122 void TransferGeometryTof (BesStatus *right, Bool_t set);
123 void TransferGeometryEmc (BesStatus *right, Bool_t set);
124 void TransferGeometryMuc (BesStatus *right, Bool_t set);
125 void TransferGeometryFull3D (BesStatus *right, Bool_t set);
126 void TransferGeometryOtherParts (BesStatus *right, Bool_t set);
127
128 void TransferHitsMdc (BesStatus *right, Bool_t set);
129 void TransferHitsTof (BesStatus *right, Bool_t set);
130 void TransferHitsEmc (BesStatus *right, Bool_t set);
131 void TransferHitsMuc (BesStatus *right, Bool_t set);
132
133 void TransferTracks (BesStatus *right, Bool_t set);
134
135 void TransferFishEye (BesStatus *right, Bool_t set);
136 void TransferPhiRange (BesStatus *right, Bool_t set);
137 void TransferZoom (BesStatus *right, Bool_t set);
138
139 void Default(EBESViewType type);
140
141 ClassDef(BesStatus,0) // Bes View Status
142};
143istream& operator>> (istream& is,BesStatus& bs);
144ostream& operator<< (ostream& os,const BesStatus& bs);
145
146#endif
ostream & operator<<(ostream &os, const BesStatus &bs)
Definition: BesStatus.cxx:479
istream & operator>>(istream &is, BesStatus &bs)
Definition: BesStatus.cxx:410
Bool_t fTracksEmc
visibility flag for Tof Tracks
Bool_t fMucHitsEast
visibility flag for global Muc Hits
void TransferGeometryMdc(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:270
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
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
Bool_t fMucStrips
visivility flag for Muc west EC
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
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
void TransferHitsTof(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:338
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
void TransferGeometryOtherParts(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:321
Bool_t fTofHitsWest
visibility flag for Tof Hits Barrel
friend ostream & operator<<(ostream &os, const BesStatus &bs)
Definition: BesStatus.cxx:479
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
friend istream & operator>>(istream &is, BesStatus &bs)
Definition: BesStatus.cxx:410
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
void TransferZoom(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:402
Bool_t fBeamPipe
visivility flag for full 3D Muc
void TransferFishEye(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:381
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
void Transfer(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:243
Bool_t fMucHitsGlobal
visibility flag for Emc Hits Side
virtual ~BesStatus()
Definition: BesStatus.cxx:28
void TransferTracks(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:369
void Default(EBESViewType type)
Definition: BesStatus.cxx:38
void TransferHitsEmc(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:348
Bool_t fTracksGlobal
visibility flag for Muc Hits West