class to hold data at PMT level More...
#include <sevt/PMT.h>
Public Types | |
typedef utl::MultiTraceI::ConstIterator | ConstFADCTraceIterator |
typedef utl::MultiTraceI::Iterator | FADCTraceIterator |
Private Member Functions | |
PMT (const unsigned int id, const int stationId, const sdet::PMTConstants::PMTType ptype=sdet::PMTConstants::eWaterCherenkovLarge) | |
~PMT ()=default | |
class to hold data at PMT level
Definition at line 28 of file SEvent/PMT.h.
Definition at line 92 of file SEvent/PMT.h.
Definition at line 134 of file SEvent/PMT.h.
Iterator over available high gain channel FADC sources. Returns a LabeledTrace when dereferenced.
Definition at line 91 of file SEvent/PMT.h.
Iterator over available high gain channel FADC sources. Returns a LabeledTrace when dereferenced.
Definition at line 133 of file SEvent/PMT.h.
|
inlineprivate |
Definition at line 148 of file SEvent/PMT.h.
|
privatedefault |
|
inline |
Definition at line 105 of file SEvent/PMT.h.
References utl::MultiObject< T, LabeledObjectType >::Begin(), sdet::PMTConstants::eHighGain, and fFADCTrace.
|
inline |
Definition at line 107 of file SEvent/PMT.h.
References utl::MultiObject< T, LabeledObjectType >::Begin(), sdet::PMTConstants::eHighGain, and fFADCTrace.
|
inline |
Definition at line 106 of file SEvent/PMT.h.
References sdet::PMTConstants::eHighGain, utl::MultiObject< T, LabeledObjectType >::End(), and fFADCTrace.
|
inline |
Definition at line 108 of file SEvent/PMT.h.
References sdet::PMTConstants::eHighGain, utl::MultiObject< T, LabeledObjectType >::End(), and fFADCTrace.
|
inline |
Definition at line 111 of file SEvent/PMT.h.
References utl::MultiObject< T, LabeledObjectType >::Begin(), sdet::PMTConstants::eLowGain, and fFADCTrace.
|
inline |
Definition at line 113 of file SEvent/PMT.h.
References utl::MultiObject< T, LabeledObjectType >::Begin(), sdet::PMTConstants::eLowGain, and fFADCTrace.
|
inline |
Definition at line 112 of file SEvent/PMT.h.
References sdet::PMTConstants::eLowGain, utl::MultiObject< T, LabeledObjectType >::End(), and fFADCTrace.
|
inline |
Definition at line 114 of file SEvent/PMT.h.
References sdet::PMTConstants::eLowGain, utl::MultiObject< T, LabeledObjectType >::End(), and fFADCTrace.
|
inline |
Definition at line 94 of file SEvent/PMT.h.
References utl::MultiObject< T, LabeledObjectType >::Begin(), fFADCTrace, and gain.
|
inline |
Definition at line 98 of file SEvent/PMT.h.
References utl::MultiObject< T, LabeledObjectType >::Begin(), fFADCTrace, and gain.
|
inline |
Definition at line 136 of file SEvent/PMT.h.
References utl::MultiObject< T, LabeledObjectType >::Begin(), fFADCTraceD, and gain.
|
inline |
Definition at line 140 of file SEvent/PMT.h.
References utl::MultiObject< T, LabeledObjectType >::Begin(), fFADCTraceD, and gain.
|
inline |
Definition at line 138 of file SEvent/PMT.h.
References utl::MultiObject< T, LabeledObjectType >::End(), fFADCTraceD, and gain.
|
inline |
Definition at line 142 of file SEvent/PMT.h.
References utl::MultiObject< T, LabeledObjectType >::End(), fFADCTraceD, and gain.
|
inline |
Definition at line 96 of file SEvent/PMT.h.
References utl::MultiObject< T, LabeledObjectType >::End(), fFADCTrace, and gain.
|
inline |
Definition at line 100 of file SEvent/PMT.h.
References utl::MultiObject< T, LabeledObjectType >::End(), fFADCTrace, and gain.
|
inline |
Get object containing PMT calibration data.
Definition at line 56 of file SEvent/PMT.h.
References fPMTCalibData.
Referenced by SdTraceCalibratorOG::SdTraceCalibrator::BuildSignals(), SdCalibratorOG::SdCalibrator::BuildSignals(), SdBaselineFinderKG::SdBaselineFinderKG::ComputeBaseline(), SdBaselineFinderOG::SdBaselineFinder::ComputeBaseline(), SdCalibratorOG::SdCalibrator::ComputeBaseline(), evt::ConvertEventToEc(), evt::ConvertEventToIoSd(), SdHistogramFitterKG::SdHistogramFitter::CopySmallPMTCalibData(), SdHistogramFitterOG::SdHistogramFitter::CopySmallPMTCalibData(), SdCalibratorOG::SdCalibrator::CopySmallPMTCalibData(), SdCalibPlotterOG::FADCTraceView::Draw(), SdCalibPlotterOG::BaselineView::Draw(), SdCalibPlotterOG::MuonPeakView::Draw(), SdCalibPlotterOG::MuonChargeView::Draw(), SdCalibPlotterOG::MuonShapeView::Draw(), SdCalibPlotterOG::PMTBaselineView::Draw(), DLECorrectionWG::DLECorrection::EstimateSignalFluct(), DLECorrectionWG::DLECorrection::FlagNegBins(), DLECorrectionWG::DLECorrection::FlagOscBaselines(), SdCalibPlotterOG::HistoView::IsNotOK(), SdBaselineFinderOG::SdBaselineFinder::MakeFlatBaseline(), SdCalibratorOG::SdCalibrator::MakeFlatBaseline(), io::PMT_ROOT::operator>>(), io::PMT_ROOT::PMT_ROOT(), SdPMTSignalShapeQualityChecker::SdPMTSignalShapeQualityChecker::PMTTraceChecks(), and DLECorrectionWG::DLECorrection::SelectPMT().
|
inline |
Definition at line 57 of file SEvent/PMT.h.
References fPMTCalibData.
|
inline |
Get FADC traces in ADC counts, optionally specifying the channel and/or source. In the case of simulation, this is the FADC trace after local trigger simulation.
Definition at line 72 of file SEvent/PMT.h.
References fFADCTrace, gain, and utl::MultiTrace< T >::GetTrace().
Referenced by SdTraceCalibratorOG::SdTraceCalibrator::BuildSignals(), SdCalibratorOG::SdCalibrator::BuildSignals(), SdBaselineFinderKG::SdBaselineFinderKG::ComputeBaseline(), SdBaselineFinderOG::SdBaselineFinder::ComputeBaseline(), SdCalibratorOG::SdCalibrator::ComputeBaseline(), evt::ConvertEventToEc(), evt::ConvertEventToIoSd(), DLECorrectionWG::DLECorrection::CorrectIndividualDLE(), SdCalibPlotterOG::BaselineView::Draw(), SdCalibPlotterOG::FADCTraceView::Draw(), DLECorrectionWG::DLECorrection::EstimateSignalFluct(), DLECorrectionWG::DLECorrection::FlagOscBaselines(), SdTraceCalibratorOG::SdTraceCalibrator::MakeComponentVEMTraces(), SdCalibratorOG::SdCalibrator::MakeComponentVEMTraces(), io::PMT_ROOT::operator>>(), and SdSignalRecoveryKLT::SignalRecovery::RecoverSignal().
|
inline |
Definition at line 75 of file SEvent/PMT.h.
References fFADCTrace, gain, and utl::MultiTrace< T >::GetTrace().
|
inline |
Simulated FADC double-valued traces. Get FADC traces in ADC counts, optionally specifying the channel and/or source. In the case of simulation, this is the FADC trace after local trigger simulation.
Definition at line 121 of file SEvent/PMT.h.
References fFADCTraceD, gain, and utl::MultiTrace< T >::GetTrace().
Referenced by SdTraceCalibratorOG::SdTraceCalibrator::MakeComponentVEMTraces(), SdCalibratorOG::SdCalibrator::MakeComponentVEMTraces(), and io::PMT_ROOT::operator>>().
|
inline |
Definition at line 124 of file SEvent/PMT.h.
References fFADCTraceD, gain, and utl::MultiTrace< T >::GetTrace().
|
inline |
Return Id of the PMT.
Definition at line 32 of file SEvent/PMT.h.
References fId.
Referenced by SdTraceCalibratorOG::SdTraceCalibrator::BuildSignals(), SdBaselineFinderKG::SdBaselineFinderKG::ComputeBaseline(), SdBaselineFinderOG::SdBaselineFinder::ComputeBaseline(), SdCalibratorOG::SdCalibrator::ComputeBaseline(), SdCalibPlotterOG::FADCTraceView::Draw(), SdCalibPlotterOG::BaselineView::Draw(), SdCalibPlotterOG::PMTVEMTraceView::Draw(), sdet::SDetector::GetPMT(), and sdet::Station::GetPMT().
|
inline |
Definition at line 86 of file SEvent/PMT.h.
References fFADCTrace, and gain.
Referenced by SdTraceCalibratorOG::SdTraceCalibrator::MakeComponentVEMTraces(), SdCalibratorOG::SdCalibrator::MakeComponentVEMTraces(), and io::PMT_ROOT::PMT_ROOT().
|
inline |
Definition at line 128 of file SEvent/PMT.h.
References fFADCTraceD, and gain.
Referenced by io::PMT_ROOT::PMT_ROOT().
|
inline |
Get object containing PMT Quality bits.
Definition at line 64 of file SEvent/PMT.h.
References fPMTQuality.
Referenced by io::PMT_ROOT::operator>>(), and io::PMT_ROOT::PMT_ROOT().
|
inline |
Definition at line 65 of file SEvent/PMT.h.
References fPMTQuality.
|
inline |
Get object containing PMT reconstructed data.
Definition at line 48 of file SEvent/PMT.h.
References fPMTRecData.
Referenced by SdTraceCalibratorOG::SdTraceCalibrator::BuildSignals(), SdCalibratorOG::SdCalibrator::BuildSignals(), SdBaselineFinderKG::SdBaselineFinderKG::ComputeBaseline(), SdBaselineFinderOG::SdBaselineFinder::ComputeBaseline(), SdCalibratorOG::SdCalibrator::ComputeBaseline(), evt::ConvertEventToEc(), DLECorrectionWG::DLECorrection::CorrectIndividualDLE(), SdCalibPlotterOG::FADCTraceView::Draw(), SdCalibPlotterOG::BaselineView::Draw(), SdCalibPlotterOG::PMTVEMTraceView::Draw(), SdCalibPlotterOG::MuonPeakView::Draw(), SdCalibPlotterOG::MuonChargeView::Draw(), SdCalibPlotterOG::MuonShapeView::Draw(), DLECorrectionWG::DLECorrection::EstimateSignalFluct(), DLECorrectionWG::DLECorrection::FlagNegBins(), DLECorrectionWG::DLECorrection::FlagOscBaselines(), DLECorrection::DLECorrection::Individual_Direct_Light_Corr(), SdTraceCalibratorOG::SdTraceCalibrator::MakeComponentVEMTraces(), SdCalibratorOG::SdCalibrator::MakeComponentVEMTraces(), SdBaselineFinderOG::SdBaselineFinder::MakeFlatBaseline(), SdCalibratorOG::SdCalibrator::MakeFlatBaseline(), io::PMT_ROOT::operator>>(), io::PMT_ROOT::PMT_ROOT(), SdCompParam::SdCompositionParameters::RecalculateRiseTime(), SdSignalRecoveryKLT::SignalRecovery::RecoverSignal(), and SdCompParam::SdCompositionParameters::Run().
|
inline |
Definition at line 49 of file SEvent/PMT.h.
References fPMTRecData.
|
inline |
Get object containing PMT simulated data.
Definition at line 40 of file SEvent/PMT.h.
References fPMTSimData.
Referenced by io::PMT_ROOT::operator>>(), io::PMT_ROOT::PMT_ROOT(), G4TankSimulatorASCII::G4TankPMTAction::ProcessHits(), G4XTankSimulatorAG::G4XTankPMTAction::ProcessHits(), G4TankSimulatorASCII::G4ASCIIAction::ProcessHits(), and TabulatedTankSimulatorNS::TabulatedTankSimulator::SimulateStation().
|
inline |
Definition at line 41 of file SEvent/PMT.h.
References fPMTSimData.
|
inline |
Definition at line 37 of file SEvent/PMT.h.
References fStationId.
Referenced by sdet::SDetector::GetPMT().
|
inline |
Definition at line 35 of file SEvent/PMT.h.
References fPMTType.
Referenced by SdTraceCalibratorOG::SdTraceCalibrator::BuildSignals(), SdCalibratorOG::SdCalibrator::BuildSignals(), SdBaselineFinderKG::SdBaselineFinderKG::ComputeBaseline(), SdCalibPlotterOG::MuonPeakView::Draw(), SdCalibPlotterOG::MuonChargeView::Draw(), and sevt::PMTFilter::operator()().
|
inline |
Check for existence of PMT calibration data object.
Definition at line 61 of file SEvent/PMT.h.
References fPMTCalibData.
Referenced by SdBaselineFinderKG::SdBaselineFinderKG::ComputeBaseline(), evt::ConvertEventToEc(), evt::ConvertEventToIoSd(), SdCalibPlotterOG::BaselineView::Draw(), SdCalibPlotterOG::FADCTraceView::Draw(), DLECorrectionWG::DLECorrection::FlagOscBaselines(), SdCalibPlotterOG::HistoView::HasNoCalib(), io::PMT_ROOT::operator>>(), io::PMT_ROOT::PMT_ROOT(), and DLECorrectionWG::DLECorrection::SelectPMT().
|
inline |
Check if a FADC trace exists. Trace source may be specified.
Definition at line 83 of file SEvent/PMT.h.
References sdet::PMTConstants::eHighGain, fFADCTrace, and utl::MultiObject< T, LabeledObjectType >::HasLabel().
Referenced by SdBaselineFinderKG::SdBaselineFinderKG::ComputeBaseline(), SdBaselineFinderOG::SdBaselineFinder::ComputeBaseline(), SdCalibratorOG::SdCalibrator::ComputeBaseline(), evt::ConvertEventToIoSd(), SdCalibPlotterOG::BaselineView::Draw(), SdCalibPlotterOG::FADCTraceView::Draw(), and io::PMT_ROOT::operator>>().
|
inline |
Check for existence of PMT Quality (anode mask and/or raining) data object.
Definition at line 68 of file SEvent/PMT.h.
References fPMTQuality.
Referenced by io::PMT_ROOT::operator>>(), and io::PMT_ROOT::PMT_ROOT().
|
inline |
Check for existenc of PMT reconstructed data object.
Definition at line 53 of file SEvent/PMT.h.
References fPMTRecData.
Referenced by SdCalibratorOG::SdCalibrator::BuildSignals(), SdBaselineFinderKG::SdBaselineFinderKG::ComputeBaseline(), SdBaselineFinderOG::SdBaselineFinder::ComputeBaseline(), SdCalibratorOG::SdCalibrator::ComputeBaseline(), evt::ConvertEventToEc(), SdCalibPlotterOG::BaselineView::Draw(), SdCalibPlotterOG::FADCTraceView::Draw(), SdCalibPlotterOG::PMTVEMTraceView::Draw(), SdCalibPlotterOG::MuonPeakView::Draw(), SdCalibPlotterOG::MuonChargeView::Draw(), SdCalibPlotterOG::MuonShapeView::Draw(), DLECorrectionWG::DLECorrection::FlagNegBins(), DLECorrectionWG::DLECorrection::FlagOscBaselines(), io::PMT_ROOT::operator>>(), io::PMT_ROOT::PMT_ROOT(), SdCompParam::SdCompositionParameters::RecalculateRiseTime(), SdCompParam::SdCompositionParameters::Run(), and DLECorrectionWG::DLECorrection::SelectPMT().
|
inline |
Check for existence of PMT simulated data object.
Definition at line 45 of file SEvent/PMT.h.
References fPMTSimData.
Referenced by io::PMT_ROOT::operator>>(), io::PMT_ROOT::PMT_ROOT(), G4TankSimulatorASCII::G4ASCIIAction::ProcessHits(), and TabulatedTankSimulatorNS::TabulatedTankSimulator::SimulateStation().
void PMT::MakeCalibData | ( | ) |
Make PMT calibration data object.
Definition at line 47 of file SEvent/PMT.cc.
References ERROR.
Referenced by SdEACalibrationFillerKG::SdEACalibrationFiller::FillCalibrationInfoSmallPMT(), and io::PMT_ROOT::operator>>().
void PMT::MakeFADCTrace | ( | const StationConstants::SignalComponent | source = StationConstants::eTotal | ) |
Make a FADC trace. Trace source may be specified.
Definition at line 67 of file SEvent/PMT.cc.
References sdet::PMTConstants::eHighGain, and sdet::PMTConstants::eLowGain.
Referenced by io::PMT_ROOT::operator>>().
void PMT::MakeQuality | ( | ) |
Definition at line 57 of file SEvent/PMT.cc.
References ERROR.
Referenced by io::PMT_ROOT::operator>>().
void PMT::MakeRecData | ( | ) |
Make PMT reconstructed data object.
Definition at line 33 of file SEvent/PMT.cc.
References ERROR, and sevt::PMTRecData::SetFADCTraceLength().
Referenced by SdCalibratorOG::SdCalibrator::BuildSignals(), SdBaselineFinderKG::SdBaselineFinderKG::ComputeBaseline(), SdBaselineFinderOG::SdBaselineFinder::ComputeBaseline(), SdCalibratorOG::SdCalibrator::ComputeBaseline(), and io::PMT_ROOT::operator>>().
void PMT::MakeSimData | ( | ) |
Make PMT simulated data object.
Definition at line 19 of file SEvent/PMT.cc.
References ERROR, and sevt::PMTSimData::SetFADCTraceLength().
Referenced by io::PMT_ROOT::operator>>(), G4TankSimulatorASCII::G4ASCIIAction::ProcessHits(), and TabulatedTankSimulatorNS::TabulatedTankSimulator::SimulateStation().
|
friend |
Definition at line 166 of file SEvent/PMT.h.
|
private |
Definition at line 163 of file SEvent/PMT.h.
Referenced by FADCHGTracesBegin(), FADCHGTracesEnd(), FADCLGTracesBegin(), FADCLGTracesEnd(), FADCTracesBegin(), FADCTracesEnd(), GetFADCTrace(), GetMultiFADCTrace(), and HasFADCTrace().
|
private |
Definition at line 164 of file SEvent/PMT.h.
Referenced by FADCTracesDBegin(), FADCTracesDEnd(), GetFADCTraceD(), and GetMultiFADCTraceD().
|
private |
Definition at line 154 of file SEvent/PMT.h.
Referenced by GetId().
|
private |
Definition at line 160 of file SEvent/PMT.h.
Referenced by GetCalibData(), and HasCalibData().
|
private |
Definition at line 161 of file SEvent/PMT.h.
Referenced by GetQuality(), and HasQuality().
|
private |
Definition at line 159 of file SEvent/PMT.h.
Referenced by GetRecData(), and HasRecData().
|
private |
Definition at line 158 of file SEvent/PMT.h.
Referenced by GetSimData(), and HasSimData().
|
private |
Definition at line 156 of file SEvent/PMT.h.
Referenced by GetType().
|
private |
Definition at line 155 of file SEvent/PMT.h.
Referenced by GetStationId().