Detector description interface for PMT-related data. More...
#include <PMT.h>
Public Member Functions | |
const std::vector< double > & | GetChargeProbabilityDistribution () const |
double | GetCollectionEfficiency () const |
Collection efficiency. More... | |
const utl::TabulatedFunction & | GetDomeRefractionIndex () const |
Refraction index for the PMT dome. More... | |
double | GetEffectiveArea () const |
const utl::TabulatedFunction & | GetFaceRefractionIndex () const |
Refraction index for the PMT face. More... | |
int | GetId () const |
return ID of the PMT More... | |
double | GetMaxCharge () const |
double | GetMinCharge () const |
const utl::Point & | GetPosition () const |
PMT position. More... | |
const utl::TabulatedFunction & | GetPulseShape () const |
const utl::TabulatedFunction & | GetQuantumEfficiency () const |
Quantum efficiency. More... | |
const utl::TabulatedFunction & | GetRTVRefractionIndex () const |
Refraction index for the interface between PMT face and dome (RTV) More... | |
sdet::PMTConstants::PMTType | GetType () const |
double | GetWorkingGain () const |
PMT Working Gain. More... | |
Simulation calibration data for a particular simulation scheme | |
double | GetVEMPeak (const std::string &simulationIdentifier) const |
Get VEM peak for the PMT (for simulations) More... | |
double | GetCompatibilityVEMPeak (const std::string &simulationIdentifier) const |
Get VEM peak for the PMT (for simulations) More... | |
double | GetNominalVEMPeak () const |
what HV setting tries to target in HG More... | |
double | GetVEMCharge (const std::string &simulationIdentifier) const |
Get VEM charge for the PMT (for simulations) More... | |
double | GetNominalVEMCharge () const |
Get nominal value for the VEM charge. More... | |
double | GetBaseline (const sdet::PMTConstants::PMTGain gain) const |
Get baseline level for the PMT (for simulations) More... | |
double | GetBaselineRMS (const sdet::PMTConstants::PMTGain gain) const |
Get baseline noise for the PMT (for simulations) More... | |
double | GetGainRatio () const |
Get dynode to anode ratio for the PMT (for simulations) More... | |
double | GetGainRatioRMS () const |
Get RMS of dynode anode ration for the PMT (for simulations) More... | |
double | GetMultiplier (const sdet::PMTConstants::PMTGain gain) const |
double | GetCurrent2VoltageMultiplier () const |
double | GetVoltage2FADCMultiplier () const |
double | GetHighGainDelay () const |
double | GetTimeOffset () const |
Private Member Functions | |
template<typename T > | |
const T & | GetPMTData (T *&data, const std::string &property, const std::string &component, const std::string &errorMsg) const |
void | NotFoundAndThrow (const std::string &msg) const |
PMT & | operator= (const PMT &) |
PMT (const int PMTId, const int stationId, const int isUUB, const PMTConstants::PMTType ptype=PMTConstants::eWaterCherenkovLarge) | |
PMT (const PMT &) | |
void | Update () const |
~PMT () | |
Friends | |
class | Station |
Detector description interface for PMT-related data.
Definition at line 26 of file SDetector/PMT.h.
|
private |
Definition at line 18 of file SDetector/PMT.cc.
References sdet::PMTConstants::eHighGain, sdet::PMTConstants::eLowGain, sdet::PMTConstants::eScintillator, sdet::PMTConstants::eWaterCherenkovLarge, fBaselineHG, fBaselineHGRMS, fBaselineLG, fBaselineLGRMS, fChargeProbabilityDistribution, fCollectionEfficiency, fCurrent2VoltageMultiplier, fDomeRefractionIndex, fEffectiveArea, fFaceRefractionIndex, fGainRatio, fGainRatioRMS, fHighGainDelay, fIndexMap, fIsUUB, fMaxCharge, fMinCharge, fMultiplierHG, fMultiplierLG, fPosition, fPulseShape, fQuantumEfficiency, fRTVRefractionIndex, fStationId, fTimeOffset, fType, fVEMCharge, fVEMPeak, fVoltage2FADCMultiplier, fWorkingGain, GetBaseline(), GetBaselineRMS(), GetChargeProbabilityDistribution(), GetCollectionEfficiency(), GetCompatibilityVEMPeak(), GetCurrent2VoltageMultiplier(), GetDomeRefractionIndex(), GetEffectiveArea(), GetFaceRefractionIndex(), GetGainRatio(), GetGainRatioRMS(), GetHighGainDelay(), GetMaxCharge(), GetMinCharge(), GetMultiplier(), GetNominalVEMCharge(), GetNominalVEMPeak(), GetPMTData(), GetPosition(), GetPulseShape(), GetQuantumEfficiency(), GetRTVRefractionIndex(), GetTimeOffset(), GetVEMCharge(), GetVEMPeak(), GetVoltage2FADCMultiplier(), GetWorkingGain(), NotFoundAndThrow(), Update(), and ~PMT().
|
private |
Referenced by PMT().
|
private |
double sdet::PMT::GetBaseline | ( | const sdet::PMTConstants::PMTGain | gain | ) | const |
Get baseline level for the PMT (for simulations)
Referenced by PMT(), SdBaselineSimulatorASCII::SdBaselineSimulator::Run(), and SdSimulationCalibrationFillerASCII::SdSimulationCalibrationFiller::Run().
double sdet::PMT::GetBaselineRMS | ( | const sdet::PMTConstants::PMTGain | gain | ) | const |
Get baseline noise for the PMT (for simulations)
Referenced by PMT(), SdBaselineSimulatorASCII::SdBaselineSimulator::Run(), and SdSimulationCalibrationFillerASCII::SdSimulationCalibrationFiller::Run().
const std::vector<double>& sdet::PMT::GetChargeProbabilityDistribution | ( | ) | const |
Referenced by PMT().
double sdet::PMT::GetCollectionEfficiency | ( | ) | const |
Collection efficiency.
Referenced by G4TankSimulatorASCII::G4TankFastCerenkov::GetDataFromConstruction(), G4XTankSimulatorAG::G4XTankFastCerenkov::GetDataFromConstruction(), G4TankSimulatorOG::G4TankFastCerenkov::GetDataFromConstruction(), PMT(), G4TankSimulatorASCII::G4TankStackingAction::SetStation(), G4TankSimulatorOG::G4TankStackingAction::SetStation(), G4XTankSimulatorAG::G4XTankStackingAction::SetStation(), and SDetectorTest::testSModelsXMLManager().
double sdet::PMT::GetCompatibilityVEMPeak | ( | const std::string & | simulationIdentifier | ) | const |
double sdet::PMT::GetCurrent2VoltageMultiplier | ( | ) | const |
Referenced by PMT().
const utl::TabulatedFunction& sdet::PMT::GetDomeRefractionIndex | ( | ) | const |
Refraction index for the PMT dome.
Referenced by PMT(), G4TankSimulatorOG::G4TankConstruction::SetDetectorParameters(), G4XTankSimulatorAG::G4XTankConstruction::SetDetectorParameters(), and G4TankSimulatorASCII::G4TankConstruction::SetDetectorParameters().
double sdet::PMT::GetEffectiveArea | ( | ) | const |
const utl::TabulatedFunction& sdet::PMT::GetFaceRefractionIndex | ( | ) | const |
Refraction index for the PMT face.
Referenced by PMT(), G4TankSimulatorOG::G4TankConstruction::SetDetectorParameters(), G4XTankSimulatorAG::G4XTankConstruction::SetDetectorParameters(), and G4TankSimulatorASCII::G4TankConstruction::SetDetectorParameters().
double sdet::PMT::GetGainRatio | ( | ) | const |
double sdet::PMT::GetGainRatioRMS | ( | ) | const |
double sdet::PMT::GetHighGainDelay | ( | ) | const |
Referenced by PMT().
|
inline |
return ID of the PMT
Definition at line 30 of file SDetector/PMT.h.
References fPMTId.
Referenced by SdSimulationCalibratorOG::SdSimulationCalibrator::ProcessStation().
double sdet::PMT::GetMaxCharge | ( | ) | const |
Referenced by PMT().
double sdet::PMT::GetMinCharge | ( | ) | const |
Referenced by PMT().
double sdet::PMT::GetMultiplier | ( | const sdet::PMTConstants::PMTGain | gain | ) | const |
Referenced by PMT().
double sdet::PMT::GetNominalVEMCharge | ( | ) | const |
Get nominal value for the VEM charge.
Referenced by PMT().
double sdet::PMT::GetNominalVEMPeak | ( | ) | const |
what HV setting tries to target in HG
Referenced by PMT().
|
inlineprivate |
Definition at line 173 of file SDetector/PMT.h.
References data, det::VManager::eNotFound, fIndexMap, utl::m, and NotFoundAndThrow().
Referenced by PMT().
const utl::Point& sdet::PMT::GetPosition | ( | ) | const |
PMT position.
Referenced by G4StationSimulatorOG::G4StationFastCerenkov::GetDataFromConstruction(), G4StationSimulatorOG::G4TankFastCerenkov::GetDataFromConstruction(), PMT(), G4TankSimulatorOG::G4TankConstruction::SetDetectorParameters(), G4XTankSimulatorAG::G4XTankConstruction::SetDetectorParameters(), and G4TankSimulatorASCII::G4TankConstruction::SetDetectorParameters().
const utl::TabulatedFunction& sdet::PMT::GetPulseShape | ( | ) | const |
Referenced by PMT().
const utl::TabulatedFunction& sdet::PMT::GetQuantumEfficiency | ( | ) | const |
Quantum efficiency.
Referenced by G4TankSimulatorASCII::G4TankFastCerenkov::GetDataFromConstruction(), G4XTankSimulatorAG::G4XTankFastCerenkov::GetDataFromConstruction(), G4TankSimulatorOG::G4TankFastCerenkov::GetDataFromConstruction(), PMT(), G4StationSimulatorOG::G4TankPMTAction::ProcessHits(), G4TankSimulatorOG::G4TankStackingAction::SetStation(), G4TankSimulatorASCII::G4TankStackingAction::SetStation(), G4XTankSimulatorAG::G4XTankStackingAction::SetStation(), and SDetectorTest::testSModelsXMLManager().
const utl::TabulatedFunction& sdet::PMT::GetRTVRefractionIndex | ( | ) | const |
Refraction index for the interface between PMT face and dome (RTV)
Referenced by PMT(), G4TankSimulatorOG::G4TankConstruction::SetDetectorParameters(), G4XTankSimulatorAG::G4XTankConstruction::SetDetectorParameters(), and G4TankSimulatorASCII::G4TankConstruction::SetDetectorParameters().
double sdet::PMT::GetTimeOffset | ( | ) | const |
Referenced by PMT().
|
inline |
Definition at line 33 of file SDetector/PMT.h.
References fType.
Referenced by SdSimulationCalibratorOG::SdSimulationCalibrator::ProcessStation().
double sdet::PMT::GetVEMCharge | ( | const std::string & | simulationIdentifier | ) | const |
Get VEM charge for the PMT (for simulations)
Referenced by PMT(), and SdSimulationCalibrationFillerASCII::SdSimulationCalibrationFiller::Run().
double sdet::PMT::GetVEMPeak | ( | const std::string & | simulationIdentifier | ) | const |
Get VEM peak for the PMT (for simulations)
Referenced by PMT(), and SdSimulationCalibrationFillerASCII::SdSimulationCalibrationFiller::Run().
double sdet::PMT::GetVoltage2FADCMultiplier | ( | ) | const |
Referenced by PMT().
|
private |
Referenced by GetPMTData(), and PMT().
|
private |
Referenced by PMT().
|
friend |
Definition at line 164 of file SDetector/PMT.h.
|
mutableprivate |
Definition at line 152 of file SDetector/PMT.h.
Referenced by PMT().
|
mutableprivate |
Definition at line 154 of file SDetector/PMT.h.
Referenced by PMT().
|
mutableprivate |
Definition at line 151 of file SDetector/PMT.h.
Referenced by PMT().
|
mutableprivate |
Definition at line 153 of file SDetector/PMT.h.
Referenced by PMT().
|
mutableprivate |
Definition at line 142 of file SDetector/PMT.h.
Referenced by PMT().
|
mutableprivate |
Definition at line 136 of file SDetector/PMT.h.
Referenced by PMT().
|
mutableprivate |
Definition at line 159 of file SDetector/PMT.h.
Referenced by PMT().
|
mutableprivate |
Definition at line 141 of file SDetector/PMT.h.
Referenced by PMT().
|
mutableprivate |
Definition at line 146 of file SDetector/PMT.h.
Referenced by PMT().
|
mutableprivate |
Definition at line 139 of file SDetector/PMT.h.
Referenced by PMT().
|
mutableprivate |
Definition at line 155 of file SDetector/PMT.h.
Referenced by PMT().
|
mutableprivate |
Definition at line 156 of file SDetector/PMT.h.
Referenced by PMT().
|
mutableprivate |
Definition at line 161 of file SDetector/PMT.h.
Referenced by PMT().
|
mutableprivate |
Definition at line 166 of file SDetector/PMT.h.
Referenced by GetPMTData(), and PMT().
|
private |
Definition at line 131 of file SDetector/PMT.h.
Referenced by PMT().
|
mutableprivate |
Definition at line 145 of file SDetector/PMT.h.
Referenced by PMT().
|
mutableprivate |
Definition at line 144 of file SDetector/PMT.h.
Referenced by PMT().
|
mutableprivate |
Definition at line 158 of file SDetector/PMT.h.
Referenced by PMT().
|
mutableprivate |
Definition at line 157 of file SDetector/PMT.h.
Referenced by PMT().
|
private |
Definition at line 129 of file SDetector/PMT.h.
Referenced by GetId().
|
mutableprivate |
Definition at line 138 of file SDetector/PMT.h.
Referenced by PMT().
|
mutableprivate |
Definition at line 143 of file SDetector/PMT.h.
Referenced by PMT().
|
mutableprivate |
Definition at line 137 of file SDetector/PMT.h.
Referenced by PMT().
|
mutableprivate |
Definition at line 140 of file SDetector/PMT.h.
Referenced by PMT().
|
private |
Definition at line 130 of file SDetector/PMT.h.
Referenced by PMT().
|
mutableprivate |
Definition at line 162 of file SDetector/PMT.h.
Referenced by PMT().
|
private |
Definition at line 132 of file SDetector/PMT.h.
|
mutableprivate |
Definition at line 149 of file SDetector/PMT.h.
Referenced by PMT().
|
mutableprivate |
Definition at line 148 of file SDetector/PMT.h.
Referenced by PMT().
|
mutableprivate |
Definition at line 160 of file SDetector/PMT.h.
Referenced by PMT().
|
mutableprivate |
Definition at line 135 of file SDetector/PMT.h.
Referenced by PMT().