FairRoot/PandaRoot
|
Pulseshape analysis for ADC waveforms. More...
#include <PndEmcPSAParabolic.h>
Public Member Functions | |
PndEmcPSAParabolic () | |
virtual | ~PndEmcPSAParabolic () |
virtual void | Process (const PndEmcWaveform *waveform, Double_t &litude, Double_t &time) |
Deprecated. Do not use. More... | |
virtual Int_t | Process (const PndEmcWaveform *waveform) |
Find Hits in Waveform. More... | |
virtual void | GetHit (Int_t i, Double_t &energy, Double_t &time) |
Get energy and time of hit. More... | |
void | FitPeak (const std::vector< Double_t > &signal, Double_t &l, Double_t &pos, Int_t peakBin) const |
void | FitPeak (const std::vector< Double_t > &signal, Double_t &l, Double_t &pos, Int_t start, Int_t end) const |
void | FitPeak (const std::vector< Double_t > &signal, Double_t &l, Double_t &pos) const |
virtual void | Reset () |
reset found hits More... | |
ClassDef (PndEmcAbsPSA, 1) | |
Private Attributes | |
Double_t | lAmplitude |
Double_t | lTime |
Pulseshape analysis for ADC waveforms.
Amplitude and time are determined from the simple parabolic fit by three points (maximum bin and its left and right neigbours)
Definition at line 26 of file PndEmcPSAParabolic.h.
|
inline |
Definition at line 30 of file PndEmcPSAParabolic.h.
|
inlinevirtual |
Definition at line 31 of file PndEmcPSAParabolic.h.
|
inherited |
void PndEmcPSAParabolic::FitPeak | ( | const std::vector< Double_t > & | signal, |
Double_t & | ampl, | ||
Double_t & | pos, | ||
Int_t | peakBin | ||
) | const |
void PndEmcPSAParabolic::FitPeak | ( | const std::vector< Double_t > & | signal, |
Double_t & | ampl, | ||
Double_t & | pos, | ||
Int_t | start, | ||
Int_t | end | ||
) | const |
Definition at line 62 of file PndEmcPSAParabolic.cxx.
void PndEmcPSAParabolic::FitPeak | ( | const std::vector< Double_t > & | signal, |
Double_t & | ampl, | ||
Double_t & | pos | ||
) | const |
Definition at line 70 of file PndEmcPSAParabolic.cxx.
Get energy and time of hit.
Int_t | Index of Hit |
Double_t | Energy of Hit |
Double_t | Time of Hit |
Implements PndEmcAbsPSA.
Definition at line 32 of file PndEmcPSAParabolic.cxx.
References lAmplitude, and lTime.
|
virtual |
Deprecated. Do not use.
PndEmcWaveform | |
Double_t | |
Double_t |
Reimplemented from PndEmcAbsPSA.
Definition at line 18 of file PndEmcPSAParabolic.cxx.
References FitPeak(), and PndEmcWaveform::GetSignal().
Referenced by Process().
|
virtual |
Find Hits in Waveform.
PndEmcWaveform |
Implements PndEmcAbsPSA.
Definition at line 24 of file PndEmcPSAParabolic.cxx.
References lAmplitude, lTime, and Process().
|
inlinevirtualinherited |
reset found hits
Reimplemented in PndEmcPSAFPGASampleAnalyser, and PndEmcHighLowPSA.
Definition at line 42 of file PndEmcAbsPSA.h.
|
private |
Definition at line 42 of file PndEmcPSAParabolic.h.
|
private |
Definition at line 43 of file PndEmcPSAParabolic.h.