CGEM BOSS 6.6.5.h
BESIII Offline Software System
Loading...
Searching...
No Matches
TofCalibData.h
Go to the documentation of this file.
1// $Header: /bes/bes/BossCvs/Calibration/CalibData/CalibData/Tof/TofCalibData.h,v 1.12 2012/11/06 07:49:40 sunss Exp $
2#ifndef CalibData_TofCalibData_h
3#define CalibData_TofCalibData_h
4
5/* @class CalibData_TofCalibData_h
6
7 calibration data class
8 calibration infrastructure
9
10 @author huangb
11*/
12
13#include "GaudiKernel/DataObject.h"
18// #include "CalibData/Tof/bTofInnerCalibBase.h"
21
22namespace CalibData {
23 class TofCalibData: public CalibBase1{
24
25 public:
27 TofCalibData(std::vector<bTofCalibBase>* bTofCal,std::vector<bTofCommonCalibBase>* bTofComCal,std::vector<eTofCalibBase>* eTofCal,std::vector<tofCalibInfoBase>* tofInfoCal);
28 // TofCalibData(const TofCalibData& other);
29
30 virtual ~TofCalibData() {
31 delete m_bTofCalibData;
32 delete m_bTofCommonCalibData;
33 delete m_eTofCalibData;
34 delete m_tofCalibInfoData;
35 }
36
37 // Re-implemented from DataObject
38 inline virtual const CLID& clID() const { return classID(); }
39
40 inline static const CLID& classID() { return CLID_Calib_TofCal; }
41
42 virtual StatusCode update(CalibBase1& other, MsgStream* log);
43
44 //get the Calibration Data
45 bTofCalibBase getBTof(int cnt) const;
46 double getBTofAtten(int index,int pardex);
47 double getBTofSpeed(int index,int pardex);
48
49 double getBTofPleft(int index,int pardex);
50 double getBTofPright(int index,int pardex);
51
52 double getBTofPoffleft_bunch0(int index,int pardex);
53 double getBTofPoffright_bunch0(int index,int pardex);
54 double getBTofPoffleft_bunch1(int index,int pardex);
55 double getBTofPoffright_bunch1(int index,int pardex);
56 double getBTofPoffleft_bunch2(int index,int pardex);
57 double getBTofPoffright_bunch2(int index,int pardex);
58 double getBTofPoffleft_bunch3(int index,int pardex);
59 double getBTofPoffright_bunch3(int index,int pardex);
60
61 double getBTofFleft(int index,int pardex);
62 double getBTofFright(int index,int pardex);
63 double getBTofFcounter(int index,int pardex);
64
66 double getBTofOffset(int pardex);
67 double getBTofSigmaCorr(int pardex);
68
69 eTofCalibBase getETof(int cnt) const;
70 double getETofAtten(int index,int pardex);
71 double getETofSpeed(int index,int pardex);
72 double getETofP(int index,int pardex);
73 double getETofFP(int index,int pardex);
74
76 int getRunBegin();
77 int getRunEnd();
78 int getVersion();
79
80 int getQCorr();
81 int getQElec();
82 int getMisLable();
83
84 int getBrEast(int index);
85 int getBrWest(int index);
86 int getEndcap(int index);
87
88 private:
89 std::vector<bTofCalibBase>* m_bTofCalibData;
90 std::vector<bTofCommonCalibBase>* m_bTofCommonCalibData;
91 std::vector<eTofCalibBase>* m_eTofCalibData;
92 std::vector<tofCalibInfoBase>* m_tofCalibInfoData;
93 };
94}
95
96
97#endif
const CLID CLID_Calib_TofCal
Definition CalibModel.h:43
double getETofFP(int index, int pardex)
double getBTofPoffleft_bunch1(int index, int pardex)
double getBTofPoffleft_bunch3(int index, int pardex)
double getBTofSpeed(int index, int pardex)
double getETofP(int index, int pardex)
double getBTofPoffright_bunch3(int index, int pardex)
bTofCommonCalibBase getBTofCom() const
virtual const CLID & clID() const
double getBTofPoffright_bunch2(int index, int pardex)
double getBTofSigmaCorr(int pardex)
double getBTofFleft(int index, int pardex)
double getBTofPoffright_bunch0(int index, int pardex)
eTofCalibBase getETof(int cnt) const
double getBTofPoffright_bunch1(int index, int pardex)
tofCalibInfoBase getTofInfo() const
double getBTofFright(int index, int pardex)
double getBTofFcounter(int index, int pardex)
double getBTofPoffleft_bunch2(int index, int pardex)
static const CLID & classID()
double getETofAtten(int index, int pardex)
double getBTofAtten(int index, int pardex)
double getBTofPoffleft_bunch0(int index, int pardex)
double getBTofPleft(int index, int pardex)
bTofCalibBase getBTof(int cnt) const
double getBTofOffset(int pardex)
double getETofSpeed(int index, int pardex)
double getBTofPright(int index, int pardex)