BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
Calibration/CalibData/CalibData-00-01-17/CalibData/Tof/eTofCalibBase.h
Go to the documentation of this file.
1// $Header: /bes/bes/BossCvs/Calibration/CalibData/CalibData/Tof/eTofCalibBase.h,v 1.7 2010/10/14 05:25:29 huangb Exp $
2#ifndef CalibData_eTofCalibBase_h
3#define CalibData_eTofCalibBase_h
4
5/** @class CalibData_Mdct0_h
6
7 calibration data class t0
8 calibration infrastructure
9
10 @author huangb
11*/
12#include "GaudiKernel/DataObject.h"
13#include "CalibData/CalibModel.h"
14#include <vector>
15
16
17namespace CalibData {
19 public:
21
22 virtual ~eTofCalibBase() {
23 }
24
25 //set the Calibdata of Tof
26 void setAtten(const double* Atten);
27 void setSpeed(const double* Speed);
28 void setP(const double* TofP);
29 void setFP(const double* FP);
30
31 //get the CalibData of Tof
32 double getAtten(int No) const{return m_Atten[No];}
33 double getSpeed(int No) const{return m_Speed[No];}
34 double getP(int No) const { return m_P[No];}
35 double getFP(int No) const{return m_FP[No];}
36
37 private:
38 double m_Atten[5];
39 double m_Speed[4];
40 double m_P[8];
41 double m_FP[5];
42
43 };
44}
45
46
47#endif
void setAtten(const double *Atten)
void setP(const double *TofP)
void setFP(const double *FP)
void setSpeed(const double *Speed)