00001 #ifndef BTOFCOMMON_CAL_H 00002 #define BTOFCOMMON_CAL_H 00003 00004 const unsigned int nBarOffset = 2; 00005 00006 class BTofCommonCal{ 00007 public: 00008 BTofCommonCal() {} 00009 ~BTofCommonCal(){} 00010 public: 00011 double getOffset(int im) const{ return m_offset[im]; } 00012 00013 public: 00014 void setOffset(int idx, double offset) { m_offset[idx] = offset; } 00015 00016 private: 00017 double m_offset[2]; 00018 }; 00019 #endif