7#include "CalibData/Dedx/DedxSimData.h"
8#include "GaudiKernel/MsgStream.h"
9#include "CalibData/Mdc/MdcCalStruct.h"
16 std::cout <<
"========================================"
18 <<
"here is the update in the DedxSimData"
20 <<
"=================================================="
26 if (m_hist)
delete m_hist;
27 if (m_hRange)
delete m_hRange;
29 m_hist =
new vector<TH1F>(*other1.m_hist);
30 m_hRange =
new vector<double>(*other1.m_hRange);
33 std::cout<<
"updata dedx Sim constnts complete================="<<std::endl;
34 return StatusCode::SUCCESS;
39 if(m_hist)
delete m_hist;
40 m_hist =
new vector<TH1F>(*hist);
44 if(m_hRange)
delete m_hRange;
45 m_hRange =
new vector<double>(*hRange);
virtual StatusCode update(CalibBase1 &obj, MsgStream *)
virtual StatusCode update(CalibBase1 &other, MsgStream *log)
void setHistNo(const int No)
void setRange(const vector< double > *hRange)
void setHist(const vector< TH1F > *hist)
void setRangeNo(const int No)
void setVersion(const int ver)