/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Tof/EstTofCaliSvc/EstTofCaliSvc-00-00-10/EstTofCaliSvc/BTofCal.h

Go to the documentation of this file.
00001 #ifndef BTOF_CAL_H
00002 #define BTOF_CAL_H 
00003 
00004 const unsigned int nBarPar    = 10;  
00005 const unsigned int nBarParOff = 20;
00006 
00007 class BTofCal{
00008  public:
00009    BTofCal() {}
00010    ~BTofCal(){}
00011  public:  
00012   double getP1(int idx)          const{ return m_p1[idx];    }
00013   double getP2(int idx)          const{ return m_p2[idx];    }
00014   //  double getPOff1(int idx)       const{ return m_poff1[idx]; }
00015   //  double getPOff2(int idx)       const{ return m_poff2[idx]; }
00016 
00017  public:  
00018   void   setP1(int idx,double p1)         { m_p1[idx]    = p1;      }
00019   void   setP2(int idx,double p2)         { m_p2[idx]    = p2;      }
00020   //  void   setPOff1(int idx,double poff1)   { m_poff1[idx] = poff1;   }
00021   //  void   setPOff2(int idx,double poff2)   { m_poff2[idx] = poff2;   }
00022 
00023  private:
00024   double m_p1[nBarPar];        // left time calibration constant 
00025   double m_p2[nBarPar];        // right time calibration constant 
00026   //  double m_poff1[nBarParOff];  // left time calibration constant 
00027   //  double m_poff2[nBarParOff];  // right time calibration constant 
00028 };
00029 #endif             

Generated on Tue Nov 29 23:14:35 2016 for BOSS_7.0.2 by  doxygen 1.4.7