/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Event/RootEventData/RootEventData-00-03-80/RootEventData/TMdcTrack.h

Go to the documentation of this file.
00001 #ifndef RootEventData_TMdcTrack_H
00002 #define RootEventData_TMdcTrack_H 1
00003 
00004 #include "TObject.h"
00005 
00006 class TMdcTrack : public TObject {
00007     
00008 public:
00009   TMdcTrack();
00010   ~TMdcTrack ();
00011 
00012 //Get
00013   const Int_t     trackId()      const { return  m_trackId;  }
00014   const Double_t  helix(Int_t i) const { return  m_helix[i]; }
00015   const Int_t     stat()         const { return  m_stat;     }
00016   const Double_t  chi2()         const { return  m_chi2;     }
00017   const Int_t     ndof()         const { return  m_ndof;     }
00018   const Double_t  err(Int_t i)   const { return  m_err[i];   }
00019   const Int_t     nster()        const { return  m_nster;    }
00020   const Int_t     nlayer()       const { return  m_nlayer; }
00021   const Int_t     firstLayer()   const { return  m_firstLayer;}
00022   const Int_t     lastLayer()    const { return  m_lastLayer; }
00023 
00024   const Double_t  x()            const;
00025   const Double_t  y()            const;
00026   const Double_t  z()            const;
00027 
00028   const Double_t  r()            const;
00029   const Int_t     charge()       const;
00030   const Double_t  pxy()          const;
00031   const Double_t  px()           const;
00032   const Double_t  py()           const;
00033   const Double_t  pz()           const;
00034   const Double_t  p()            const;
00035   const Double_t  theta()        const;
00036   const Double_t  phi()          const;
00037   
00038   //set
00039   void setHelix(const Double_t helix[5]);
00040   void setErr(const Double_t err[15] );
00041   void setTrackId(const Int_t trackId )  { m_trackId = trackId; }
00042   void setStat(const Int_t    stat   )   { m_stat = stat ;      }
00043   void setChi2(const Double_t chi  )     { m_chi2 = chi;        }
00044   void setNdof(const Int_t    ndof )     { m_ndof = ndof;       }
00045   void setNster(const Int_t     ns )     { m_nster = ns;        }
00046   void setNlayer(const Int_t nlayer)     { m_nlayer= nlayer;    }
00047   void setFirstLayer(const Int_t fL)     { m_firstLayer = fL;   }
00048   void setLastLayer(const Int_t lL )     { m_lastLayer = lL;    }
00049   
00050   
00051  private: 
00052   Int_t    m_trackId;    // Track Id Wensp add 2005-10-19 
00053   Double_t m_helix[5];   // 5 track parameters
00054   Double_t m_err[15];    // Error  Matrix
00055   // Double_t m_poca[3];
00056   Int_t    m_stat;       // Track Fit Quality
00057   Double_t m_chi2;
00058   Int_t    m_ndof;        
00059   Int_t    m_nster;      // number of  stereo hits contained
00060   Int_t    m_nlayer;     // number of  layer track passed
00061   Int_t    m_firstLayer; // 
00062   Int_t    m_lastLayer;  //
00063   ClassDef(TMdcTrack,3)
00064 };
00065 
00066 #endif 

Generated on Tue Nov 29 23:11:40 2016 for BOSS_7.0.2 by  doxygen 1.4.7