#include <DedxSimData.h>
Definition at line 20 of file DedxSimData.h.
◆ DedxSimData()
CalibData::DedxSimData::DedxSimData |
( |
| ) |
|
|
inline |
Definition at line 23 of file DedxSimData.h.
23 {
24 m_hist=0;
25 m_hRange=0;
26 };
◆ ~DedxSimData()
virtual CalibData::DedxSimData::~DedxSimData |
( |
| ) |
|
|
inlinevirtual |
◆ classID()
static const CLID & CalibData::DedxSimData::classID |
( |
| ) |
|
|
inlinestatic |
◆ clID()
virtual const CLID & CalibData::DedxSimData::clID |
( |
| ) |
const |
|
inlinevirtual |
◆ getHist()
TH1F CalibData::DedxSimData::getHist |
( |
int |
i | ) |
const |
|
inline |
Definition at line 40 of file DedxSimData.h.
40{return *((m_hist->begin())+i);}
◆ gethistNo()
int CalibData::DedxSimData::gethistNo |
( |
| ) |
const |
|
inline |
◆ getRange()
double CalibData::DedxSimData::getRange |
( |
int |
i | ) |
const |
|
inline |
Definition at line 38 of file DedxSimData.h.
38{return *((m_hRange->begin())+i);}
◆ getRangeNo()
int CalibData::DedxSimData::getRangeNo |
( |
| ) |
const |
|
inline |
◆ setHist()
void DedxSimData::setHist |
( |
const vector< TH1F > * |
hist | ) |
|
◆ setHistNo()
void CalibData::DedxSimData::setHistNo |
( |
const int |
No | ) |
|
|
inline |
◆ setRange()
void DedxSimData::setRange |
( |
const vector< double > * |
hRange | ) |
|
◆ setRangeNo()
void CalibData::DedxSimData::setRangeNo |
( |
const int |
No | ) |
|
|
inline |
◆ update()
StatusCode DedxSimData::update |
( |
CalibBase1 & |
other, |
|
|
MsgStream * |
log |
|
) |
| |
|
virtual |
Reimplemented from CalibData::CalibBase1.
Definition at line 13 of file DedxSimData.cxx.
14 {
16 std::cout << "========================================"
17 << "\n"
18 << "here is the update in the DedxSimData"
19 << "\n"
20 << "=================================================="
21 << std::endl;
25 if (m_hist) delete m_hist;
26 if (m_hRange) delete m_hRange;
27
28 m_hist = new vector<TH1F>(*other1.m_hist);
29 m_hRange = new vector<double>(*other1.m_hRange);
30
31
32 std::cout<<"updata dedx Sim constnts complete================="<<std::endl;
33 return StatusCode::SUCCESS;
34 }
virtual StatusCode update(CalibBase1 &obj, MsgStream *)
void setHistNo(const int No)
void setRangeNo(const int No)
Index other(Index i, Index j)
The documentation for this class was generated from the following files: