CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
EventDisplay/BesVisLib/BesVisLib-00-06-08/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 MC
126
127 Bool_t fMCTruthTrack; //! visibility flag for MC truth tracks
128
129 // status flags for general options
130
131 Bool_t fFishEye; //! flags for fish eye view
132
133 // phi range
134
135 Float_t fPhiRangeMin; // Minimum of phi range for Z-R projection (in degrees)
136 Float_t fPhiRangeMax; // Maximum of phi range for Z-R projection (in degrees)
137
138 // zoom
139 Float_t fZoom;
140
141 void Transfer(BesStatus *right, Bool_t set);
142
143 void TransferGeometryCgem (BesStatus *right, Bool_t set); //Long Peixun's update: for CGEM
144 void TransferGeometryMdc (BesStatus *right, Bool_t set);
145 void TransferGeometryTof (BesStatus *right, Bool_t set);
146 void TransferGeometryEmc (BesStatus *right, Bool_t set);
147 void TransferGeometryMuc (BesStatus *right, Bool_t set);
148 void TransferGeometryFull3D (BesStatus *right, Bool_t set);
149 void TransferGeometryOtherParts (BesStatus *right, Bool_t set);
150
151 void TransferHitsCgem (BesStatus *right, Bool_t set); //Long Peixun's update: for CGEM
152 void TransferHitsMdc (BesStatus *right, Bool_t set);
153 void TransferHitsTof (BesStatus *right, Bool_t set);
154 void TransferHitsEmc (BesStatus *right, Bool_t set);
155 void TransferHitsMuc (BesStatus *right, Bool_t set);
156
157 void TransferTracks (BesStatus *right, Bool_t set);
158
159 void TransferFishEye (BesStatus *right, Bool_t set);
160 void TransferPhiRange (BesStatus *right, Bool_t set);
161 void TransferZoom (BesStatus *right, Bool_t set);
162
163 void Default(EBESViewType type);
164
165 ClassDef(BesStatus,0) // Bes View Status
166};
167istream& operator>> (istream& is,BesStatus& bs);
168ostream& operator<< (ostream& os,const BesStatus& bs);
169
170#endif
ostream & operator<<(ostream &os, const BesStatus &bs)
Definition: BesStatus.cxx:805
istream & operator>>(istream &is, BesStatus &bs)
Definition: BesStatus.cxx:722
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:569
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 fMCTruthTrack
visibility flag for Ext 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:703
void TransferHitsMdc(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:641
void TransferGeometryMuc(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:599
Bool_t fMucStrips
visivility flag for Muc west EC
Bool_t fFishEye
visibility flag for MC truth tracks
void TransferGeometryFull3D(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:610
void TransferHitsMuc(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:670
void TransferGeometryEmc(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:588
void TransferGeometryTof(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:578
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:649
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:621
Bool_t fTofHitsWest
visibility flag for Tof Hits Barrel
friend ostream & operator<<(ostream &os, const BesStatus &bs)
Definition: BesStatus.cxx:805
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:630
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:722
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:714
Bool_t fBeamPipe
visivility flag for full 3D Muc
void TransferFishEye(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:693
void TransferGeometryCgem(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:559
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:530
Bool_t fMucHitsGlobal
visibility flag for Emc Hits Side
virtual ~BesStatus()
Definition: BesStatus.cxx:29
void TransferTracks(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:680
void Default(EBESViewType type)
Definition: BesStatus.cxx:39
void TransferHitsEmc(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:659
Bool_t fTracksGlobal
visibility flag for Muc Hits West