BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
EventDisplay/BesVisLib/BesVisLib-00-05-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 //Long Peixun's update: CGEM unfolded display for each layer
18 kCgemUFView0 = BIT(3),
19 kCgemUFView1 = BIT(4),
20 kCgemUFView2 = BIT(5)
21};
22#endif
23
24class BesStatus : public TObject {
25
26 private:
27
28 public:
29 friend ostream& operator<< (ostream& os,const BesStatus& bs);
30 friend istream& operator>> (istream& is,BesStatus& bs);
32 virtual ~BesStatus();
33
34 //Long Peixun's update: status flags for Cgem Geometry
35 Bool_t fCgemGlobal; //visibility for global CGEM
36 Bool_t fCgemLayers; //visibility for CGEM layers
37 Bool_t fCgemXStrips; //visibility for CGEM X-strips
38 Bool_t fCgemVStrips; //visibility for CGEM V-strips
39
40 // status flags for Mdc geometry
41
42 Bool_t fMdcGlobal; //! visibility flag for global Mdc
43 Bool_t fMdcTubes; //! visibility flag for Mdc main tubes
44 Bool_t fMdcWires; //! visibility flag for Mdc wires
45
46 // status flags for Tof geometry
47
48 Bool_t fTofGlobal; //!visibility flag for global Tof
49 Bool_t fTofEast; //!visibility flag for Tof east EC
50 Bool_t fTofBarrel; //!visibility flag for Tof barrel
51 Bool_t fTofWest; //!visibility flag for Tof west EC
52
53 // status flags for Emc geometry
54
55 Bool_t fEmcGlobal; //! visivility flag for global Emc
56 Bool_t fEmcEast; //! visivility flag for Emc east EC
57 Bool_t fEmcBarrel; //! visivility flag for Emc barrel
58 Bool_t fEmcWest; //! visivility flag for Emc west EC
59 Bool_t fEmcSide; //! visivility flag for Emc side
60
61 // status flags for Muc geometry
62
63 Bool_t fMucGlobal; //! visivility flag for global Muc
64 Bool_t fMucEast; //! visivility flag for Muc east EC
65 Bool_t fMucBarrel; //! visivility flag for Muc barrel
66 Bool_t fMucWest; //! visivility flag for Muc west EC
67 Bool_t fMucStrips; //! visivility flag for Muc strips
68
69 // status flags for full 3D detector geometry
70
71 Bool_t fFull3DCgem; //Long Peixun's update: Add Cgem option
72 Bool_t fFull3DMdc; //! visivility flag for full 3D Mdc
73 Bool_t fFull3DTof; //! visivility flag for full 3D Tof
74 Bool_t fFull3DEmc; //! visivility flag for full 3D Emc
75 Bool_t fFull3DMuc; //! visivility flag for full 3D Muc
76
77 // status flags for other parts
78
79 Bool_t fBeamPipe; //! visibility flag for beam pipe
80 Bool_t fZRPlaneOnXY; //! visibility flag for ZRPlaneOnXY
81 Bool_t fAxis; //! visibility flag for axis
82
83 //Long Peixun's update: add status flags for hits Cgem
84 Bool_t fCgemHitsGlobal; //visibility flag for global CGEM hits
85 Bool_t fCgemHitsXStrip; //visibility flag for CGEM hits X-strip
86 Bool_t fCgemHitsVStrip; //visibility flag for CGEM hits V-strip
87 Bool_t fCgemHitsClusters; //visibility flag for CGEM clusters
88 Bool_t fCgemHitsFiredHL; //visibility flag for CGEM highlight fired stirps
89
90 // status flags for hits Mdc
91 Bool_t fMdcHitsGlobal; //! visibility flag for global Mdc Hits
92 Bool_t fMdcHits; //! visibility flag for Mdc Hits
93
94 // status flags for hits Tof
95
96 Bool_t fTofHitsGlobal; //! visibility flag for global Tof Hits
97 Bool_t fTofHitsEast; //! visibility flag for Tof Hits East
98 Bool_t fTofHitsBarrel; //! visibility flag for Tof Hits Barrel
99 Bool_t fTofHitsWest; //! visibility flag for Tof Hits West
100
101 // status flags for hits Emc
102
103 Bool_t fEmcHitsGlobal; //! visibility flag for global Emc Hits
104 Bool_t fEmcHitsEast; //! visibility flag for Emc Hits East
105 Bool_t fEmcHitsBarrel; //! visibility flag for Emc Hits Barrel
106 Bool_t fEmcHitsWest; //! visibility flag for Emc Hits West
107 Bool_t fEmcHitsSide; //! visibility flag for Emc Hits Side
108
109 // status flags for hits Muc
110
111 Bool_t fMucHitsGlobal; //! visibility flag for global Muc Hits
112 Bool_t fMucHitsEast; //! visibility flag for Muc Hits East
113 Bool_t fMucHitsBarrel; //! visibility flag for Muc Hits Barrel
114 Bool_t fMucHitsWest; //! visibility flag for Muc Hits West
115
116 // status flags for tracks
117
118 Bool_t fTracksGlobal; //! visibility flag for global Tracks
119 Bool_t fTracksMdc; //! visibility flag for Mdc Tracks
120 Bool_t fTracksTof; //! visibility flag for Tof Tracks
121 Bool_t fTracksEmc; //! visibility flag for Emc Tracks
122 Bool_t fTracksMuc; //! visibility flag for Muc Tracks
123 Bool_t fTracksExt; //! visibility flag for Ext Tracks
124
125 // status flags for general options
126
127 Bool_t fFishEye; //! flags for fish eye view
128
129 // phi range
130
131 Float_t fPhiRangeMin; // Minimum of phi range for Z-R projection (in degrees)
132 Float_t fPhiRangeMax; // Maximum of phi range for Z-R projection (in degrees)
133
134 // zoom
135 Float_t fZoom;
136
137 void Transfer(BesStatus *right, Bool_t set);
138
139 void TransferGeometryCgem (BesStatus *right, Bool_t set); //Long Peixun's update: for CGEM
140 void TransferGeometryMdc (BesStatus *right, Bool_t set);
141 void TransferGeometryTof (BesStatus *right, Bool_t set);
142 void TransferGeometryEmc (BesStatus *right, Bool_t set);
143 void TransferGeometryMuc (BesStatus *right, Bool_t set);
144 void TransferGeometryFull3D (BesStatus *right, Bool_t set);
145 void TransferGeometryOtherParts (BesStatus *right, Bool_t set);
146
147 void TransferHitsCgem (BesStatus *right, Bool_t set); //Long Peixun's update: for CGEM
148 void TransferHitsMdc (BesStatus *right, Bool_t set);
149 void TransferHitsTof (BesStatus *right, Bool_t set);
150 void TransferHitsEmc (BesStatus *right, Bool_t set);
151 void TransferHitsMuc (BesStatus *right, Bool_t set);
152
153 void TransferTracks (BesStatus *right, Bool_t set);
154
155 void TransferFishEye (BesStatus *right, Bool_t set);
156 void TransferPhiRange (BesStatus *right, Bool_t set);
157 void TransferZoom (BesStatus *right, Bool_t set);
158
159 void Default(EBESViewType type);
160
161 ClassDef(BesStatus,0) // Bes View Status
162};
163istream& operator>> (istream& is,BesStatus& bs);
164ostream& operator<< (ostream& os,const BesStatus& bs);
165
166#endif
ostream & operator<<(ostream &os, const BesStatus &bs)
Definition: BesStatus.cxx:785
istream & operator>>(istream &is, BesStatus &bs)
Definition: BesStatus.cxx:702
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:550
Bool_t fTofHitsEast
visibility flag for global Tof Hits
Bool_t fMucBarrel
visivility flag for Muc east EC
Bool_t fFull3DCgem
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:683
void TransferHitsMdc(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:622
void TransferGeometryMuc(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:580
Bool_t fMucStrips
visivility flag for Muc west EC
void TransferGeometryFull3D(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:591
void TransferHitsMuc(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:651
void TransferGeometryEmc(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:569
void TransferGeometryTof(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:559
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:630
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:602
Bool_t fTofHitsWest
visibility flag for Tof Hits Barrel
friend ostream & operator<<(ostream &os, const BesStatus &bs)
Definition: BesStatus.cxx:785
Bool_t fFull3DEmc
visivility flag for full 3D Tof
Bool_t fTofHitsBarrel
visibility flag for Tof Hits East
void TransferHitsCgem(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:611
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:702
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:694
Bool_t fBeamPipe
visivility flag for full 3D Muc
void TransferFishEye(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:673
void TransferGeometryCgem(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:540
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:511
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:661
void Default(EBESViewType type)
Definition: BesStatus.cxx:38
void TransferHitsEmc(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:640
Bool_t fTracksGlobal
visibility flag for Muc Hits West