Skip to content
Snippets Groups Projects
Commit ea2682a3 authored by hallc-online's avatar hallc-online
Browse files

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.
parent a6cd0389
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment