#include <TofElecData.h>
Definition at line 18 of file TofElecData.h.
◆ TofElecData() [1/2]
CalibData::TofElecData::TofElecData |
( |
| ) |
|
|
inline |
Definition at line 21 of file TofElecData.h.
21 {m_bTofElecData=0;
22 m_eTofElecData=0;};
◆ TofElecData() [2/2]
CalibData::TofElecData::TofElecData |
( |
std::vector< BarrelElec > * | bTofCal, |
|
|
std::vector< EndcapElec > * | eTofCal ) |
Definition at line 12 of file TofElecData.cxx.
12 {
13 if(bTofCal){
14 m_bTofElecData = new std::vector<BarrelElec>(*bTofCal);
15 }
16 if(eTofCal){
17 m_eTofElecData = new std::vector<EndcapElec>(*eTofCal);
18 }
19 }
◆ ~TofElecData()
virtual CalibData::TofElecData::~TofElecData |
( |
| ) |
|
|
inlinevirtual |
Definition at line 26 of file TofElecData.h.
26 {
27 delete m_bTofElecData;
28 delete m_eTofElecData;
29 }
◆ classID()
static const CLID & CalibData::TofElecData::classID |
( |
| ) |
|
|
inlinestatic |
◆ clID()
virtual const CLID & CalibData::TofElecData::clID |
( |
| ) |
const |
|
inlinevirtual |
◆ getBTof()
BarrelElec CalibData::TofElecData::getBTof |
( |
int | cnt | ) |
const |
◆ getETof()
EndcapElec CalibData::TofElecData::getETof |
( |
int | cnt | ) |
const |
◆ sim()
void CalibData::TofElecData::sim |
( |
TofElecData * | other1 | ) |
|
Definition at line 33 of file TofElecData.cxx.
33 {
34
35 if(m_bTofElecData) delete m_bTofElecData;
36 m_bTofElecData = new std::vector<BarrelElec>(*(other1->m_bTofElecData));
37 if(m_eTofElecData) delete m_eTofElecData;
38 m_eTofElecData = new std::vector<EndcapElec>(*(other1->m_eTofElecData));
39}
◆ update()
StatusCode CalibData::TofElecData::update |
( |
CalibBase1 & | other, |
|
|
MsgStream * | log ) |
|
virtual |
Reimplemented from CalibData::CalibBase1.
Definition at line 21 of file TofElecData.cxx.
22 {
24 std::cout<<"========================================"<<"\n"<<"here is the update in the TofElecData"<<"\n"<<"=================================================="<<std::endl;
26 delete m_bTofElecData;
27 m_bTofElecData = new std::vector<BarrelElec>(*(other1.m_bTofElecData));
28 delete m_eTofElecData;
29 m_eTofElecData = new std::vector<EndcapElec>(*(other1.m_eTofElecData));
30 return StatusCode::SUCCESS;
31}
virtual StatusCode update(CalibBase1 &obj, MsgStream *)
Index other(Index i, Index j)
The documentation for this class was generated from the following files: