Auxiliary data structure for PMT time calibration.
More...
#include <JDetectorCalibration.hh>
Auxiliary data structure for PMT time calibration.
Definition at line 139 of file JDetectorCalibration.hh.
JDETECTOR::JPMTCalibration_t::JPMTCalibration_t |
( |
| ) |
|
|
inline |
JDETECTOR::JPMTCalibration_t::JPMTCalibration_t |
( |
const JObjectID & |
id, |
|
|
const JCalibration & |
calibration |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
id | PMT identifier |
calibration | PMT time calibration |
Definition at line 156 of file JDetectorCalibration.hh.
JObjectID()
Default constructor.
JCalibration()
Default constructor.
int JLANG::JObjectID::getID |
( |
| ) |
const |
|
inlineinherited |
Get identifier.
- Returns
- identifier
Definition at line 50 of file JObjectID.hh.
int& JLANG::JObjectID::getID |
( |
| ) |
|
|
inlineinherited |
Get identifier.
- Returns
- identifier
Definition at line 61 of file JObjectID.hh.
void JLANG::JObjectID::setID |
( |
const int |
id | ) |
|
|
inlineinherited |
Set identifier.
- Parameters
-
Definition at line 72 of file JObjectID.hh.
bool JLANG::JObjectID::less |
( |
const JObjectID & |
object | ) |
const |
|
inlineinherited |
Less than method.
- Parameters
-
- Returns
- true if this identifier less than given identifier; else false
Definition at line 84 of file JObjectID.hh.
86 return this->
getID() <
object.getID();
int getID() const
Get identifier.
bool JLANG::JObjectID::less |
( |
const int |
id | ) |
const |
|
inlineinherited |
Less than method.
- Parameters
-
- Returns
- true if this identifier less than given identifier; else false
Definition at line 96 of file JObjectID.hh.
98 return this->
getID() < id;
int getID() const
Get identifier.
bool JLANG::JObjectID::more |
( |
const int |
id | ) |
const |
|
inlineinherited |
More than method.
- Parameters
-
- Returns
- true if this identifier greater than given identifier; else false
Definition at line 108 of file JObjectID.hh.
110 return this->
getID() > id;
int getID() const
Get identifier.
const JCalibration& JDETECTOR::JCalibration::getCalibration |
( |
| ) |
const |
|
inlineinherited |
void JDETECTOR::JCalibration::setCalibration |
( |
const JCalibration & |
cal | ) |
|
|
inlineinherited |
double JDETECTOR::JCalibration::getT0 |
( |
| ) |
const |
|
inlineinherited |
void JDETECTOR::JCalibration::setT0 |
( |
const double |
t0 | ) |
|
|
inlineinherited |
void JDETECTOR::JCalibration::addT0 |
( |
const double |
t0 | ) |
|
|
inlineinherited |
void JDETECTOR::JCalibration::subT0 |
( |
const double |
t0 | ) |
|
|
inlineinherited |
Convert PMT time calibration to JSon.
- Parameters
-
js | json |
object | PMT time calibration |
Definition at line 169 of file JDetectorCalibration.hh.
172 {
T0_t,
object.getT0() } };
static const std::string T0_t
static const std::string Serial_t
Convert JSon to PMT time calibration.
- Parameters
-
js | json |
object | PMT time calibration |
Definition at line 182 of file JDetectorCalibration.hh.
184 object.setID(js.at(
Serial_t).get<
int>());
186 object.setT0(js.at(
T0_t).get<
double>());
static const std::string T0_t
static const std::string Serial_t
int JLANG::JObjectID::__id |
|
protectedinherited |
double JDETECTOR::JCalibration::t0 |
|
protectedinherited |
The documentation for this struct was generated from the following file: