00001 // $Header: /bes/bes/BossCvs/Calibration/CalibData/CalibData/Tof/eTofCalibBase.h,v 1.7 2010/10/14 05:25:29 huangb Exp $ 00002 #ifndef CalibData_eTofCalibBase_h 00003 #define CalibData_eTofCalibBase_h 00004 00012 #include "GaudiKernel/DataObject.h" 00013 #include "CalibData/CalibModel.h" 00014 #include <vector> 00015 00016 00017 namespace CalibData { 00018 class eTofCalibBase{ 00019 public: 00020 eTofCalibBase(){}; 00021 00022 virtual ~eTofCalibBase() { 00023 } 00024 00025 //set the Calibdata of Tof 00026 void setAtten(const double* Atten); 00027 void setSpeed(const double* Speed); 00028 void setP(const double* TofP); 00029 void setFP(const double* FP); 00030 00031 //get the CalibData of Tof 00032 double getAtten(int No) const{return m_Atten[No];} 00033 double getSpeed(int No) const{return m_Speed[No];} 00034 double getP(int No) const { return m_P[No];} 00035 double getFP(int No) const{return m_FP[No];} 00036 00037 private: 00038 double m_Atten[5]; 00039 double m_Speed[4]; 00040 double m_P[8]; 00041 double m_FP[5]; 00042 00043 }; 00044 } 00045 00046 00047 #endif