![]() |
LArSoft
v09_93_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "OpDigiProperties.h"
Public Member Functions | |
| OpDigiProperties (fhicl::ParameterSet const &pset) | |
| double | SampleFreq () const noexcept |
| Returns sample frequency in MHz. More... | |
| double | TimeBegin () const noexcept |
| Returns window start time in us ... with respect to MC photon T0. More... | |
| double | TimeEnd () const noexcept |
| Returns window end time in us ... with respect to MC photon T0. More... | |
| std::vector< double > | WaveformInit (std::string WaveformFile) |
| optdata::TimeSlice_t | GetTimeSlice (double time_ns) |
| double | QE () const noexcept |
| Returns quantum efficiency. More... | |
| double | DarkRate () const noexcept |
| Returns rate of dark noise. More... | |
| double | PedFlucRate () const noexcept |
| Returns rate of pedestal fluctuation. More... | |
| optdata::ADC_Count_t | PedFlucAmp () const noexcept |
| Returns amplitude of pedestal fluctuation. More... | |
| optdata::ADC_Count_t | SaturationScale () const noexcept |
| Returns the saturation scale of the electronics. More... | |
| optdata::ADC_Count_t | ADCBaseline () const noexcept |
| Returns the ADCBaseline set mean value. More... | |
| double | WFTimeConstant () const noexcept |
| Returns WF time constant used in analytical model. More... | |
| double | WFPowerFactor () const noexcept |
| Returns WF power factor used in analytical model. More... | |
| double | LowGainMean () const noexcept |
| Returns set mean gain value for LOW gain. More... | |
| double | HighGainMean () const noexcept |
| Returns set mean gain value for HIGH gain. More... | |
| double | LowGainMean (optdata::Channel_t ch) const |
| Returns generated LOW gain value for input channel (PMT-to-PMT spread applied) More... | |
| double | HighGainMean (optdata::Channel_t ch) const |
| Returns generated HIGH gain value for input channel (PMT-to-PMT spread applied) More... | |
| double | GainSpread () const noexcept |
| Returns set value for intrinsic gain spread (common to HIGH and LOW) More... | |
| double | GainSpread_PMT2PMT () const noexcept |
| Returns set value for PMT-to-PMT gain spread. More... | |
| double | LowGain (optdata::Channel_t ch) const |
| Generate & return LOW gain value for an input channel using mean & spread for this channel. More... | |
| double | HighGain (optdata::Channel_t ch) const |
| Generate & return HIGH gain value for an input channel using mean & spread for this channel. More... | |
| std::vector< double > const & | SinglePEWaveform () const noexcept |
| Returns a vector of double which represents a binned SPE waveform. More... | |
| std::vector< double > const & | HighGainArray () const noexcept |
| Returns an array of HIGH gain. More... | |
| std::vector< double > const & | LowGainArray () const noexcept |
| Returns an array of LOW gain. More... | |
| std::vector< double > const & | GainSpreadArray () const noexcept |
| Returns an array of gain spread. More... | |
| std::vector< optdata::ADC_Count_t > const & | PedMeanArray () const noexcept |
| Returns an array of generated pedestal mean value per channel. More... | |
| double | GetSPEArea () |
| Utility function ... To be verified (Kazu 08/05/13) More... | |
| double | GetSPECumulativeArea () |
| Utility function ... To be verified (Kazu 08/05/13) More... | |
| double | GetSPEAmplitude () |
| Utility function ... To be verified (Kazu 08/05/13) More... | |
| double | GetSPECumulativeAmplitude () |
| Utility function ... To be verified (Kazu 08/05/13) More... | |
Private Member Functions | |
| std::vector< double > | GenEmpiricalWF (std::string WaveformFile) |
| std::vector< double > | GenAnalyticalWF () |
| void | GenerateWaveform () |
| void | FillGainArray () |
| void | FillPedMeanArray () |
Private Attributes | |
| double | fSampleFreq |
| double | fTimeBegin |
| double | fTimeEnd |
| double | fPERescale |
| bool | fUseEmpiricalGain |
| bool | fUseEmpiricalShape |
| double | fQE |
| double | fPedFlucRate |
| optdata::ADC_Count_t | fPedFlucAmp |
| double | fDarkRate |
| optdata::ADC_Count_t | fSaturationScale |
| optdata::ADC_Count_t | fADCBaseline |
| double | fADCBaseSpread |
| double | fLowGainMean |
| double | fHighGainMean |
| double | fVoltageAmpForSPE |
| double | fWFTimeConstant |
| double | fWFPowerFactor |
| double | fWFLength |
| double | fGainSpread |
| double | fGainSpread_PMT2PMT |
| TF1 * | fAnalyticalSPE |
| std::string | fHighGainFile |
| std::string | fLowGainFile |
| std::string | fWaveformFile |
| std::string | fGainSpreadFile |
| std::vector< double > | fWaveform |
| bool | fChargeNormalized |
| std::vector< double > | fLowGainArray |
| std::vector< double > | fHighGainArray |
| std::vector< double > | fGainSpreadArray |
| std::vector< optdata::ADC_Count_t > | fPedMeanArray |
| art::ServiceHandle< geo::Geometry const > | fGeometry |
Definition at line 31 of file OpDigiProperties.h.
| opdet::OpDigiProperties::OpDigiProperties | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 25 of file OpDigiProperties.cc.
References fADCBaseline, fADCBaseSpread, fChargeNormalized, fDarkRate, fGainSpread, fGainSpread_PMT2PMT, fGainSpreadFile, fGeometry, fHighGainArray, fHighGainFile, fHighGainMean, FillGainArray(), FillPedMeanArray(), fLowGainArray, fLowGainFile, fLowGainMean, fPedFlucAmp, fPedFlucRate, fPedMeanArray, fPERescale, fQE, fSampleFreq, fSaturationScale, fTimeBegin, fTimeEnd, fUseEmpiricalGain, fUseEmpiricalShape, fVoltageAmpForSPE, fWaveformFile, fWFLength, fWFPowerFactor, fWFTimeConstant, GenerateWaveform(), fhicl::ParameterSet::get(), and geo::GeometryCore::NOpChannels().
|
inlinenoexcept |
Returns the ADCBaseline set mean value.
Definition at line 65 of file OpDigiProperties.h.
|
inlinenoexcept |
|
private |
Definition at line 198 of file OpDigiProperties.cc.
References fGainSpread, fGainSpread_PMT2PMT, fGainSpreadArray, fGainSpreadFile, fGeometry, fHighGainArray, fHighGainFile, fHighGainMean, fLowGainArray, fLowGainFile, fLowGainMean, fUseEmpiricalGain, and geo::GeometryCore::NOpChannels().
Referenced by OpDigiProperties().
|
private |
Definition at line 190 of file OpDigiProperties.cc.
References fADCBaseline, fADCBaseSpread, fGeometry, fPedMeanArray, and geo::GeometryCore::NOpChannels().
Referenced by OpDigiProperties().
|
inlinenoexcept |
Returns set value for intrinsic gain spread (common to HIGH and LOW)
Definition at line 80 of file OpDigiProperties.h.
|
inlinenoexcept |
Returns set value for PMT-to-PMT gain spread.
Definition at line 82 of file OpDigiProperties.h.
|
inlinenoexcept |
Returns an array of gain spread.
Definition at line 95 of file OpDigiProperties.h.
|
private |
Definition at line 353 of file OpDigiProperties.cc.
References e, fAnalyticalSPE, fChargeNormalized, fSampleFreq, fVoltageAmpForSPE, fWFLength, fWFPowerFactor, and fWFTimeConstant.
Referenced by GenerateWaveform().
|
private |
Definition at line 311 of file OpDigiProperties.cc.
References fChargeNormalized, fSampleFreq, and fWFLength.
Referenced by GenerateWaveform().
|
private |
Definition at line 294 of file OpDigiProperties.cc.
References fUseEmpiricalShape, fWaveform, fWaveformFile, GenAnalyticalWF(), and GenEmpiricalWF().
Referenced by OpDigiProperties().
| double opdet::OpDigiProperties::GetSPEAmplitude | ( | ) |
Utility function ... To be verified (Kazu 08/05/13)
Definition at line 99 of file OpDigiProperties.cc.
References fWaveform.
| double opdet::OpDigiProperties::GetSPEArea | ( | ) |
Utility function ... To be verified (Kazu 08/05/13)
Definition at line 90 of file OpDigiProperties.cc.
References fWaveform.
| double opdet::OpDigiProperties::GetSPECumulativeAmplitude | ( | ) |
Utility function ... To be verified (Kazu 08/05/13)
Definition at line 119 of file OpDigiProperties.cc.
References fWaveform.
| double opdet::OpDigiProperties::GetSPECumulativeArea | ( | ) |
Utility function ... To be verified (Kazu 08/05/13)
Definition at line 108 of file OpDigiProperties.cc.
References fWaveform.
| optdata::TimeSlice_t opdet::OpDigiProperties::GetTimeSlice | ( | double | time_ns | ) |
Convert the given time into time-slice number. Input time should be in ns unit and measurd w.r.t. MC photon T0
Definition at line 152 of file OpDigiProperties.cc.
References fSampleFreq, fTimeBegin, and fTimeEnd.
| double opdet::OpDigiProperties::HighGain | ( | optdata::Channel_t | ch | ) | const |
Generate & return HIGH gain value for an input channel using mean & spread for this channel.
Definition at line 147 of file OpDigiProperties.cc.
References fGainSpreadArray, and fHighGainArray.
|
inlinenoexcept |
Returns an array of HIGH gain.
Definition at line 91 of file OpDigiProperties.h.
|
inlinenoexcept |
| double opdet::OpDigiProperties::HighGainMean | ( | optdata::Channel_t | ch | ) | const |
Returns generated HIGH gain value for input channel (PMT-to-PMT spread applied)
Definition at line 137 of file OpDigiProperties.cc.
References fHighGainArray.
| double opdet::OpDigiProperties::LowGain | ( | optdata::Channel_t | ch | ) | const |
Generate & return LOW gain value for an input channel using mean & spread for this channel.
Definition at line 142 of file OpDigiProperties.cc.
References fGainSpreadArray, and fLowGainArray.
|
inlinenoexcept |
Returns an array of LOW gain.
Definition at line 93 of file OpDigiProperties.h.
|
inlinenoexcept |
| double opdet::OpDigiProperties::LowGainMean | ( | optdata::Channel_t | ch | ) | const |
Returns generated LOW gain value for input channel (PMT-to-PMT spread applied)
Definition at line 131 of file OpDigiProperties.cc.
References fLowGainArray.
|
inlinenoexcept |
Returns amplitude of pedestal fluctuation.
Definition at line 61 of file OpDigiProperties.h.
|
inlinenoexcept |
|
inlinenoexcept |
Returns an array of generated pedestal mean value per channel.
Definition at line 97 of file OpDigiProperties.h.
|
inlinenoexcept |
Returns quantum efficiency.
Definition at line 55 of file OpDigiProperties.h.
Referenced by opdet::FlashHypothesisCreator::CreateFlashHypothesesFromSegment(), cosmic::BeamFlashTrackMatchTaggerAlg::GetMIPHypotheses(), and opdet::SimPhotonCounterAlg::InitializeCounters().
|
inlinenoexcept |
|
inlinenoexcept |
Returns the saturation scale of the electronics.
Definition at line 63 of file OpDigiProperties.h.
|
inlinenoexcept |
Returns a vector of double which represents a binned SPE waveform.
Definition at line 89 of file OpDigiProperties.h.
|
inlinenoexcept |
Returns window start time in us ... with respect to MC photon T0.
Definition at line 38 of file OpDigiProperties.h.
|
inlinenoexcept |
Returns window end time in us ... with respect to MC photon T0.
Definition at line 40 of file OpDigiProperties.h.
| std::vector< double > opdet::OpDigiProperties::WaveformInit | ( | std::string | WaveformFile | ) |
DEPRECATED as far as Kazu is concerned for UBooNE PMT simulation. Any comment? –Kazu 08/05/2013
Definition at line 165 of file OpDigiProperties.cc.
References fPERescale.
|
inlinenoexcept |
|
inlinenoexcept |
Returns WF time constant used in analytical model.
Definition at line 67 of file OpDigiProperties.h.
|
private |
Definition at line 127 of file OpDigiProperties.h.
Referenced by FillPedMeanArray(), and OpDigiProperties().
|
private |
Definition at line 128 of file OpDigiProperties.h.
Referenced by FillPedMeanArray(), and OpDigiProperties().
|
private |
Definition at line 137 of file OpDigiProperties.h.
Referenced by GenAnalyticalWF().
|
private |
Definition at line 144 of file OpDigiProperties.h.
Referenced by GenAnalyticalWF(), GenEmpiricalWF(), and OpDigiProperties().
|
private |
Definition at line 125 of file OpDigiProperties.h.
Referenced by OpDigiProperties().
|
private |
Definition at line 135 of file OpDigiProperties.h.
Referenced by FillGainArray(), and OpDigiProperties().
|
private |
Definition at line 136 of file OpDigiProperties.h.
Referenced by FillGainArray(), and OpDigiProperties().
|
private |
Definition at line 147 of file OpDigiProperties.h.
Referenced by FillGainArray(), HighGain(), and LowGain().
|
private |
Definition at line 142 of file OpDigiProperties.h.
Referenced by FillGainArray(), and OpDigiProperties().
|
private |
Definition at line 149 of file OpDigiProperties.h.
Referenced by FillGainArray(), FillPedMeanArray(), and OpDigiProperties().
|
private |
Definition at line 146 of file OpDigiProperties.h.
Referenced by FillGainArray(), HighGain(), HighGainMean(), and OpDigiProperties().
|
private |
Definition at line 139 of file OpDigiProperties.h.
Referenced by FillGainArray(), and OpDigiProperties().
|
private |
Definition at line 130 of file OpDigiProperties.h.
Referenced by FillGainArray(), and OpDigiProperties().
|
private |
Definition at line 145 of file OpDigiProperties.h.
Referenced by FillGainArray(), LowGain(), LowGainMean(), and OpDigiProperties().
|
private |
Definition at line 140 of file OpDigiProperties.h.
Referenced by FillGainArray(), and OpDigiProperties().
|
private |
Definition at line 129 of file OpDigiProperties.h.
Referenced by FillGainArray(), and OpDigiProperties().
|
private |
Definition at line 124 of file OpDigiProperties.h.
Referenced by OpDigiProperties().
|
private |
Definition at line 123 of file OpDigiProperties.h.
Referenced by OpDigiProperties().
|
private |
Definition at line 148 of file OpDigiProperties.h.
Referenced by FillPedMeanArray(), and OpDigiProperties().
|
private |
Definition at line 112 of file OpDigiProperties.h.
Referenced by OpDigiProperties(), and WaveformInit().
|
private |
Definition at line 122 of file OpDigiProperties.h.
Referenced by OpDigiProperties().
|
private |
Definition at line 109 of file OpDigiProperties.h.
Referenced by GenAnalyticalWF(), GenEmpiricalWF(), GetTimeSlice(), and OpDigiProperties().
|
private |
Definition at line 126 of file OpDigiProperties.h.
Referenced by OpDigiProperties().
|
private |
Definition at line 110 of file OpDigiProperties.h.
Referenced by GetTimeSlice(), and OpDigiProperties().
|
private |
Definition at line 111 of file OpDigiProperties.h.
Referenced by GetTimeSlice(), and OpDigiProperties().
|
private |
Definition at line 120 of file OpDigiProperties.h.
Referenced by FillGainArray(), and OpDigiProperties().
|
private |
Definition at line 121 of file OpDigiProperties.h.
Referenced by GenerateWaveform(), and OpDigiProperties().
|
private |
Definition at line 131 of file OpDigiProperties.h.
Referenced by GenAnalyticalWF(), and OpDigiProperties().
|
private |
Definition at line 143 of file OpDigiProperties.h.
Referenced by GenerateWaveform(), GetSPEAmplitude(), GetSPEArea(), GetSPECumulativeAmplitude(), and GetSPECumulativeArea().
|
private |
Definition at line 141 of file OpDigiProperties.h.
Referenced by GenerateWaveform(), and OpDigiProperties().
|
private |
Definition at line 134 of file OpDigiProperties.h.
Referenced by GenAnalyticalWF(), GenEmpiricalWF(), and OpDigiProperties().
|
private |
Definition at line 133 of file OpDigiProperties.h.
Referenced by GenAnalyticalWF(), and OpDigiProperties().
|
private |
Definition at line 132 of file OpDigiProperties.h.
Referenced by GenAnalyticalWF(), and OpDigiProperties().