#include <TofSimData.h>
|
| TofSimData () |
|
| TofSimData (std::vector< TofSimConstBase > *fTofConst, std::vector< BTofSimBase > *fBTofSim, std::vector< ETofSimBase > *fETofSim) |
|
virtual | ~TofSimData () |
|
virtual const CLID & | clID () const |
|
virtual StatusCode | update (CalibBase1 &other, MsgStream *log) |
|
TofSimConstBase | getTofConst () const |
|
double | getBarLowThres () |
|
double | getBarHighThres () |
|
double | getEndLowThres () |
|
double | getEndHighThres () |
|
double | getBarPMTGain () |
|
double | getEndPMTGain () |
|
double | getBarConstant () |
|
double | getEndConstant () |
|
double | getEndNoiseSwitch () |
|
BTofSimBase | getBTofSim (int cnt) const |
|
double | getBarGain (int cnt) |
|
double | getBarRatio (int cnt) |
|
double | getBarAttenLength (int cnt) |
|
ETofSimBase | getETofSim (int cnt) const |
|
double | getEndGain (int cnt) |
|
double | getEndAttenLength (int cnt) |
|
double | getEndNoiseSmear (int cnt) |
|
| TofSimData () |
|
| TofSimData (std::vector< TofSimConstBase > *fTofConst, std::vector< BTofSimBase > *fBTofSim, std::vector< ETofSimBase > *fETofSim) |
|
virtual | ~TofSimData () |
|
virtual const CLID & | clID () const |
|
virtual StatusCode | update (CalibBase1 &other, MsgStream *log) |
|
TofSimConstBase | getTofConst () const |
|
double | getBarLowThres () |
|
double | getBarHighThres () |
|
double | getEndLowThres () |
|
double | getEndHighThres () |
|
double | getBarPMTGain () |
|
double | getEndPMTGain () |
|
double | getBarConstant () |
|
double | getEndConstant () |
|
double | getEndNoiseSwitch () |
|
BTofSimBase | getBTofSim (int cnt) const |
|
double | getBarGain (int cnt) |
|
double | getBarRatio (int cnt) |
|
double | getBarAttenLength (int cnt) |
|
ETofSimBase | getETofSim (int cnt) const |
|
double | getEndGain (int cnt) |
|
double | getEndAttenLength (int cnt) |
|
double | getEndNoiseSmear (int cnt) |
|
| CalibBase1 () |
|
| CalibBase1 (int serNo, int runfrm, int runto) |
|
| CalibBase1 (int runfrm, int runto) |
|
| CalibBase1 (const CalibBase1 &obj) |
|
virtual StatusCode | update (CalibBase1 &obj, MsgStream *) |
|
virtual int | getSerNo () const |
| Following is intended for deep copy.
|
|
virtual int | getrunfrm () const |
|
virtual int | getrunto () const |
|
void | setSerNo (int ser) |
|
void | setrunfrm (int runfrm) |
|
void | setrunto (int runto) |
|
| CalibBase1 () |
|
| CalibBase1 (int serNo, int runfrm, int runto) |
|
| CalibBase1 (int runfrm, int runto) |
|
| CalibBase1 (const CalibBase1 &obj) |
|
virtual StatusCode | update (CalibBase1 &obj, MsgStream *) |
|
virtual int | getSerNo () const |
| Following is intended for deep copy.
|
|
virtual int | getrunfrm () const |
|
virtual int | getrunto () const |
|
void | setSerNo (int ser) |
|
void | setrunfrm (int runfrm) |
|
void | setrunto (int runto) |
|
◆ TofSimData() [1/4]
CalibData::TofSimData::TofSimData |
( |
| ) |
|
|
inline |
◆ TofSimData() [2/4]
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() [1/2]
virtual CalibData::TofSimData::~TofSimData |
( |
| ) |
|
|
inlinevirtual |
◆ TofSimData() [3/4]
CalibData::TofSimData::TofSimData |
( |
| ) |
|
|
inline |
◆ TofSimData() [4/4]
◆ ~TofSimData() [2/2]
virtual CalibData::TofSimData::~TofSimData |
( |
| ) |
|
|
inlinevirtual |
◆ classID() [1/2]
static const CLID & CalibData::TofSimData::classID |
( |
| ) |
|
|
inlinestatic |
◆ classID() [2/2]
static const CLID & CalibData::TofSimData::classID |
( |
| ) |
|
|
inlinestatic |
◆ clID() [1/2]
virtual const CLID & CalibData::TofSimData::clID |
( |
| ) |
const |
|
inlinevirtual |
◆ clID() [2/2]
virtual const CLID & CalibData::TofSimData::clID |
( |
| ) |
const |
|
inlinevirtual |
◆ getBarAttenLength() [1/2]
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
◆ getBarAttenLength() [2/2]
double CalibData::TofSimData::getBarAttenLength |
( |
int |
cnt | ) |
|
◆ getBarConstant() [1/2]
double CalibData::TofSimData::getBarConstant |
( |
| ) |
|
Definition at line 83 of file TofSimData.cxx.
83 {
85 return tofConst.getBarConstant();
86 }
TofSimConstBase getTofConst() const
◆ getBarConstant() [2/2]
double CalibData::TofSimData::getBarConstant |
( |
| ) |
|
◆ getBarGain() [1/2]
double CalibData::TofSimData::getBarGain |
( |
int |
cnt | ) |
|
Definition at line 98 of file TofSimData.cxx.
98 {
100 return bTof.getGain();
101 }
◆ getBarGain() [2/2]
double CalibData::TofSimData::getBarGain |
( |
int |
cnt | ) |
|
◆ getBarHighThres() [1/2]
double CalibData::TofSimData::getBarHighThres |
( |
| ) |
|
Definition at line 58 of file TofSimData.cxx.
58 {
60 return tofConst.getBarHighThres();
61 }
◆ getBarHighThres() [2/2]
double CalibData::TofSimData::getBarHighThres |
( |
| ) |
|
◆ getBarLowThres() [1/2]
double CalibData::TofSimData::getBarLowThres |
( |
| ) |
|
Definition at line 53 of file TofSimData.cxx.
53 {
55 return tofConst.getBarLowThres();
56 }
◆ getBarLowThres() [2/2]
double CalibData::TofSimData::getBarLowThres |
( |
| ) |
|
◆ getBarPMTGain() [1/2]
double CalibData::TofSimData::getBarPMTGain |
( |
| ) |
|
Definition at line 73 of file TofSimData.cxx.
73 {
75 return tofConst.getBarPMTGain();
76 }
◆ getBarPMTGain() [2/2]
double CalibData::TofSimData::getBarPMTGain |
( |
| ) |
|
◆ getBarRatio() [1/2]
double CalibData::TofSimData::getBarRatio |
( |
int |
cnt | ) |
|
Definition at line 103 of file TofSimData.cxx.
103 {
105 return bTof.getRatio();
106 }
◆ getBarRatio() [2/2]
double CalibData::TofSimData::getBarRatio |
( |
int |
cnt | ) |
|
◆ getBTofSim() [1/2]
BTofSimBase CalibData::TofSimData::getBTofSim |
( |
int |
cnt | ) |
const |
◆ getBTofSim() [2/2]
BTofSimBase CalibData::TofSimData::getBTofSim |
( |
int |
cnt | ) |
const |
◆ getEndAttenLength() [1/2]
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
◆ getEndAttenLength() [2/2]
double CalibData::TofSimData::getEndAttenLength |
( |
int |
cnt | ) |
|
◆ getEndConstant() [1/2]
double CalibData::TofSimData::getEndConstant |
( |
| ) |
|
Definition at line 88 of file TofSimData.cxx.
88 {
90 return tofConst.getEndConstant();
91 }
◆ getEndConstant() [2/2]
double CalibData::TofSimData::getEndConstant |
( |
| ) |
|
◆ getEndGain() [1/2]
double CalibData::TofSimData::getEndGain |
( |
int |
cnt | ) |
|
Definition at line 113 of file TofSimData.cxx.
113 {
115 return eTof.getGain();
116 }
◆ getEndGain() [2/2]
double CalibData::TofSimData::getEndGain |
( |
int |
cnt | ) |
|
◆ getEndHighThres() [1/2]
double CalibData::TofSimData::getEndHighThres |
( |
| ) |
|
Definition at line 68 of file TofSimData.cxx.
68 {
70 return tofConst.getEndHighThres();
71 }
◆ getEndHighThres() [2/2]
double CalibData::TofSimData::getEndHighThres |
( |
| ) |
|
◆ getEndLowThres() [1/2]
double CalibData::TofSimData::getEndLowThres |
( |
| ) |
|
Definition at line 63 of file TofSimData.cxx.
63 {
65 return tofConst.getEndLowThres();
66 }
◆ getEndLowThres() [2/2]
double CalibData::TofSimData::getEndLowThres |
( |
| ) |
|
◆ getEndNoiseSmear() [1/2]
double CalibData::TofSimData::getEndNoiseSmear |
( |
int |
cnt | ) |
|
Definition at line 123 of file TofSimData.cxx.
123 {
125 return eTof.getNoiseSmear();
126 }
◆ getEndNoiseSmear() [2/2]
double CalibData::TofSimData::getEndNoiseSmear |
( |
int |
cnt | ) |
|
◆ getEndNoiseSwitch() [1/2]
double CalibData::TofSimData::getEndNoiseSwitch |
( |
| ) |
|
Definition at line 93 of file TofSimData.cxx.
93 {
95 return tofConst.getEndNoiseSwitch();
96 }
◆ getEndNoiseSwitch() [2/2]
double CalibData::TofSimData::getEndNoiseSwitch |
( |
| ) |
|
◆ getEndPMTGain() [1/2]
double CalibData::TofSimData::getEndPMTGain |
( |
| ) |
|
Definition at line 78 of file TofSimData.cxx.
78 {
80 return tofConst.getEndPMTGain();
81 }
◆ getEndPMTGain() [2/2]
double CalibData::TofSimData::getEndPMTGain |
( |
| ) |
|
◆ getETofSim() [1/2]
ETofSimBase CalibData::TofSimData::getETofSim |
( |
int |
cnt | ) |
const |
◆ getETofSim() [2/2]
ETofSimBase CalibData::TofSimData::getETofSim |
( |
int |
cnt | ) |
const |
◆ getTofConst() [1/2]
◆ getTofConst() [2/2]
◆ update() [1/2]
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)
◆ update() [2/2]
virtual StatusCode CalibData::TofSimData::update |
( |
CalibBase1 & |
other, |
|
|
MsgStream * |
log |
|
) |
| |
|
virtual |
The documentation for this class was generated from the following files: