BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
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"
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
double getP(int No) const
Definition: etfCalibBase.h:26
double getP2(int No) const
Definition: etfCalibBase.h:28
void setSpeed(const double *Speed)
Definition: etfCalibBase.cxx:6
void setP(const double *etfP)
double getP1(int No) const
Definition: etfCalibBase.h:27
void setP1(const double *etfP1)
void setP2(const double *etfP2)
double getSpeed(int No) const
Definition: etfCalibBase.h:25