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

Go to the documentation of this file.
00001 #ifndef RootEventData_TMdcDedx_H
00002 #define RootEventData_TMdcDedx_H 1
00003 
00004 #include "TObject.h"
00005 
00006 class TMdcDedx : public TObject {
00007     
00008 public:
00009     
00010   TMdcDedx ();
00011     
00012   ~TMdcDedx ();
00013     
00014     
00015  //   void Clear(Option_t *option ="");
00016 
00017  //   void PrInt_t(Option_t *option="") const;
00018   //get
00019   Int_t    trackId()        const { return m_trackId; }
00020   Int_t    particleId()      const { return m_particleId; }
00021   Int_t    status()     const { return m_status; }
00022   Int_t    truncAlg() const { return m_trunc_alg;  }  
00023  // Double_t prob(Int_t i)  const { return m_prob[i]; }
00024  // Double_t chi(int i)        const { return m_chi[i]; } -> wrong, use chiE,...
00025   Double_t chi(int i)        const;
00026   Double_t chiE()        const { return m_chiE; }
00027   Double_t chiMu()       const { return m_chiMu; }
00028   Double_t chiPi()       const { return m_chiPi; }
00029   Double_t chiK()        const { return m_chiK; }
00030   Double_t chiP()        const { return m_chiP; }
00031   
00032   Int_t    numGoodHits()      const { return m_numGoodHits; }
00033   Int_t    numTotalHits()     const { return m_numTotalHits; }
00034            
00035   Double_t probPH()           const { return m_probPH; }
00036   Double_t normPH()           const { return m_normPH; }
00037   Double_t errorPH()          const { return m_errorPH; }
00038   Double_t twentyPH()         const { return m_twentyPH; }
00039         
00040   
00041   //Double_t fracErrPH()        const { return m_fracErrPH; }
00042  
00043   //  Double_t minIronPH()       const { return m_minIronPH; }
00044   //  Double_t corrPH()          const { return m_corrPH; }
00045 
00046  //set
00047   void   setTrackId (const Int_t trackId ) { m_trackId = trackId ; }
00048   void   setParticleId(const Int_t particleId)  { m_particleId = particleId; }
00049   void   setStatus (const Int_t status) { m_status=status; }
00050   void   setTruncAlg(const Int_t trunc_alg) { m_trunc_alg = trunc_alg;   }
00051  /*
00052   void    setProb(const Double_t pb[5])  { 
00053             for(Int_t i =0; i<5 ; i++) m_prob[i]= pb[i]; }
00054 */
00055   void   setChiE(const Double_t chiE)        { m_chiE = chiE; } 
00056   void   setChiMu(const Double_t chiMu)      { m_chiMu = chiMu; }   
00057   void   setChiPi(const Double_t chiPi)     { m_chiPi = chiPi; }
00058   void   setChiK(const Double_t chiK)        { m_chiK = chiK; } 
00059   void   setChiP(const Double_t chiP)        { m_chiP = chiP; } 
00060 
00061   void   setNumGoodHits(const Int_t  numGoodHits)      { m_numGoodHits = numGoodHits; } 
00062   void   setNumTotalHits(const Int_t    numTotalHits)  { m_numTotalHits = numTotalHits; } 
00063 
00064   void   setProbPH(const Double_t probPH)              { m_probPH = probPH; }
00065   void   setNormPH(const Double_t normPH)              { m_normPH = normPH; } 
00066   void   setErrorPH(const Double_t errorPH)      { m_errorPH = errorPH; }
00067   void   setTwentyPH(const Double_t twentyPH)    { m_twentyPH = twentyPH; }
00068 
00069   //o void   setChi( double* chi)  {
00070   //o   for(int i =0; i<5 ; i++) m_chi[i]= chi[i];
00071   //o }
00072   
00073   // void   setFracErrPH(const Double_t fracErrPH)        { m_fracErrPH = fracErrPH; } 
00074   // void   setMinIronPH(const Double_t minIronPH)        { m_minIronPH = minIronPH; } 
00075   // void   setCorrPH(const Double_t corrPH)              { m_corrPH = corrPH; }
00076  
00077 private:        
00078   Int_t    m_trackId;       //Track Id wensp Add 2005-10-19
00079   Int_t    m_particleId;    //Particle ID from De/Dx fit
00080   Int_t    m_status;        //Status
00081   Int_t    m_trunc_alg;    //truncate method
00082   //Double_t m_prob[5];       //Probility // Changed on Oct. 10 following by Wangdy
00083   Double_t m_chiE;     //Number of sigama from e
00084   Double_t m_chiMu;    //Number of sigama from muon
00085   Double_t m_chiPi;    //Number of sigama from pion
00086   Double_t m_chiK;     //Number of sigama from k
00087   Double_t m_chiP;     //Number of sigama from p
00088   Int_t    m_numGoodHits;   //No. of good de/dx hits(exclude overflow)
00089   Int_t    m_numTotalHits;  //No. of good de/dx hits(include overflow)
00090   Double_t m_probPH;        //Most probable pulse height from truncated mean
00091   Double_t m_normPH;        //normalizd pulse height // Changed on Oct. 10 following by Wangdy
00092   Double_t m_errorPH;      //resolution of truncated mean 
00093   Double_t m_twentyPH;    //de/dx value of bitrunction rate equal to 20% 
00094   //o Double_t m_chi[5]; //Number of Chi_dEdx for different particles
00095 
00096   //Double_t m_fracErrPH;     //Fractional uncertaInt_ty on measured pulse height // Changed on Oct. 10 following by Wangdy 
00097   // Double_t m_minIronPH;     //Average pulse height for min-I
00098   // Double_t m_corrPH;        //Corrected pulse heights
00099   
00100   ClassDef(TMdcDedx,5)
00101 };
00102 
00103 #endif 

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