BOSS 6.6.4.p01
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};
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
EBESViewType
Definition: BesStatus.h:13
@ kXYView
Definition: BesStatus.h:15
@ k3DView
Definition: BesStatus.h:14
@ kZRView
Definition: BesStatus.h:16
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
Definition: BesStatus.h:103
Bool_t fMucHitsEast
visibility flag for global Muc Hits
Definition: BesStatus.h:94
void TransferGeometryMdc(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:270
Bool_t fTofHitsEast
visibility flag for global Tof Hits
Definition: BesStatus.h:79
Bool_t fMucBarrel
visivility flag for Muc east EC
Definition: BesStatus.h:55
Bool_t fFull3DMdc
visivility flag for Muc strips
Definition: BesStatus.h:61
Bool_t fTracksMdc
visibility flag for global Tracks
Definition: BesStatus.h:101
Bool_t fTofBarrel
visibility flag for Tof east EC
Definition: BesStatus.h:40
Bool_t fMucGlobal
visivility flag for Emc side
Definition: BesStatus.h:53
Bool_t fTracksExt
visibility flag for Muc Tracks
Definition: BesStatus.h:105
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
Definition: BesStatus.h:57
Bool_t fFishEye
visibility flag for Ext Tracks
Definition: BesStatus.h:109
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
Definition: BesStatus.h:70
Bool_t fEmcHitsGlobal
visibility flag for Tof Hits West
Definition: BesStatus.h:85
Bool_t fMucHitsWest
visibility flag for Muc Hits Barrel
Definition: BesStatus.h:96
void TransferHitsTof(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:338
Bool_t fZRPlaneOnXY
visibility flag for beam pipe
Definition: BesStatus.h:69
Bool_t fMucWest
visivility flag for Muc barrel
Definition: BesStatus.h:56
Bool_t fMucEast
visivility flag for global Muc
Definition: BesStatus.h:54
Bool_t fMdcWires
visibility flag for Mdc main tubes
Definition: BesStatus.h:34
Bool_t fFull3DMuc
visivility flag for full 3D Emc
Definition: BesStatus.h:64
Bool_t fEmcGlobal
visibility flag for Tof west EC
Definition: BesStatus.h:45
void TransferGeometryOtherParts(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:321
Bool_t fTofHitsWest
visibility flag for Tof Hits Barrel
Definition: BesStatus.h:81
friend ostream & operator<<(ostream &os, const BesStatus &bs)
Definition: BesStatus.cxx:479
Bool_t fFull3DEmc
visivility flag for full 3D Tof
Definition: BesStatus.h:63
Bool_t fTofHitsBarrel
visibility flag for Tof Hits East
Definition: BesStatus.h:80
Bool_t fEmcWest
visivility flag for Emc barrel
Definition: BesStatus.h:48
Bool_t fTofWest
visibility flag for Tof barrel
Definition: BesStatus.h:41
Float_t fPhiRangeMin
flags for fish eye view
Definition: BesStatus.h:113
Bool_t fTofEast
visibility flag for global Tof
Definition: BesStatus.h:39
Bool_t fMdcGlobal
Definition: BesStatus.h:32
friend istream & operator>>(istream &is, BesStatus &bs)
Definition: BesStatus.cxx:410
Bool_t fTofHitsGlobal
visibility flag for Mdc Hits
Definition: BesStatus.h:78
Bool_t fEmcHitsBarrel
visibility flag for Emc Hits East
Definition: BesStatus.h:87
Bool_t fEmcEast
visivility flag for global Emc
Definition: BesStatus.h:46
Bool_t fMdcHits
visibility flag for global Mdc Hits
Definition: BesStatus.h:74
Bool_t fMdcTubes
visibility flag for global Mdc
Definition: BesStatus.h:33
Float_t fPhiRangeMax
Definition: BesStatus.h:114
Bool_t fEmcHitsSide
visibility flag for Emc Hits West
Definition: BesStatus.h:89
Bool_t fEmcHitsWest
visibility flag for Emc Hits Barrel
Definition: BesStatus.h:88
Bool_t fEmcSide
visivility flag for Emc west EC
Definition: BesStatus.h:49
Bool_t fFull3DTof
visivility flag for full 3D Mdc
Definition: BesStatus.h:62
Bool_t fTracksMuc
visibility flag for Emc Tracks
Definition: BesStatus.h:104
Bool_t fTofGlobal
visibility flag for Mdc wires
Definition: BesStatus.h:38
void TransferZoom(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:402
Float_t fZoom
Definition: BesStatus.h:117
Bool_t fBeamPipe
visivility flag for full 3D Muc
Definition: BesStatus.h:68
void TransferFishEye(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:381
Bool_t fMucHitsBarrel
visibility flag for Muc Hits East
Definition: BesStatus.h:95
Bool_t fEmcHitsEast
visibility flag for global Emc Hits
Definition: BesStatus.h:86
Bool_t fTracksTof
visibility flag for Mdc Tracks
Definition: BesStatus.h:102
Bool_t fEmcBarrel
visivility flag for Emc east EC
Definition: BesStatus.h:47
void Transfer(BesStatus *right, Bool_t set)
Definition: BesStatus.cxx:243
Bool_t fMucHitsGlobal
visibility flag for Emc Hits Side
Definition: BesStatus.h:93
Bool_t fMdcHitsGlobal
visibility flag for axis
Definition: BesStatus.h:73
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
Definition: BesStatus.h:100