8#include "GaudiKernel/MsgStream.h"
9#include "CalibData/Tof/TofElecData.h"
14 m_bTofElecData =
new std::vector<BarrelElec>(*bTofCal);
17 m_eTofElecData =
new std::vector<EndcapElec>(*eTofCal);
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;
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));
44 std::vector<BarrelElec>::iterator it = m_bTofElecData->begin();
45 for(
int i=0;i!=cnt;i++,it++)
53 std::vector<EndcapElec>::iterator it = m_eTofElecData->begin();
54 for(
int i=0;i!=cnt;i++,it++)
virtual StatusCode update(CalibBase1 &obj, MsgStream *)
virtual StatusCode update(CalibBase1 &other, MsgStream *log)
void sim(TofElecData *other1)
EndcapElec getETof(int cnt) const
BarrelElec getBTof(int cnt) const