#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() [1/2]
std::vector< TH1F > * CalibData::DedxSimData::getHist |
( |
| ) |
const |
|
inline |
◆ getHist() [2/2]
TH1F CalibData::DedxSimData::getHist |
( |
int |
i | ) |
const |
|
inline |
Definition at line 42 of file DedxSimData.h.
42{return *((m_hist->begin())+i);}
◆ gethistNo()
int CalibData::DedxSimData::gethistNo |
( |
| ) |
const |
|
inline |
◆ getRange() [1/2]
std::vector< double > * CalibData::DedxSimData::getRange |
( |
| ) |
const |
|
inline |
◆ getRange() [2/2]
double CalibData::DedxSimData::getRange |
( |
int |
i | ) |
const |
|
inline |
Definition at line 39 of file DedxSimData.h.
39{return *((m_hRange->begin())+i);}
◆ getRangeNo()
int CalibData::DedxSimData::getRangeNo |
( |
| ) |
const |
|
inline |
◆ getThetaNo()
int CalibData::DedxSimData::getThetaNo |
( |
| ) |
const |
|
inline |
◆ getVersion()
int CalibData::DedxSimData::getVersion |
( |
| ) |
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 |
◆ setThetaNo()
void CalibData::DedxSimData::setThetaNo |
( |
const int |
No | ) |
|
|
inline |
◆ setVersion()
void CalibData::DedxSimData::setVersion |
( |
const int |
ver | ) |
|
|
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;
26 if (m_hist) delete m_hist;
27 if (m_hRange) delete m_hRange;
28
29 m_hist = new vector<TH1F>(*other1.m_hist);
30 m_hRange = new vector<double>(*other1.m_hRange);
31
32
33 std::cout<<"updata dedx Sim constnts complete================="<<std::endl;
34 return StatusCode::SUCCESS;
35 }
virtual StatusCode update(CalibBase1 &obj, MsgStream *)
void setHistNo(const int No)
void setRangeNo(const int No)
void setVersion(const int ver)
Index other(Index i, Index j)
The documentation for this class was generated from the following files: