Jpp
|
Data structure for PMT calibration. More...
#include <JCalibration.hh>
Public Member Functions | |
JCalibration () | |
Default constructor. More... | |
JCalibration (const double __t0) | |
Constructor. More... | |
const JCalibration & | getCalibration () const |
Get calibration. More... | |
void | setCalibration (const JCalibration &cal) |
Set calibration. More... | |
double | getT0 () const |
Get time offset. More... | |
void | setT0 (const double t0) |
Set time offset. More... | |
void | addT0 (const double t0) |
Add time offset. More... | |
void | subT0 (const double t0) |
Subtract time offset. More... | |
Protected Attributes | |
double | t0 |
Friends | |
std::istream & | operator>> (std::istream &in, JCalibration &cal) |
Read JCalibration from input. More... | |
std::ostream & | operator<< (std::ostream &out, const JCalibration &cal) |
Write JCalibration to output. More... | |
JReader & | operator>> (JReader &in, JCalibration &cal) |
Read JCalibration from input. More... | |
JWriter & | operator<< (JWriter &out, const JCalibration &cal) |
Write JCalibration to output. More... | |
Data structure for PMT calibration.
Definition at line 40 of file JDetector/JCalibration.hh.
|
inline |
Default constructor.
Definition at line 46 of file JDetector/JCalibration.hh.
|
inline |
Constructor.
__t0 | time offset [ns] |
Definition at line 56 of file JDetector/JCalibration.hh.
|
inline |
|
inline |
|
inline |
|
inline |
Set time offset.
t0 | time offset [ns] |
Definition at line 99 of file JDetector/JCalibration.hh.
|
inline |
Add time offset.
t0 | time offset [ns] |
Definition at line 110 of file JDetector/JCalibration.hh.
|
inline |
Subtract time offset.
t0 | time offset [ns] |
Definition at line 121 of file JDetector/JCalibration.hh.
|
friend |
Read JCalibration from input.
in | input stream |
cal | JCalibration |
Definition at line 134 of file JDetector/JCalibration.hh.
|
friend |
Write JCalibration to output.
out | output stream |
cal | JCalibration |
Definition at line 149 of file JDetector/JCalibration.hh.
|
friend |
Read JCalibration from input.
in | JReader |
cal | JCalibration |
Definition at line 164 of file JDetector/JCalibration.hh.
|
friend |
Write JCalibration to output.
out | JWriter |
cal | JCalibration |
Definition at line 179 of file JDetector/JCalibration.hh.
|
protected |
Definition at line 188 of file JDetector/JCalibration.hh.