From ea2682a303e145b55b919d0b62eb2b6c3a7698be Mon Sep 17 00:00:00 2001 From: hallc-online <hallc-online@jlab.org> Date: Thu, 23 Mar 2017 11:15:42 -0400 Subject: [PATCH] Add method to THcRawAdcHit Add method GetF250_PeakPedestalRatio() {return fPeakPedestalRatio;}; so that a detector class can calculate the pedestal that was used in determining the pedestal subtracted FADC Pulse Integral. This is useful if the detector class wants to set a threshold above the pedestal. --- src/THcRawAdcHit.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/THcRawAdcHit.h b/src/THcRawAdcHit.h index 82a1922..86c565c 100644 --- a/src/THcRawAdcHit.h +++ b/src/THcRawAdcHit.h @@ -19,6 +19,7 @@ class THcRawAdcHit : public TObject { ); Int_t GetRawData(UInt_t iPulse=0) const; + Double_t GetF250_PeakPedestalRatio() {return fPeakPedestalRatio;}; Double_t GetAverage(UInt_t iSampleLow, UInt_t iSampleHigh) const; Int_t GetIntegral(UInt_t iSampleLow, UInt_t iSampleHigh) const; -- GitLab