/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Calibration/CalibData/CalibData-00-01-18/CalibData/Tof/etfCalibBase.h

Go to the documentation of this file.
00001 // $Header: /bes/bes/BossCvs/Calibration/CalibData/CalibData/Tof/etfCalibBase.h,v 1.3 2015/08/06 09:32:53 sunss Exp $
00002 #ifndef CalibData_etfCalibBase_h
00003 #define CalibData_etfCalibBase_h
00004 
00005 #include "GaudiKernel/DataObject.h"
00006 #include "CalibData/CalibModel.h"
00007 #include <vector>
00008 
00009 
00010 namespace CalibData {
00011   class etfCalibBase{
00012    public:
00013      etfCalibBase(){};
00014 
00015     virtual ~etfCalibBase() {
00016       }
00017 
00018     //set the Calibdata of ETF
00019      void setSpeed(const double* Speed);
00020      void setP(const double* etfP);
00021      void setP1(const double* etfP1);
00022      void setP2(const double* etfP2);
00023 
00024      //get the CalibData of Tof
00025      double  getSpeed(int No)   const { return m_Speed[No]; }
00026      double  getP(int No)       const { return m_P[No];     }
00027      double  getP1(int No)      const { return m_P1[No];    }
00028      double  getP2(int No)      const { return m_P2[No];    }
00029 
00030   private:
00031      double m_Speed[4];
00032      double m_P[20], m_P1[20], m_P2[20];
00033   };
00034 }
00035 
00036 
00037 #endif

Generated on Tue Nov 29 22:57:48 2016 for BOSS_7.0.2 by  doxygen 1.4.7