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