#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 30 of file OpDigiProperties.h.
opdet::OpDigiProperties::OpDigiProperties | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 25 of file OpDigiProperties.cc.
|
inlinenoexcept |
Returns the ADCBaseline set mean value.
Definition at line 65 of file OpDigiProperties.h.
|
inlinenoexcept |
|
private |
Definition at line 193 of file OpDigiProperties.cc.
|
private |
Definition at line 187 of file OpDigiProperties.cc.
|
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 326 of file OpDigiProperties.cc.
|
private |
Definition at line 291 of file OpDigiProperties.cc.
|
private |
Definition at line 276 of file OpDigiProperties.cc.
double opdet::OpDigiProperties::GetSPEAmplitude | ( | ) |
Utility function ... To be verified (Kazu 08/05/13)
Definition at line 95 of file OpDigiProperties.cc.
double opdet::OpDigiProperties::GetSPEArea | ( | ) |
Utility function ... To be verified (Kazu 08/05/13)
Definition at line 86 of file OpDigiProperties.cc.
double opdet::OpDigiProperties::GetSPECumulativeAmplitude | ( | ) |
Utility function ... To be verified (Kazu 08/05/13)
Definition at line 116 of file OpDigiProperties.cc.
double opdet::OpDigiProperties::GetSPECumulativeArea | ( | ) |
Utility function ... To be verified (Kazu 08/05/13)
Definition at line 104 of file OpDigiProperties.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.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.cc.
|
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 136 of file OpDigiProperties.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.cc.
|
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 130 of file OpDigiProperties.cc.
|
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 |
|
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 162 of file OpDigiProperties.cc.
|
inlinenoexcept |
|
inlinenoexcept |
Returns WF time constant used in analytical model.
Definition at line 67 of file OpDigiProperties.h.
|
private |
Definition at line 128 of file OpDigiProperties.h.
|
private |
Definition at line 129 of file OpDigiProperties.h.
|
private |
Definition at line 138 of file OpDigiProperties.h.
|
private |
Definition at line 145 of file OpDigiProperties.h.
|
private |
Definition at line 126 of file OpDigiProperties.h.
|
private |
Definition at line 136 of file OpDigiProperties.h.
|
private |
Definition at line 137 of file OpDigiProperties.h.
|
private |
Definition at line 148 of file OpDigiProperties.h.
|
private |
Definition at line 143 of file OpDigiProperties.h.
|
private |
Definition at line 150 of file OpDigiProperties.h.
|
private |
Definition at line 147 of file OpDigiProperties.h.
|
private |
Definition at line 140 of file OpDigiProperties.h.
|
private |
Definition at line 131 of file OpDigiProperties.h.
|
private |
Definition at line 146 of file OpDigiProperties.h.
|
private |
Definition at line 141 of file OpDigiProperties.h.
|
private |
Definition at line 130 of file OpDigiProperties.h.
|
private |
Definition at line 125 of file OpDigiProperties.h.
|
private |
Definition at line 124 of file OpDigiProperties.h.
|
private |
Definition at line 149 of file OpDigiProperties.h.
|
private |
Definition at line 113 of file OpDigiProperties.h.
|
private |
Definition at line 123 of file OpDigiProperties.h.
|
private |
Definition at line 110 of file OpDigiProperties.h.
|
private |
Definition at line 127 of file OpDigiProperties.h.
|
private |
Definition at line 111 of file OpDigiProperties.h.
|
private |
Definition at line 112 of file OpDigiProperties.h.
|
private |
Definition at line 121 of file OpDigiProperties.h.
|
private |
Definition at line 122 of file OpDigiProperties.h.
|
private |
Definition at line 132 of file OpDigiProperties.h.
|
private |
Definition at line 144 of file OpDigiProperties.h.
|
private |
Definition at line 142 of file OpDigiProperties.h.
|
private |
Definition at line 135 of file OpDigiProperties.h.
|
private |
Definition at line 134 of file OpDigiProperties.h.
|
private |
Definition at line 133 of file OpDigiProperties.h.