#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 27 of file OpDigiProperties.h.
opdet::OpDigiProperties::OpDigiProperties | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 25 of file OpDigiProperties_service.cc.
|
inlinenoexcept |
Returns the ADCBaseline set mean value.
Definition at line 62 of file OpDigiProperties.h.
|
inlinenoexcept |
|
private |
Definition at line 193 of file OpDigiProperties_service.cc.
|
private |
Definition at line 187 of file OpDigiProperties_service.cc.
|
inlinenoexcept |
Returns set value for intrinsic gain spread (common to HIGH and LOW)
Definition at line 77 of file OpDigiProperties.h.
|
inlinenoexcept |
Returns set value for PMT-to-PMT gain spread.
Definition at line 79 of file OpDigiProperties.h.
|
inlinenoexcept |
Returns an array of gain spread.
Definition at line 92 of file OpDigiProperties.h.
|
private |
Definition at line 326 of file OpDigiProperties_service.cc.
|
private |
Definition at line 291 of file OpDigiProperties_service.cc.
|
private |
Definition at line 276 of file OpDigiProperties_service.cc.
double opdet::OpDigiProperties::GetSPEAmplitude | ( | ) |
Utility function ... To be verified (Kazu 08/05/13)
Definition at line 95 of file OpDigiProperties_service.cc.
double opdet::OpDigiProperties::GetSPEArea | ( | ) |
Utility function ... To be verified (Kazu 08/05/13)
Definition at line 86 of file OpDigiProperties_service.cc.
double opdet::OpDigiProperties::GetSPECumulativeAmplitude | ( | ) |
Utility function ... To be verified (Kazu 08/05/13)
Definition at line 116 of file OpDigiProperties_service.cc.
double opdet::OpDigiProperties::GetSPECumulativeArea | ( | ) |
Utility function ... To be verified (Kazu 08/05/13)
Definition at line 104 of file OpDigiProperties_service.cc.
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 151 of file OpDigiProperties_service.cc.
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 146 of file OpDigiProperties_service.cc.
|
inlinenoexcept |
Returns an array of HIGH gain.
Definition at line 88 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 136 of file OpDigiProperties_service.cc.
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 141 of file OpDigiProperties_service.cc.
|
inlinenoexcept |
Returns an array of LOW gain.
Definition at line 90 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 130 of file OpDigiProperties_service.cc.
|
inlinenoexcept |
Returns amplitude of pedestal fluctuation.
Definition at line 58 of file OpDigiProperties.h.
|
inlinenoexcept |
|
inlinenoexcept |
Returns an array of generated pedestal mean value per channel.
Definition at line 94 of file OpDigiProperties.h.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Returns the saturation scale of the electronics.
Definition at line 60 of file OpDigiProperties.h.
|
inlinenoexcept |
Returns a vector of double which represents a binned SPE waveform.
Definition at line 86 of file OpDigiProperties.h.
|
inlinenoexcept |
Returns window start time in us ... with respect to MC photon T0.
Definition at line 35 of file OpDigiProperties.h.
|
inlinenoexcept |
Returns window end time in us ... with respect to MC photon T0.
Definition at line 37 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 162 of file OpDigiProperties_service.cc.
|
inlinenoexcept |
|
inlinenoexcept |
Returns WF time constant used in analytical model.
Definition at line 64 of file OpDigiProperties.h.
|
private |
Definition at line 125 of file OpDigiProperties.h.
|
private |
Definition at line 126 of file OpDigiProperties.h.
|
private |
Definition at line 135 of file OpDigiProperties.h.
|
private |
Definition at line 142 of file OpDigiProperties.h.
|
private |
Definition at line 123 of file OpDigiProperties.h.
|
private |
Definition at line 133 of file OpDigiProperties.h.
|
private |
Definition at line 134 of file OpDigiProperties.h.
|
private |
Definition at line 145 of file OpDigiProperties.h.
|
private |
Definition at line 140 of file OpDigiProperties.h.
|
private |
Definition at line 147 of file OpDigiProperties.h.
|
private |
Definition at line 144 of file OpDigiProperties.h.
|
private |
Definition at line 137 of file OpDigiProperties.h.
|
private |
Definition at line 128 of file OpDigiProperties.h.
|
private |
Definition at line 143 of file OpDigiProperties.h.
|
private |
Definition at line 138 of file OpDigiProperties.h.
|
private |
Definition at line 127 of file OpDigiProperties.h.
|
private |
Definition at line 122 of file OpDigiProperties.h.
|
private |
Definition at line 121 of file OpDigiProperties.h.
|
private |
Definition at line 146 of file OpDigiProperties.h.
|
private |
Definition at line 110 of file OpDigiProperties.h.
|
private |
Definition at line 120 of file OpDigiProperties.h.
|
private |
Definition at line 107 of file OpDigiProperties.h.
|
private |
Definition at line 124 of file OpDigiProperties.h.
|
private |
Definition at line 108 of file OpDigiProperties.h.
|
private |
Definition at line 109 of file OpDigiProperties.h.
|
private |
Definition at line 118 of file OpDigiProperties.h.
|
private |
Definition at line 119 of file OpDigiProperties.h.
|
private |
Definition at line 129 of file OpDigiProperties.h.
|
private |
Definition at line 141 of file OpDigiProperties.h.
|
private |
Definition at line 139 of file OpDigiProperties.h.
|
private |
Definition at line 132 of file OpDigiProperties.h.
|
private |
Definition at line 131 of file OpDigiProperties.h.
|
private |
Definition at line 130 of file OpDigiProperties.h.