#include <TofSimData.h>
Definition at line 21 of file TofSimData.h.
◆ TofSimData() [1/2]
CalibData::TofSimData::TofSimData |
( |
| ) |
|
|
inline |
◆ TofSimData() [2/2]
Definition at line 8 of file TofSimData.cxx.
8 {
9 if(fTofConst) {
10 m_TofSimConstData = new std::vector<TofSimConstBase>(*fTofConst);
11 }
12 if(fBTofSim){
13 m_BTofSimData = new std::vector<BTofSimBase>(*fBTofSim);
14 }
15 if(fETofSim){
16 m_ETofSimData = new std::vector<ETofSimBase>(*fETofSim);
17 }
18 }
◆ ~TofSimData()
virtual CalibData::TofSimData::~TofSimData |
( |
| ) |
|
|
inlinevirtual |
Definition at line 27 of file TofSimData.h.
27 {
28 delete m_TofSimConstData;
29 delete m_BTofSimData;
30 delete m_ETofSimData;
31 }
◆ classID()
static const CLID & CalibData::TofSimData::classID |
( |
| ) |
|
|
inlinestatic |
◆ clID()
virtual const CLID & CalibData::TofSimData::clID |
( |
| ) |
const |
|
inlinevirtual |
Definition at line 34 of file TofSimData.h.
static const CLID & classID()
◆ getBarAttenLength()
double CalibData::TofSimData::getBarAttenLength |
( |
int | cnt | ) |
|
Definition at line 108 of file TofSimData.cxx.
108 {
110 return bTof.getAttenLength();
111 }
BTofSimBase getBTofSim(int cnt) const
◆ getBarConstant()
double CalibData::TofSimData::getBarConstant |
( |
| ) |
|
Definition at line 83 of file TofSimData.cxx.
83 {
85 return tofConst.getBarConstant();
86 }
TofSimConstBase getTofConst() const
◆ getBarGain()
double CalibData::TofSimData::getBarGain |
( |
int | cnt | ) |
|
Definition at line 98 of file TofSimData.cxx.
98 {
100 return bTof.getGain();
101 }
◆ getBarHighThres()
double CalibData::TofSimData::getBarHighThres |
( |
| ) |
|
Definition at line 58 of file TofSimData.cxx.
58 {
60 return tofConst.getBarHighThres();
61 }
◆ getBarLowThres()
double CalibData::TofSimData::getBarLowThres |
( |
| ) |
|
Definition at line 53 of file TofSimData.cxx.
53 {
55 return tofConst.getBarLowThres();
56 }
◆ getBarPMTGain()
double CalibData::TofSimData::getBarPMTGain |
( |
| ) |
|
Definition at line 73 of file TofSimData.cxx.
73 {
75 return tofConst.getBarPMTGain();
76 }
◆ getBarRatio()
double CalibData::TofSimData::getBarRatio |
( |
int | cnt | ) |
|
Definition at line 103 of file TofSimData.cxx.
103 {
105 return bTof.getRatio();
106 }
◆ getBTofSim()
BTofSimBase CalibData::TofSimData::getBTofSim |
( |
int | cnt | ) |
const |
◆ getEndAttenLength()
double CalibData::TofSimData::getEndAttenLength |
( |
int | cnt | ) |
|
Definition at line 118 of file TofSimData.cxx.
118 {
120 return eTof.getAttenLength();
121 }
ETofSimBase getETofSim(int cnt) const
◆ getEndConstant()
double CalibData::TofSimData::getEndConstant |
( |
| ) |
|
Definition at line 88 of file TofSimData.cxx.
88 {
90 return tofConst.getEndConstant();
91 }
◆ getEndGain()
double CalibData::TofSimData::getEndGain |
( |
int | cnt | ) |
|
Definition at line 113 of file TofSimData.cxx.
113 {
115 return eTof.getGain();
116 }
◆ getEndHighThres()
double CalibData::TofSimData::getEndHighThres |
( |
| ) |
|
Definition at line 68 of file TofSimData.cxx.
68 {
70 return tofConst.getEndHighThres();
71 }
◆ getEndLowThres()
double CalibData::TofSimData::getEndLowThres |
( |
| ) |
|
Definition at line 63 of file TofSimData.cxx.
63 {
65 return tofConst.getEndLowThres();
66 }
◆ getEndNoiseSmear()
double CalibData::TofSimData::getEndNoiseSmear |
( |
int | cnt | ) |
|
Definition at line 123 of file TofSimData.cxx.
123 {
125 return eTof.getNoiseSmear();
126 }
◆ getEndNoiseSwitch()
double CalibData::TofSimData::getEndNoiseSwitch |
( |
| ) |
|
Definition at line 93 of file TofSimData.cxx.
93 {
95 return tofConst.getEndNoiseSwitch();
96 }
◆ getEndPMTGain()
double CalibData::TofSimData::getEndPMTGain |
( |
| ) |
|
Definition at line 78 of file TofSimData.cxx.
78 {
80 return tofConst.getEndPMTGain();
81 }
◆ getETofSim()
ETofSimBase CalibData::TofSimData::getETofSim |
( |
int | cnt | ) |
const |
◆ getTofConst()
◆ update()
StatusCode CalibData::TofSimData::update |
( |
CalibBase1 & | other, |
|
|
MsgStream * | log ) |
|
virtual |
Reimplemented from CalibData::CalibBase1.
Definition at line 20 of file TofSimData.cxx.
20 {
22 std::cout<<"========================================"<<"\n"<<"here is the update in the TofSimData"<<"\n"<<"=================================================="<<std::endl;
24 delete m_TofSimConstData;
25 m_TofSimConstData = new std::vector<TofSimConstBase>(*(other1.m_TofSimConstData));
26 delete m_BTofSimData;
27 m_BTofSimData = new std::vector<BTofSimBase>(*(other1.m_BTofSimData));
28 delete m_ETofSimData;
29 m_ETofSimData = new std::vector<ETofSimBase>(*(other1.m_ETofSimData));
30
31 return StatusCode::SUCCESS;
32 }
virtual StatusCode update(CalibBase1 &obj, MsgStream *)
Index other(Index i, Index j)
The documentation for this class was generated from the following files: