CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
TofSimData.h
Go to the documentation of this file.
1// $Header: /bes/bes/BossCvs/Calibration/CalibData/CalibData/Tof/TofSimData.h,v 1.10 2010/01/08
2#ifndef CalibData_TofSimData_h
3#define CalibData_TofSimData_h
4
5/* @class CalibData_TofSimData_h
6
7 calibration data class
8 calibration infrastructure
9
10 @author sunss
11*/
12
13#include "GaudiKernel/DataObject.h"
19
20namespace CalibData {
21 class TofSimData: public CalibBase1{
22
23 public:
25 TofSimData(std::vector<TofSimConstBase>* fTofConst,std::vector<BTofSimBase>* fBTofSim,std::vector<ETofSimBase>* fETofSim);
26
27 virtual ~TofSimData() {
28 delete m_TofSimConstData;
29 delete m_BTofSimData;
30 delete m_ETofSimData;
31 }
32
33 // Re-implemented from DataObject
34 inline virtual const CLID& clID() const { return classID(); }
35
36 inline static const CLID& classID() { return CLID_Calib_TofSim; }
37
38 virtual StatusCode update(CalibBase1& other, MsgStream* log);
39
40 //get the Simulation Constants
42 double getBarLowThres();
43 double getBarHighThres();
44 double getEndLowThres();
45 double getEndHighThres();
46 double getBarPMTGain();
47 double getEndPMTGain();
48 double getBarConstant();
49 double getEndConstant();
50 double getEndNoiseSwitch();
51
52 BTofSimBase getBTofSim(int cnt) const;
53 double getBarGain(int cnt);
54 double getBarRatio(int cnt);
55 double getBarAttenLength(int cnt);
56
57 ETofSimBase getETofSim(int cnt) const;
58 double getEndGain(int cnt);
59 double getEndAttenLength(int cnt);
60 double getEndNoiseSmear(int cnt);
61
62 private:
63 std::vector<TofSimConstBase>* m_TofSimConstData;
64 std::vector<BTofSimBase>* m_BTofSimData;
65 std::vector<ETofSimBase>* m_ETofSimData;
66 };
67}
68
69
70#endif
const CLID CLID_Calib_TofSim
Definition: CalibModel.h:59
virtual const CLID & clID() const
Definition: TofSimData.h:34
double getEndGain(int cnt)
Definition: TofSimData.cxx:113
double getBarAttenLength(int cnt)
Definition: TofSimData.cxx:108
double getEndAttenLength(int cnt)
Definition: TofSimData.cxx:118
double getBarRatio(int cnt)
Definition: TofSimData.cxx:103
TofSimConstBase getTofConst() const
Definition: TofSimData.cxx:36
static const CLID & classID()
Definition: TofSimData.h:36
BTofSimBase getBTofSim(int cnt) const
Definition: TofSimData.cxx:41
ETofSimBase getETofSim(int cnt) const
Definition: TofSimData.cxx:47
double getEndNoiseSmear(int cnt)
Definition: TofSimData.cxx:123
double getEndNoiseSwitch()
Definition: TofSimData.cxx:93
double getBarGain(int cnt)
Definition: TofSimData.cxx:98
virtual ~TofSimData()
Definition: TofSimData.h:27