BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
Calibration/CalibData/CalibData-00-01-18/CalibData/Tof/etfCalibBase.h
Go to the documentation of this file.
1// $Header: /bes/bes/BossCvs/Calibration/CalibData/CalibData/Tof/etfCalibBase.h,v 1.3 2015/08/06 09:32:53 sunss Exp $
2#ifndef CalibData_etfCalibBase_h
3#define CalibData_etfCalibBase_h
4
5#include "GaudiKernel/DataObject.h"
6#include "CalibData/CalibModel.h"
7#include <vector>
8
9
10namespace CalibData {
12 public:
14
15 virtual ~etfCalibBase() {
16 }
17
18 //set the Calibdata of ETF
19 void setSpeed(const double* Speed);
20 void setP(const double* etfP);
21 void setP1(const double* etfP1);
22 void setP2(const double* etfP2);
23
24 //get the CalibData of Tof
25 double getSpeed(int No) const { return m_Speed[No]; }
26 double getP(int No) const { return m_P[No]; }
27 double getP1(int No) const { return m_P1[No]; }
28 double getP2(int No) const { return m_P2[No]; }
29
30 private:
31 double m_Speed[4];
32 double m_P[20], m_P1[20], m_P2[20];
33 };
34}
35
36
37#endif
void setSpeed(const double *Speed)
Definition: etfCalibBase.cxx:6
void setP(const double *etfP)
void setP1(const double *etfP1)
void setP2(const double *etfP2)