BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
bTofCalibBase.h
Go to the documentation of this file.
1// $Header: /bes/bes/BossCvs/Calibration/CalibData/CalibData/Tof/bTofCalibBase.h,v 1.8 2012/11/06 07:49:40 sunss Exp $
2#ifndef CalibData_bTofCalibBase_h
3#define CalibData_bTofCalibBase_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 ~bTofCalibBase() {
23 }
24
25 //set the Calibdata of Tof
26 void setAtten(const double* Atten);
27 void setSpeed(const double* Speed);
28
29 void setP1(const double* TofP1);
30 void setP2(const double* TofP2);
31
32 void setPoff1_bunch0(const double* TofPoff1_bunch0);
33 void setPoff2_bunch0(const double* TofPoff2_bunch0);
34 void setPoff1_bunch1(const double* TofPoff1_bunch1);
35 void setPoff2_bunch1(const double* TofPoff2_bunch1);
36 void setPoff1_bunch2(const double* TofPoff1_bunch2);
37 void setPoff2_bunch2(const double* TofPoff2_bunch2);
38 void setPoff1_bunch3(const double* TofPoff1_bunch3);
39 void setPoff2_bunch3(const double* TofPoff2_bunch3);
40
41 void setFPleft(const double* FP1);
42 void setFPright(const double* FP2);
43 void setFPcounter(const double* FP3);
44
45 //get the CalibData of Tof
46 double getAtten(int No) const{return m_Atten[No];}
47 double getSpeed(int No) const{return m_Speed[No];}
48
49 double getP1(int No) const { return m_P1[No];}
50 double getP2(int No) const { return m_P2[No];}
51
52 double getPoff1_bunch0(int No) const { return m_Poff1_bunch0[No];}
53 double getPoff2_bunch0(int No) const { return m_Poff2_bunch0[No];}
54 double getPoff1_bunch1(int No) const { return m_Poff1_bunch1[No];}
55 double getPoff2_bunch1(int No) const { return m_Poff2_bunch1[No];}
56 double getPoff1_bunch2(int No) const { return m_Poff1_bunch2[No];}
57 double getPoff2_bunch2(int No) const { return m_Poff2_bunch2[No];}
58 double getPoff1_bunch3(int No) const { return m_Poff1_bunch3[No];}
59 double getPoff2_bunch3(int No) const { return m_Poff2_bunch3[No];}
60
61 double getFleft(int No) const{return m_FP1[No];}
62 double getFright(int No) const{return m_FP2[No];}
63 double getFcounter(int No) const{return m_FP3[No];}
64
65 private:
66 double m_Atten[8];
67 double m_Speed[2];
68 double m_P1[10];
69 double m_P2[10];
70 double m_Poff1_bunch0[20];
71 double m_Poff2_bunch0[20];
72 double m_Poff1_bunch1[20];
73 double m_Poff2_bunch1[20];
74 double m_Poff1_bunch2[20];
75 double m_Poff2_bunch2[20];
76 double m_Poff1_bunch3[20];
77 double m_Poff2_bunch3[20];
78 double m_FP1[5];
79 double m_FP2[5];
80 double m_FP3[10];
81 };
82}
83
84
85#endif
double getPoff1_bunch2(int No) const
Definition: bTofCalibBase.h:56
void setP2(const double *TofP2)
double getFcounter(int No) const
Definition: bTofCalibBase.h:63
double getP2(int No) const
Definition: bTofCalibBase.h:50
double getPoff2_bunch3(int No) const
Definition: bTofCalibBase.h:59
void setPoff1_bunch3(const double *TofPoff1_bunch3)
void setFPleft(const double *FP1)
void setPoff2_bunch1(const double *TofPoff2_bunch1)
double getP1(int No) const
Definition: bTofCalibBase.h:49
void setSpeed(const double *Speed)
void setAtten(const double *Atten)
void setPoff1_bunch0(const double *TofPoff1_bunch0)
void setPoff2_bunch2(const double *TofPoff2_bunch2)
double getFleft(int No) const
Definition: bTofCalibBase.h:61
double getFright(int No) const
Definition: bTofCalibBase.h:62
double getPoff1_bunch1(int No) const
Definition: bTofCalibBase.h:54
double getPoff1_bunch3(int No) const
Definition: bTofCalibBase.h:58
double getAtten(int No) const
Definition: bTofCalibBase.h:46
void setPoff1_bunch1(const double *TofPoff1_bunch1)
double getSpeed(int No) const
Definition: bTofCalibBase.h:47
double getPoff2_bunch1(int No) const
Definition: bTofCalibBase.h:55
double getPoff1_bunch0(int No) const
Definition: bTofCalibBase.h:52
void setFPcounter(const double *FP3)
void setPoff1_bunch2(const double *TofPoff1_bunch2)
void setPoff2_bunch3(const double *TofPoff2_bunch3)
double getPoff2_bunch2(int No) const
Definition: bTofCalibBase.h:57
void setFPright(const double *FP2)
void setPoff2_bunch0(const double *TofPoff2_bunch0)
double getPoff2_bunch0(int No) const
Definition: bTofCalibBase.h:53
void setP1(const double *TofP1)