/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Tof/TofCaliSvc/TofCaliSvc-00-01-13/TofCaliSvc/BTofCommonCal.h

Go to the documentation of this file.
00001 #ifndef BTOFCOMMON_CAL_H
00002 #define BTOFCOMMON_CAL_H 
00003 
00004 const unsigned int nBarSigCor = 8;
00005 const unsigned int nBarOffset = 2;
00006   
00007 class BTofCommonCal{
00008  public:
00009    BTofCommonCal() {}
00010    ~BTofCommonCal(){}
00011  public:
00012   double getSigmaCorr(int idx)   const{ return m_sigmac[idx]; }
00013   double getOffset(int idx)      const{ return m_offset[idx]; }
00014 
00015  public:
00016   void   setSigmaCorr(int idx, double sigmac)   { m_sigmac[idx] = sigmac; }
00017   void   setOffset(int idx, double offset)      { m_offset[idx] = offset; }
00018 
00019  private:
00020   double m_sigmac[nBarSigCor];
00021   double m_offset[nBarOffset];
00022 };
00023 #endif             

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