BOSS 7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
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"
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
double getSpeed(int No) const
Definition: eTofCalibBase.h:33
void setAtten(const double *Atten)
double getAtten(int No) const
Definition: eTofCalibBase.h:32
double getFP(int No) const
Definition: eTofCalibBase.h:35
void setP(const double *TofP)
void setFP(const double *FP)
void setSpeed(const double *Speed)
double getP(int No) const
Definition: eTofCalibBase.h:34