#include <EmcCalibData.h>
Definition at line 19 of file EmcCalibData.h.
◆ EmcCalibData()
EmcCalibData::EmcCalibData |
( |
| ) |
|
Definition at line 8 of file EmcCalibData.cxx.
8:m_DigiCalibConst(0),m_IxtalNumber(0){}
◆ ~EmcCalibData()
virtual CalibData::EmcCalibData::~EmcCalibData |
( |
| ) |
|
|
inlinevirtual |
Definition at line 23 of file EmcCalibData.h.
23 {
24 if(m_DigiCalibConst) delete m_DigiCalibConst;
25 if(m_IxtalNumber) delete m_IxtalNumber;
26 }
◆ classID()
static const CLID & CalibData::EmcCalibData::classID |
( |
| ) |
|
|
inlinestatic |
◆ clID()
virtual const CLID & CalibData::EmcCalibData::clID |
( |
| ) |
const |
|
inlinevirtual |
◆ getDigiCalibConst()
double CalibData::EmcCalibData::getDigiCalibConst |
( |
int |
No | ) |
const |
|
inline |
Definition at line 47 of file EmcCalibData.h.
47{ return *((m_DigiCalibConst->begin())+No);}
◆ getDigiCalibConstNo()
int CalibData::EmcCalibData::getDigiCalibConstNo |
( |
| ) |
|
|
inline |
Definition at line 52 of file EmcCalibData.h.
52{ return m_DigiCalibConst -> size();}
◆ getIxtalNumber()
double CalibData::EmcCalibData::getIxtalNumber |
( |
int |
No | ) |
const |
|
inline |
Definition at line 49 of file EmcCalibData.h.
49{ return *((m_IxtalNumber->begin())+No);}
◆ getIxtalNumberNo()
int CalibData::EmcCalibData::getIxtalNumberNo |
( |
| ) |
|
|
inline |
Definition at line 55 of file EmcCalibData.h.
55{ return m_IxtalNumber -> size();}
◆ setDigiCalibConst()
void EmcCalibData::setDigiCalibConst |
( |
const vector< double > * |
DigiCalibConst | ) |
|
Definition at line 27 of file EmcCalibData.cxx.
28 { if(m_DigiCalibConst) delete m_DigiCalibConst;
29 m_DigiCalibConst = new vector<double>(*DigiCalibConst);
30 }
Referenced by UseEmc::execute().
◆ setIxtalNumber()
void EmcCalibData::setIxtalNumber |
( |
const vector< int > * |
IxtalNumber | ) |
|
Definition at line 32 of file EmcCalibData.cxx.
33 { if(m_IxtalNumber) delete m_IxtalNumber;
34 m_IxtalNumber = new vector<int>(*IxtalNumber);
35 }
◆ update()
StatusCode EmcCalibData::update |
( |
CalibBase1 & |
other, |
|
|
MsgStream * |
log |
|
) |
| |
|
virtual |
Reimplemented from CalibData::CalibBase1.
Definition at line 10 of file EmcCalibData.cxx.
11 {
13 std::cout<<"========================================"<<"\n"
14 <<"here is the update in the EmcCalibData"<<"\n"
15 <<"=================================================="<<std::endl;
17
18 if(m_DigiCalibConst) delete m_DigiCalibConst;
19 if(m_IxtalNumber) delete m_IxtalNumber;
20
21 m_DigiCalibConst = new vector<double>(*other1.m_DigiCalibConst);
22 m_IxtalNumber = new vector<int>(*other1.m_IxtalNumber);
23 return StatusCode::SUCCESS;
24 }
virtual StatusCode update(CalibBase1 &obj, MsgStream *)
Index other(Index i, Index j)
The documentation for this class was generated from the following files: