#include <TofElecData.h>
|
| TofElecData () |
|
| TofElecData (std::vector< BarrelElec > *bTofCal, std::vector< EndcapElec > *eTofCal) |
|
void | sim (TofElecData *other1) |
|
virtual | ~TofElecData () |
|
virtual const CLID & | clID () const |
|
virtual StatusCode | update (CalibBase1 &other, MsgStream *log) |
|
BarrelElec | getBTof (int cnt) const |
|
EndcapElec | getETof (int cnt) const |
|
| TofElecData () |
|
| TofElecData (std::vector< BarrelElec > *bTofCal, std::vector< EndcapElec > *eTofCal) |
|
void | sim (TofElecData *other1) |
|
virtual | ~TofElecData () |
|
virtual const CLID & | clID () const |
|
virtual StatusCode | update (CalibBase1 &other, MsgStream *log) |
|
BarrelElec | getBTof (int cnt) const |
|
EndcapElec | getETof (int cnt) const |
|
| 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) |
|
◆ TofElecData() [1/4]
CalibData::TofElecData::TofElecData |
( |
| ) |
|
|
inline |
◆ TofElecData() [2/4]
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() [1/2]
virtual CalibData::TofElecData::~TofElecData |
( |
| ) |
|
|
inlinevirtual |
◆ TofElecData() [3/4]
CalibData::TofElecData::TofElecData |
( |
| ) |
|
|
inline |
◆ TofElecData() [4/4]
CalibData::TofElecData::TofElecData |
( |
std::vector< BarrelElec > * |
bTofCal, |
|
|
std::vector< EndcapElec > * |
eTofCal |
|
) |
| |
◆ ~TofElecData() [2/2]
virtual CalibData::TofElecData::~TofElecData |
( |
| ) |
|
|
inlinevirtual |
◆ classID() [1/2]
static const CLID & CalibData::TofElecData::classID |
( |
| ) |
|
|
inlinestatic |
◆ classID() [2/2]
static const CLID & CalibData::TofElecData::classID |
( |
| ) |
|
|
inlinestatic |
◆ clID() [1/2]
virtual const CLID & CalibData::TofElecData::clID |
( |
| ) |
const |
|
inlinevirtual |
◆ clID() [2/2]
virtual const CLID & CalibData::TofElecData::clID |
( |
| ) |
const |
|
inlinevirtual |
◆ getBTof() [1/2]
BarrelElec CalibData::TofElecData::getBTof |
( |
int |
cnt | ) |
const |
◆ getBTof() [2/2]
BarrelElec CalibData::TofElecData::getBTof |
( |
int |
cnt | ) |
const |
◆ getETof() [1/2]
EndcapElec CalibData::TofElecData::getETof |
( |
int |
cnt | ) |
const |
◆ getETof() [2/2]
EndcapElec CalibData::TofElecData::getETof |
( |
int |
cnt | ) |
const |
◆ sim() [1/2]
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}
◆ sim() [2/2]
void CalibData::TofElecData::sim |
( |
TofElecData * |
other1 | ) |
|
◆ update() [1/2]
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)
◆ update() [2/2]
virtual StatusCode CalibData::TofElecData::update |
( |
CalibBase1 & |
other, |
|
|
MsgStream * |
log |
|
) |
| |
|
virtual |
The documentation for this class was generated from the following files: