8#include "GaudiKernel/MsgStream.h"
16 std::cout <<
"========================================"
18 <<
"here is the update in the DedxSimData"
20 <<
"=================================================="
25 if (m_hist)
delete m_hist;
26 if (m_hRange)
delete m_hRange;
28 m_hist =
new vector<TH1F>(*other1.m_hist);
29 m_hRange =
new vector<double>(*other1.m_hRange);
32 std::cout<<
"updata dedx Sim constnts complete================="<<std::endl;
33 return StatusCode::SUCCESS;
38 if(m_hist)
delete m_hist;
39 m_hist =
new vector<TH1F>(*hist);
43 if(m_hRange)
delete m_hRange;
44 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)