BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
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
EBESViewType
Definition: BesStatus.h:13
@ kCgemUFView2
Definition: BesStatus.h:20
@ kCgemUFView0
Definition: BesStatus.h:18
@ kXYView
Definition: BesStatus.h:15
@ k3DView
Definition: BesStatus.h:14
@ kCgemUFView1
Definition: BesStatus.h:19
@ kZRView
Definition: BesStatus.h:16
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
Definition: BesStatus.h:121
Bool_t fCgemGlobal
Definition: BesStatus.h:35
Bool_t fMucHitsEast
visibility flag for global Muc Hits
Definition: BesStatus.h:112
void TransferGeometryMdc(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:550
Bool_t fTofHitsEast
visibility flag for global Tof Hits
Definition: BesStatus.h:97
Bool_t fMucBarrel
visivility flag for Muc east EC
Definition: BesStatus.h:65
Bool_t fFull3DCgem
visivility flag for Muc strips
Definition: BesStatus.h:71
Bool_t fFull3DMdc
Definition: BesStatus.h:72
Bool_t fTracksMdc
visibility flag for global Tracks
Definition: BesStatus.h:119
Bool_t fTofBarrel
visibility flag for Tof east EC
Definition: BesStatus.h:50
Bool_t fMucGlobal
visivility flag for Emc side
Definition: BesStatus.h:63
Bool_t fTracksExt
visibility flag for Muc Tracks
Definition: BesStatus.h:123
Bool_t fCgemHitsGlobal
visibility flag for axis
Definition: BesStatus.h:84
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
Definition: BesStatus.h:67
Bool_t fFishEye
visibility flag for Ext Tracks
Definition: BesStatus.h:127
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
Bool_t fCgemLayers
Definition: BesStatus.h:36
void TransferGeometryTof(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:559
Bool_t fAxis
visibility flag for ZRPlaneOnXY
Definition: BesStatus.h:81
Bool_t fEmcHitsGlobal
visibility flag for Tof Hits West
Definition: BesStatus.h:103
Bool_t fMucHitsWest
visibility flag for Muc Hits Barrel
Definition: BesStatus.h:114
void TransferHitsTof(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:630
Bool_t fZRPlaneOnXY
visibility flag for beam pipe
Definition: BesStatus.h:80
Bool_t fMucWest
visivility flag for Muc barrel
Definition: BesStatus.h:66
Bool_t fMucEast
visivility flag for global Muc
Definition: BesStatus.h:64
Bool_t fMdcWires
visibility flag for Mdc main tubes
Definition: BesStatus.h:44
Bool_t fFull3DMuc
visivility flag for full 3D Emc
Definition: BesStatus.h:75
Bool_t fEmcGlobal
visibility flag for Tof west EC
Definition: BesStatus.h:55
void TransferGeometryOtherParts(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:602
Bool_t fTofHitsWest
visibility flag for Tof Hits Barrel
Definition: BesStatus.h:99
friend ostream & operator<<(ostream &os, const BesStatus &bs)
Definition: BesStatus.cxx:785
Bool_t fCgemXStrips
Definition: BesStatus.h:37
Bool_t fFull3DEmc
visivility flag for full 3D Tof
Definition: BesStatus.h:74
Bool_t fTofHitsBarrel
visibility flag for Tof Hits East
Definition: BesStatus.h:98
void TransferHitsCgem(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:611
Bool_t fEmcWest
visivility flag for Emc barrel
Definition: BesStatus.h:58
Bool_t fTofWest
visibility flag for Tof barrel
Definition: BesStatus.h:51
Float_t fPhiRangeMin
flags for fish eye view
Definition: BesStatus.h:131
Bool_t fTofEast
visibility flag for global Tof
Definition: BesStatus.h:49
Bool_t fMdcGlobal
Definition: BesStatus.h:42
friend istream & operator>>(istream &is, BesStatus &bs)
Definition: BesStatus.cxx:702
Bool_t fCgemVStrips
Definition: BesStatus.h:38
Bool_t fTofHitsGlobal
visibility flag for Mdc Hits
Definition: BesStatus.h:96
Bool_t fEmcHitsBarrel
visibility flag for Emc Hits East
Definition: BesStatus.h:105
Bool_t fEmcEast
visivility flag for global Emc
Definition: BesStatus.h:56
Bool_t fMdcHits
visibility flag for global Mdc Hits
Definition: BesStatus.h:92
Bool_t fMdcTubes
visibility flag for global Mdc
Definition: BesStatus.h:43
Float_t fPhiRangeMax
Definition: BesStatus.h:132
Bool_t fEmcHitsSide
visibility flag for Emc Hits West
Definition: BesStatus.h:107
Bool_t fEmcHitsWest
visibility flag for Emc Hits Barrel
Definition: BesStatus.h:106
Bool_t fEmcSide
visivility flag for Emc west EC
Definition: BesStatus.h:59
Bool_t fFull3DTof
visivility flag for full 3D Mdc
Definition: BesStatus.h:73
Bool_t fTracksMuc
visibility flag for Emc Tracks
Definition: BesStatus.h:122
Bool_t fTofGlobal
visibility flag for Mdc wires
Definition: BesStatus.h:48
void TransferZoom(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:694
Float_t fZoom
Definition: BesStatus.h:135
Bool_t fBeamPipe
visivility flag for full 3D Muc
Definition: BesStatus.h:79
void TransferFishEye(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:673
Bool_t fCgemHitsXStrip
Definition: BesStatus.h:85
void TransferGeometryCgem(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:540
Bool_t fMucHitsBarrel
visibility flag for Muc Hits East
Definition: BesStatus.h:113
Bool_t fEmcHitsEast
visibility flag for global Emc Hits
Definition: BesStatus.h:104
Bool_t fCgemHitsClusters
Definition: BesStatus.h:87
Bool_t fTracksTof
visibility flag for Mdc Tracks
Definition: BesStatus.h:120
Bool_t fEmcBarrel
visivility flag for Emc east EC
Definition: BesStatus.h:57
void Transfer(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:511
Bool_t fMucHitsGlobal
visibility flag for Emc Hits Side
Definition: BesStatus.h:111
Bool_t fMdcHitsGlobal
Definition: BesStatus.h:91
Bool_t fCgemHitsFiredHL
Definition: BesStatus.h:88
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 fCgemHitsVStrip
Definition: BesStatus.h:86
Bool_t fTracksGlobal
visibility flag for Muc Hits West
Definition: BesStatus.h:118