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