Online Calibration data. More...
#include <sevt/PMTCalibData.h>
Public Member Functions | |
double | GetBaseline (const sdet::PMTConstants::PMTGain gain=sdet::PMTConstants::eHighGain) const |
double | GetBaselineRMS (const sdet::PMTConstants::PMTGain gain=sdet::PMTConstants::eHighGain) const |
int | GetEvolution () const |
double | GetGainRatio () const |
double | GetGainRatioRMS () const |
double | GetHighGainDelay () const |
delay relative to low gain More... | |
double | GetHighGainDelayChi2 () const |
double | GetHighGainDelayRMS () const |
const std::vector< int > & | GetMuonBaseHisto () const |
Muon base histogram. More... | |
int | GetMuonBaseHistoOffset () const |
x-axis offset of the muon base histogram More... | |
const std::vector< int > & | GetMuonChargeHisto () const |
Muon charge histogram. More... | |
int | GetMuonChargeHistoOffset () const |
x-axis offset of the muon charge histogram More... | |
const std::vector< int > & | GetMuonPeakHisto () const |
Muon peak histogram. More... | |
int | GetMuonPeakHistoOffset () const |
x-axis offset of the muon peak histogram More... | |
const std::vector< int > & | GetMuonShapeHisto () const |
Average shape of a muon. More... | |
int | GetNumberTDA () const |
double | GetOnlineCharge () const |
Online estimate of VEM_charge [adc*time_bin]. More... | |
double | GetOnlinePeak () const |
Online estimate of VEM_peak [adc]. More... | |
double | GetRate () const |
bool | IsLowGainOk () const |
bool | IsTubeOk () const |
void | SetBaseline (const double base, const double rms, const sdet::PMTConstants::PMTGain gain=sdet::PMTConstants::eHighGain) |
Set baseline and baseline RMS for a particular channel (defaults to high gain channel) More... | |
void | SetEvolution (const int ev) |
void | SetGainRatio (const double da, const double rms) |
Set dynode/anode and dynode/anode RMS. More... | |
void | SetHighGainDelay (const double dt, const double rms) |
Set dynode anode delay and delay RMS. More... | |
void | SetHighGainDelayChi2 (const double chi2) |
void | SetIsLowGainOk (const bool ok) |
void | SetIsTubeOk (const bool ok) |
void | SetMuonBaseHisto (const std::vector< int > &mbh, const int offset) |
void | SetMuonChargeHisto (const std::vector< int > &mch, const int offset) |
void | SetMuonPeakHisto (const std::vector< int > &mph, const int offset) |
void | SetMuonShapeHisto (const std::vector< int > &ms) |
void | SetNumberTDA (const int num) |
void | SetOnlineCharge (const double charge) |
void | SetOnlinePeak (const double peak) |
void | SetRate (const double rate) |
Private Member Functions | |
PMTCalibData ()=default | |
~PMTCalibData ()=default | |
Private Attributes | |
double | fBaseline [sdet::PMTConstants::eNumberOfGains] = { 0 } |
double | fBaselineRMS [sdet::PMTConstants::eNumberOfGains] = { 0 } |
int | fEvolution = 0 |
double | fGainRatio = 0 |
double | fGainRatioRMS = 0 |
double | fHighGainDelay = 0 |
double | fHighGainDelayChi2 = 0 |
double | fHighGainDelayRMS = 0 |
bool | fIsLowGainOk = true |
bool | fIsTubeOk = false |
std::vector< int > | fMuonBaseHisto |
int | fMuonBaseHistoOffset = 0 |
std::vector< int > | fMuonChargeHisto |
int | fMuonChargeHistoOffset = 0 |
std::vector< int > | fMuonPeakHisto |
int | fMuonPeakHistoOffset = 0 |
std::vector< int > | fMuonShapeHisto |
int | fNTDA = 0 |
double | fOnlineCharge = 0 |
double | fOnlinePeak = 0 |
double | fRate = 0 |
Friends | |
class | PMT |
class | utl::ShadowPtr< PMTCalibData > |
Online Calibration data.
Quantities in this class are normally filled by Reading the CDAS Event and using CDAS algorithms. Other classes do not have write access
Definition at line 27 of file PMTCalibData.h.
|
privatedefault |
|
privatedefault |
|
inline |
Definition at line 41 of file PMTCalibData.h.
References fBaseline, and gain.
Referenced by evt::ConvertEventToEc(), SdCalibPlotterOG::BaselineView::Draw(), SdCalibPlotterOG::HistoView::DrawBaseline(), SdBaselineFinderOG::SdBaselineFinder::MakeFlatBaseline(), SdCalibratorOG::SdCalibrator::MakeFlatBaseline(), SdPMTSignalShapeQualityChecker::SdPMTSignalShapeQualityChecker::PMTTraceChecks(), and SdInspectorOG::SdInspector::Run().
|
inline |
Definition at line 44 of file PMTCalibData.h.
References fBaselineRMS, and gain.
Referenced by evt::ConvertEventToEc(), SdCalibPlotterOG::HistoView::DrawBaseline(), and SdInspectorOG::SdInspector::Run().
|
inline |
Definition at line 76 of file PMTCalibData.h.
References fEvolution.
Referenced by evt::ConvertEventToIoSd(), and SdInspectorOG::SdInspector::Run().
|
inline |
Definition at line 47 of file PMTCalibData.h.
References fGainRatio.
Referenced by evt::ConvertEventToEc(), SdCalibPlotterOG::BaselineView::Draw(), DLECorrectionWG::DLECorrection::EstimateSignalFluct(), and SdInspectorOG::SdInspector::Run().
|
inline |
Definition at line 49 of file PMTCalibData.h.
References fGainRatioRMS.
Referenced by SdInspectorOG::SdInspector::Run().
|
inline |
delay relative to low gain
Definition at line 52 of file PMTCalibData.h.
References fHighGainDelay.
Referenced by SdInspectorOG::SdInspector::Run().
|
inline |
Definition at line 56 of file PMTCalibData.h.
References fHighGainDelayChi2.
Referenced by SdInspectorOG::SdInspector::Run().
|
inline |
Definition at line 54 of file PMTCalibData.h.
References fHighGainDelayRMS.
Referenced by SdInspectorOG::SdInspector::Run().
|
inline |
Muon base histogram.
Definition at line 59 of file PMTCalibData.h.
References fMuonBaseHisto.
Referenced by evt::ConvertEventToIoSd(), and SdInspectorOG::SdInspector::Run().
|
inline |
x-axis offset of the muon base histogram
Definition at line 61 of file PMTCalibData.h.
References fMuonBaseHistoOffset.
Referenced by evt::ConvertEventToIoSd().
|
inline |
Muon charge histogram.
Definition at line 69 of file PMTCalibData.h.
References fMuonChargeHisto.
Referenced by evt::ConvertEventToIoSd(), and SdInspectorOG::SdInspector::Run().
|
inline |
x-axis offset of the muon charge histogram
Definition at line 71 of file PMTCalibData.h.
References fMuonChargeHistoOffset.
Referenced by evt::ConvertEventToIoSd().
|
inline |
Muon peak histogram.
Definition at line 64 of file PMTCalibData.h.
References fMuonPeakHisto.
Referenced by evt::ConvertEventToIoSd(), and SdInspectorOG::SdInspector::Run().
|
inline |
x-axis offset of the muon peak histogram
Definition at line 66 of file PMTCalibData.h.
References fMuonPeakHistoOffset.
Referenced by evt::ConvertEventToIoSd(), and SdCalibPlotterOG::MuonPeakView::Draw().
|
inline |
Average shape of a muon.
Definition at line 74 of file PMTCalibData.h.
References fMuonShapeHisto.
Referenced by evt::ConvertEventToIoSd(), and SdInspectorOG::SdInspector::Run().
|
inline |
Definition at line 77 of file PMTCalibData.h.
References fNTDA.
Referenced by SdInspectorOG::SdInspector::Run().
|
inline |
Online estimate of VEM_charge [adc*time_bin].
Definition at line 39 of file PMTCalibData.h.
References fOnlineCharge.
Referenced by evt::ConvertEventToEc(), and SdInspectorOG::SdInspector::Run().
|
inline |
Online estimate of VEM_peak [adc].
Definition at line 36 of file PMTCalibData.h.
References fOnlinePeak.
Referenced by evt::ConvertEventToEc(), and SdInspectorOG::SdInspector::Run().
|
inline |
Definition at line 33 of file PMTCalibData.h.
References fRate.
Referenced by SdInspectorOG::SdInspector::Run().
|
inline |
Definition at line 31 of file PMTCalibData.h.
References fIsLowGainOk, and fIsTubeOk.
Referenced by SdTraceCalibratorOG::SdTraceCalibrator::BuildSignals(), SdCalibratorOG::SdCalibrator::BuildSignals(), SdBaselineFinderKG::SdBaselineFinderKG::ComputeBaseline(), SdBaselineFinderOG::SdBaselineFinder::ComputeBaseline(), SdCalibratorOG::SdCalibrator::ComputeBaseline(), and DLECorrectionWG::DLECorrection::SelectPMT().
|
inline |
Definition at line 29 of file PMTCalibData.h.
References fIsTubeOk.
Referenced by SdBaselineFinderKG::SdBaselineFinderKG::ComputeBaseline(), SdBaselineFinderOG::SdBaselineFinder::ComputeBaseline(), SdCalibratorOG::SdCalibrator::ComputeBaseline(), SdCalibPlotterOG::BaselineView::Draw(), DLECorrectionWG::DLECorrection::FlagNegBins(), DLECorrectionWG::DLECorrection::FlagOscBaselines(), SdCalibPlotterOG::HistoView::IsNotOK(), SdInspectorOG::SdInspector::Run(), and DLECorrectionWG::DLECorrection::SelectPMT().
|
inline |
Set baseline and baseline RMS for a particular channel (defaults to high gain channel)
Definition at line 86 of file PMTCalibData.h.
References fBaseline, fBaselineRMS, and gain.
Referenced by io::PMTCalibData_ROOT::operator>>(), SdSimulationCalibrationFillerASCII::SdSimulationCalibrationFiller::Run(), and testSEventImpl::setPMTCalibDataValues().
|
inline |
Definition at line 94 of file PMTCalibData.h.
References fEvolution.
Referenced by io::PMTCalibData_ROOT::operator>>(), SdSimulationCalibrationFillerASCII::SdSimulationCalibrationFiller::Run(), and testSEventImpl::setPMTCalibDataValues().
|
inline |
Set dynode/anode and dynode/anode RMS.
Definition at line 91 of file PMTCalibData.h.
References fGainRatio, and fGainRatioRMS.
Referenced by io::PMTCalibData_ROOT::operator>>(), and testSEventImpl::setPMTCalibDataValues().
|
inline |
Set dynode anode delay and delay RMS.
Definition at line 98 of file PMTCalibData.h.
References fHighGainDelay, and fHighGainDelayRMS.
Referenced by io::PMTCalibData_ROOT::operator>>(), and testSEventImpl::setPMTCalibDataValues().
|
inline |
Definition at line 100 of file PMTCalibData.h.
References fHighGainDelayChi2.
Referenced by io::PMTCalibData_ROOT::operator>>(), and testSEventImpl::setPMTCalibDataValues().
|
inline |
Definition at line 80 of file PMTCalibData.h.
References fIsLowGainOk, and ok().
Referenced by SdBaselineFinderKG::SdBaselineFinderKG::ComputeBaseline(), io::PMTCalibData_ROOT::operator>>(), and SdPMTSignalShapeQualityChecker::SdPMTSignalShapeQualityChecker::PMTTraceChecks().
|
inline |
Definition at line 79 of file PMTCalibData.h.
References fIsTubeOk, and ok().
Referenced by SdBaselineFinderKG::SdBaselineFinderKG::ComputeBaseline(), io::PMTCalibData_ROOT::operator>>(), SdSimulationCalibrationFillerASCII::SdSimulationCalibrationFiller::Run(), and testSEventImpl::setPMTCalibDataValues().
|
inline |
Definition at line 103 of file PMTCalibData.h.
References fMuonBaseHisto, and fMuonBaseHistoOffset.
Referenced by io::PMTCalibData_ROOT::operator>>(), and testSEventImpl::setPMTCalibDataValues().
|
inline |
Definition at line 107 of file PMTCalibData.h.
References fMuonChargeHisto, and fMuonChargeHistoOffset.
Referenced by io::PMTCalibData_ROOT::operator>>(), and testSEventImpl::setPMTCalibDataValues().
|
inline |
Definition at line 105 of file PMTCalibData.h.
References fMuonPeakHisto, and fMuonPeakHistoOffset.
Referenced by io::PMTCalibData_ROOT::operator>>(), and testSEventImpl::setPMTCalibDataValues().
|
inline |
Definition at line 109 of file PMTCalibData.h.
References fMuonShapeHisto, and utl::ms.
Referenced by io::PMTCalibData_ROOT::operator>>(), and testSEventImpl::setPMTCalibDataValues().
|
inline |
Definition at line 95 of file PMTCalibData.h.
References fNTDA.
Referenced by io::PMTCalibData_ROOT::operator>>(), SdSimulationCalibrationFillerASCII::SdSimulationCalibrationFiller::Run(), and testSEventImpl::setPMTCalibDataValues().
|
inline |
Definition at line 83 of file PMTCalibData.h.
References fOnlineCharge.
Referenced by io::PMTCalibData_ROOT::operator>>(), and testSEventImpl::setPMTCalibDataValues().
|
inline |
Definition at line 82 of file PMTCalibData.h.
References fOnlinePeak.
Referenced by io::PMTCalibData_ROOT::operator>>(), and testSEventImpl::setPMTCalibDataValues().
|
inline |
Definition at line 81 of file PMTCalibData.h.
References fRate.
Referenced by io::PMTCalibData_ROOT::operator>>(), SdSimulationCalibrationFillerASCII::SdSimulationCalibrationFiller::Run(), and testSEventImpl::setPMTCalibDataValues().
|
friend |
Definition at line 139 of file PMTCalibData.h.
|
friend |
Definition at line 140 of file PMTCalibData.h.
|
private |
Definition at line 118 of file PMTCalibData.h.
Referenced by GetBaseline(), and SetBaseline().
|
private |
Definition at line 119 of file PMTCalibData.h.
Referenced by GetBaselineRMS(), and SetBaseline().
|
private |
Definition at line 125 of file PMTCalibData.h.
Referenced by GetEvolution(), and SetEvolution().
|
private |
Definition at line 120 of file PMTCalibData.h.
Referenced by GetGainRatio(), and SetGainRatio().
|
private |
Definition at line 121 of file PMTCalibData.h.
Referenced by GetGainRatioRMS(), and SetGainRatio().
|
private |
Definition at line 122 of file PMTCalibData.h.
Referenced by GetHighGainDelay(), and SetHighGainDelay().
|
private |
Definition at line 124 of file PMTCalibData.h.
Referenced by GetHighGainDelayChi2(), and SetHighGainDelayChi2().
|
private |
Definition at line 123 of file PMTCalibData.h.
Referenced by GetHighGainDelayRMS(), and SetHighGainDelay().
|
private |
Definition at line 128 of file PMTCalibData.h.
Referenced by IsLowGainOk(), and SetIsLowGainOk().
|
private |
Definition at line 127 of file PMTCalibData.h.
Referenced by IsLowGainOk(), IsTubeOk(), and SetIsTubeOk().
|
private |
Definition at line 130 of file PMTCalibData.h.
Referenced by GetMuonBaseHisto(), and SetMuonBaseHisto().
|
private |
Definition at line 135 of file PMTCalibData.h.
Referenced by GetMuonBaseHistoOffset(), and SetMuonBaseHisto().
|
private |
Definition at line 132 of file PMTCalibData.h.
Referenced by GetMuonChargeHisto(), and SetMuonChargeHisto().
|
private |
Definition at line 137 of file PMTCalibData.h.
Referenced by GetMuonChargeHistoOffset(), and SetMuonChargeHisto().
|
private |
Definition at line 131 of file PMTCalibData.h.
Referenced by GetMuonPeakHisto(), and SetMuonPeakHisto().
|
private |
Definition at line 136 of file PMTCalibData.h.
Referenced by GetMuonPeakHistoOffset(), and SetMuonPeakHisto().
|
private |
Definition at line 133 of file PMTCalibData.h.
Referenced by GetMuonShapeHisto(), and SetMuonShapeHisto().
|
private |
Definition at line 126 of file PMTCalibData.h.
Referenced by GetNumberTDA(), and SetNumberTDA().
|
private |
Definition at line 117 of file PMTCalibData.h.
Referenced by GetOnlineCharge(), and SetOnlineCharge().
|
private |
Definition at line 116 of file PMTCalibData.h.
Referenced by GetOnlinePeak(), and SetOnlinePeak().
|
private |
Definition at line 115 of file PMTCalibData.h.