00001 #ifndef CalibData_bTofCommonCalibBase_h 00002 #define CalibData_bTofCommonCalibBase_h 00003 00011 #include "GaudiKernel/DataObject.h" 00012 #include "CalibData/CalibModel.h" 00013 #include <vector> 00014 00015 00016 namespace CalibData { 00017 class bTofCommonCalibBase{ 00018 public: 00019 bTofCommonCalibBase(){}; 00020 00021 virtual ~bTofCommonCalibBase() { 00022 } 00023 00024 //set the Calibdata of Tof 00025 void setOffset(const double* offset); 00026 void setSigmaCorr(const double* sigmaCorr); 00027 00028 //get the CalibData of Tof 00029 double getOffset(int No) const { return m_offset[No]; } 00030 double getSigmaCorr(int No) const { return m_sigmaCorr[No]; } 00031 00032 private: 00033 double m_offset[2]; 00034 double m_sigmaCorr[8]; 00035 00036 }; 00037 } 00038 00039 00040 #endif