/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/EventDisplay/BesVisLib/BesVisLib-00-04-04/BesVisLib/BesStatus.h

Go to the documentation of this file.
00001 //
00002 // BesStatus.h
00003 //
00004 
00005 #ifndef BES_STATUS
00006 #define BES_STATUS
00007 
00008 #include <TObject.h>
00009 
00010 #ifndef BES_EBESViewType
00011 #define BES_EBESViewType
00012 
00013 enum EBESViewType {
00014   k3DView   = BIT(0),
00015   kXYView   = BIT(1),
00016   kZRView   = BIT(2)
00017 };
00018 #endif
00019 
00020 class BesStatus : public TObject {
00021 
00022  private:
00023 
00024  public:
00025   friend ostream& operator<< (ostream& os,const BesStatus& bs);
00026   friend istream& operator>> (istream& is,BesStatus& bs);
00027   BesStatus();
00028   virtual ~BesStatus();
00029 
00030   // status flags for Mdc geometry
00031 
00032   Bool_t fMdcGlobal;    
00033   Bool_t fMdcTubes;     
00034   Bool_t fMdcWires;     
00035 
00036   // status flags for Tof geometry
00037 
00038   Bool_t fTofGlobal;   
00039   Bool_t fTofEast;     
00040   Bool_t fTofBarrel;   
00041   Bool_t fTofWest;     
00042 
00043   // status flags for Emc geometry
00044 
00045   Bool_t fEmcGlobal;   
00046   Bool_t fEmcEast;     
00047   Bool_t fEmcBarrel;   
00048   Bool_t fEmcWest;     
00049   Bool_t fEmcSide;     
00050 
00051   // status flags for Muc geometry
00052 
00053   Bool_t fMucGlobal;   
00054   Bool_t fMucEast;     
00055   Bool_t fMucBarrel;   
00056   Bool_t fMucWest;     
00057   Bool_t fMucStrips;   
00058 
00059   // status flags for full 3D detector geometry
00060 
00061   Bool_t fFull3DMdc;   
00062   Bool_t fFull3DTof;   
00063   Bool_t fFull3DEmc;   
00064   Bool_t fFull3DMuc;   
00065 
00066   // status flags for other parts
00067 
00068   Bool_t fBeamPipe;        
00069   Bool_t fZRPlaneOnXY;     
00070   Bool_t fAxis;            
00071 
00072   // status flags for hits Mdc
00073   Bool_t fMdcHitsGlobal;       
00074   Bool_t fMdcHits;             
00075 
00076   // status flags for hits Tof
00077 
00078   Bool_t fTofHitsGlobal;    
00079   Bool_t fTofHitsEast;      
00080   Bool_t fTofHitsBarrel;    
00081   Bool_t fTofHitsWest;      
00082   
00083   // status flags for hits Emc
00084 
00085   Bool_t fEmcHitsGlobal;    
00086   Bool_t fEmcHitsEast;      
00087   Bool_t fEmcHitsBarrel;    
00088   Bool_t fEmcHitsWest;      
00089   Bool_t fEmcHitsSide;      
00090 
00091   // status flags for hits Muc
00092 
00093   Bool_t fMucHitsGlobal;    
00094   Bool_t fMucHitsEast;      
00095   Bool_t fMucHitsBarrel;    
00096   Bool_t fMucHitsWest;      
00097   
00098   // status flags for tracks
00099 
00100   Bool_t fTracksGlobal;     
00101   Bool_t fTracksMdc;        
00102   Bool_t fTracksTof;        
00103   Bool_t fTracksEmc;        
00104   Bool_t fTracksMuc;        
00105   Bool_t fTracksExt;        
00106 
00107   // status flags for general options
00108 
00109   Bool_t fFishEye;           
00110 
00111   // phi range
00112 
00113   Float_t      fPhiRangeMin;      // Minimum of phi range for Z-R projection (in degrees)
00114   Float_t      fPhiRangeMax;      // Maximum of phi range for Z-R projection (in degrees)
00115 
00116   // zoom
00117   Float_t      fZoom;
00118 
00119   void Transfer(BesStatus *right, Bool_t set);
00120 
00121   void TransferGeometryMdc        (BesStatus *right, Bool_t set);
00122   void TransferGeometryTof        (BesStatus *right, Bool_t set);
00123   void TransferGeometryEmc        (BesStatus *right, Bool_t set);
00124   void TransferGeometryMuc        (BesStatus *right, Bool_t set);
00125   void TransferGeometryFull3D     (BesStatus *right, Bool_t set);
00126   void TransferGeometryOtherParts (BesStatus *right, Bool_t set);
00127 
00128   void TransferHitsMdc   (BesStatus *right, Bool_t set);
00129   void TransferHitsTof   (BesStatus *right, Bool_t set);
00130   void TransferHitsEmc   (BesStatus *right, Bool_t set);
00131   void TransferHitsMuc   (BesStatus *right, Bool_t set);
00132 
00133   void TransferTracks    (BesStatus *right, Bool_t set);
00134 
00135   void TransferFishEye  (BesStatus *right, Bool_t set);
00136   void TransferPhiRange (BesStatus *right, Bool_t set);
00137   void TransferZoom     (BesStatus *right, Bool_t set);
00138 
00139   void Default(EBESViewType type);
00140 
00141   ClassDef(BesStatus,0) // Bes View Status
00142 };
00143 istream& operator>> (istream& is,BesStatus& bs);
00144 ostream& operator<< (ostream& os,const BesStatus& bs);
00145 
00146 #endif

Generated on Tue Nov 29 23:12:01 2016 for BOSS_7.0.2 by  doxygen 1.4.7