3#include "GaudiKernel/MsgStream.h"
8 TofSimData::TofSimData(std::vector<TofSimConstBase>* fTofConst,std::vector<BTofSimBase>* fBTofSim,std::vector<ETofSimBase>* fETofSim) {
10 m_TofSimConstData =
new std::vector<TofSimConstBase>(*fTofConst);
13 m_BTofSimData =
new std::vector<BTofSimBase>(*fBTofSim);
16 m_ETofSimData =
new std::vector<ETofSimBase>(*fETofSim);
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));
27 m_BTofSimData =
new std::vector<BTofSimBase>(*(other1.m_BTofSimData));
29 m_ETofSimData =
new std::vector<ETofSimBase>(*(other1.m_ETofSimData));
31 return StatusCode::SUCCESS;
37 std::vector<TofSimConstBase>::iterator it = m_TofSimConstData->begin();
42 std::vector<BTofSimBase>::iterator it = m_BTofSimData->begin();
43 for(
int i=0;i!=cnt;i++,it++) {}
48 std::vector<ETofSimBase>::iterator it = m_ETofSimData->begin();
49 for(
int i=0;i!=cnt;i++,it++) {}
double getAttenLength() const
virtual StatusCode update(CalibBase1 &obj, MsgStream *)
double getAttenLength() const
double getNoiseSmear() const
double getEndPMTGain() const
double getBarHighThres() const
double getEndConstant() const
double getEndHighThres() const
double getBarConstant() const
double getBarPMTGain() const
double getBarLowThres() const
double getEndNoiseSwitch() const
double getEndLowThres() const
double getEndGain(int cnt)
double getBarAttenLength(int cnt)
double getEndAttenLength(int cnt)
double getBarRatio(int cnt)
TofSimConstBase getTofConst() const
BTofSimBase getBTofSim(int cnt) const
ETofSimBase getETofSim(int cnt) const
double getEndNoiseSmear(int cnt)
double getEndNoiseSwitch()
double getBarGain(int cnt)
virtual StatusCode update(CalibBase1 &other, MsgStream *log)