SPMT Calibration data. More...
#include "sevt/SmallPMTCalibData.h"
Public Member Functions | |
double | GetBeta () const |
double | GetBeta (const unsigned int lpmtId) const |
double | GetBetaError () const |
double | GetBetaError (const unsigned int lpmtId) const |
double | GetChi2 () const |
double | GetChi2 (const unsigned int lpmtId) const |
double | GetCorrectionFactor () const |
double | GetCorrectionFactor (const unsigned int lpmtId) const |
int | GetVersion () const |
bool | IsTubeOk () const |
void | SetBeta (const double beta) |
void | SetBeta (const double beta, const unsigned int lpmtId) |
void | SetBetaError (const double betaerr) |
void | SetBetaError (const double betaerr, const unsigned int lpmtId) |
void | SetChi2 (const double chi2) |
void | SetChi2 (const double chi2, const unsigned int lpmtId) |
void | SetCorrectionFactor (const double fact) |
void | SetCorrectionFactor (const double fact, const unsigned int lpmtId) |
void | SetIsTubeOk (const bool ok) |
void | SetVersion (const int vers) |
Private Member Functions | |
SmallPMTCalibData ()=default | |
~SmallPMTCalibData ()=default | |
Static Private Member Functions | |
template<typename T , std::size_t n> | |
static T & | Checked (T(&)[n], const unsigned int i) |
Private Attributes | |
double | fBeta = 0 |
double | fBetaError = 0 |
double | fBetaErrorLPMTs [3] = { 0 } |
double | fBetaLPMTs [3] = { 0 } |
double | fChi2 = 0 |
double | fChi2LPMTs [3] = { 0 } |
double | fCorrectionFactor = -1 |
double | fCorrectionFactorLPMTs [3] = { -1, -1, -1 } |
bool | fIsTubeOk = false |
int | fVersion = 0 |
Friends | |
class | SmallPMTData |
class | utl::ShadowPtr< SmallPMTCalibData > |
SPMT Calibration data.
Quantities in this class are normally filled during SD event merging, after a dedicated calibration procedure performed outside the Offline.
Definition at line 24 of file SmallPMTCalibData.h.
|
privatedefault |
|
privatedefault |
|
staticprivate |
Definition at line 11 of file SmallPMTCalibData.cc.
References RdGeoCeLDFFitter::a, and ERROR.
Referenced by GetBeta(), GetBetaError(), GetChi2(), GetCorrectionFactor(), SetBeta(), SetBetaError(), SetChi2(), and SetCorrectionFactor().
|
inline |
Definition at line 33 of file SmallPMTCalibData.h.
References fBeta.
Referenced by io::SmallPMTCalibData_ROOT::SmallPMTCalibData_ROOT().
|
inline |
Definition at line 36 of file SmallPMTCalibData.h.
References Checked(), and fBetaLPMTs.
|
inline |
Definition at line 34 of file SmallPMTCalibData.h.
References fBetaError.
Referenced by io::SmallPMTCalibData_ROOT::SmallPMTCalibData_ROOT().
|
inline |
Definition at line 37 of file SmallPMTCalibData.h.
References Checked(), and fBetaErrorLPMTs.
|
inline |
Definition at line 41 of file SmallPMTCalibData.h.
References fChi2.
Referenced by io::SmallPMTCalibData_ROOT::SmallPMTCalibData_ROOT().
|
inline |
Definition at line 43 of file SmallPMTCalibData.h.
References Checked(), and fChi2LPMTs.
|
inline |
Definition at line 48 of file SmallPMTCalibData.h.
References fCorrectionFactor.
Referenced by io::SmallPMTCalibData_ROOT::SmallPMTCalibData_ROOT().
|
inline |
Definition at line 50 of file SmallPMTCalibData.h.
References Checked(), and fCorrectionFactorLPMTs.
|
inline |
Definition at line 29 of file SmallPMTCalibData.h.
References fVersion.
|
inline |
Definition at line 27 of file SmallPMTCalibData.h.
References fIsTubeOk.
|
inline |
Definition at line 55 of file SmallPMTCalibData.h.
References fBeta.
Referenced by io::SmallPMTCalibData_ROOT::operator>>().
|
inline |
Definition at line 60 of file SmallPMTCalibData.h.
References Checked(), and fBetaLPMTs.
|
inline |
Definition at line 56 of file SmallPMTCalibData.h.
References fBetaError.
Referenced by io::SmallPMTCalibData_ROOT::operator>>().
|
inline |
Definition at line 61 of file SmallPMTCalibData.h.
References Checked(), and fBetaErrorLPMTs.
|
inline |
Definition at line 57 of file SmallPMTCalibData.h.
References fChi2.
Referenced by io::SmallPMTCalibData_ROOT::operator>>().
|
inline |
Definition at line 62 of file SmallPMTCalibData.h.
References Checked(), and fChi2LPMTs.
|
inline |
Definition at line 58 of file SmallPMTCalibData.h.
References fCorrectionFactor.
Referenced by io::SmallPMTCalibData_ROOT::operator>>().
|
inline |
Definition at line 63 of file SmallPMTCalibData.h.
References Checked(), and fCorrectionFactorLPMTs.
|
inline |
Definition at line 52 of file SmallPMTCalibData.h.
References fIsTubeOk, and ok().
Referenced by io::SmallPMTCalibData_ROOT::operator>>().
|
inline |
Definition at line 53 of file SmallPMTCalibData.h.
References fVersion.
|
friend |
Definition at line 85 of file SmallPMTCalibData.h.
|
friend |
Definition at line 86 of file SmallPMTCalibData.h.
|
private |
Definition at line 75 of file SmallPMTCalibData.h.
|
private |
Definition at line 76 of file SmallPMTCalibData.h.
Referenced by GetBetaError(), and SetBetaError().
|
private |
Definition at line 81 of file SmallPMTCalibData.h.
Referenced by GetBetaError(), and SetBetaError().
|
private |
Definition at line 80 of file SmallPMTCalibData.h.
|
private |
Definition at line 77 of file SmallPMTCalibData.h.
|
private |
Definition at line 82 of file SmallPMTCalibData.h.
|
private |
Definition at line 78 of file SmallPMTCalibData.h.
Referenced by GetCorrectionFactor(), and SetCorrectionFactor().
|
private |
Definition at line 83 of file SmallPMTCalibData.h.
Referenced by GetCorrectionFactor(), and SetCorrectionFactor().
|
private |
Definition at line 72 of file SmallPMTCalibData.h.
Referenced by IsTubeOk(), and SetIsTubeOk().
|
private |
Definition at line 74 of file SmallPMTCalibData.h.
Referenced by GetVersion(), and SetVersion().