11 #ifndef OPDET_OPDIGIPROPERTIES_H 12 #define OPDET_OPDIGIPROPERTIES_H 36 double SampleFreq() const noexcept {
return fSampleFreq; }
38 double TimeBegin() const noexcept {
return fTimeBegin; }
40 double TimeEnd() const noexcept {
return fTimeEnd; }
46 std::vector<double> WaveformInit(std::string WaveformFile);
55 double QE() const noexcept {
return fQE; }
57 double DarkRate() const noexcept {
return fDarkRate; }
80 double GainSpread() const noexcept {
return fGainSpread; }
91 std::vector<double>
const&
HighGainArray() const noexcept {
return fHighGainArray; }
93 std::vector<double>
const&
LowGainArray() const noexcept {
return fLowGainArray; }
95 std::vector<double>
const&
GainSpreadArray() const noexcept {
return fGainSpreadArray; }
97 std::vector<optdata::ADC_Count_t>
const&
PedMeanArray() const noexcept {
return fPedMeanArray; }
102 double GetSPECumulativeArea();
104 double GetSPEAmplitude();
106 double GetSPECumulativeAmplitude();
114 std::vector<double> GenEmpiricalWF(std::string WaveformFile);
115 std::vector<double> GenAnalyticalWF();
116 void GenerateWaveform();
117 void FillGainArray();
118 void FillPedMeanArray();
std::vector< double > const & GainSpreadArray() const noexcept
Returns an array of gain spread.
double TimeEnd() const noexcept
Returns window end time in us ... with respect to MC photon T0.
std::vector< double > fHighGainArray
art::ServiceHandle< geo::Geometry const > fGeometry
double DarkRate() const noexcept
Returns rate of dark noise.
std::vector< double > fLowGainArray
double LowGainMean() const noexcept
Returns set mean gain value for LOW gain.
double GainSpread() const noexcept
Returns set value for intrinsic gain spread (common to HIGH and LOW)
double fGainSpread_PMT2PMT
double SampleFreq() const noexcept
Returns sample frequency in MHz.
double QE() const noexcept
Returns quantum efficiency.
std::vector< optdata::ADC_Count_t > const & PedMeanArray() const noexcept
Returns an array of generated pedestal mean value per channel.
#define DECLARE_ART_SERVICE(svc, scope)
std::vector< double > const & HighGainArray() const noexcept
Returns an array of HIGH gain.
std::vector< double > const & LowGainArray() const noexcept
Returns an array of LOW gain.
std::vector< double > fWaveform
std::vector< double > const & SinglePEWaveform() const noexcept
Returns a vector of double which represents a binned SPE waveform.
double PedFlucRate() const noexcept
Returns rate of pedestal fluctuation.
optdata::ADC_Count_t ADCBaseline() const noexcept
Returns the ADCBaseline set mean value.
optdata::ADC_Count_t fPedFlucAmp
double WFPowerFactor() const noexcept
Returns WF power factor used in analytical model.
double TimeBegin() const noexcept
Returns window start time in us ... with respect to MC photon T0.
optdata::ADC_Count_t PedFlucAmp() const noexcept
Returns amplitude of pedestal fluctuation.
std::string fGainSpreadFile
std::vector< optdata::ADC_Count_t > fPedMeanArray
optdata::ADC_Count_t SaturationScale() const noexcept
Returns the saturation scale of the electronics.
std::vector< double > fGainSpreadArray
std::string fHighGainFile
optdata::ADC_Count_t fADCBaseline
double GainSpread_PMT2PMT() const noexcept
Returns set value for PMT-to-PMT gain spread.
double WFTimeConstant() const noexcept
Returns WF time constant used in analytical model.
art framework interface to geometry description
optdata::ADC_Count_t fSaturationScale
double HighGainMean() const noexcept
Returns set mean gain value for HIGH gain.
std::string fWaveformFile