FairRoot/PandaRoot
|
Pulseshape analysis for ADC waveforms. More...
#include <PndEmcPSAParabolicBaseline.h>
Public Member Functions | |
PndEmcPSAParabolicBaseline (Int_t baselength=0) | |
virtual | ~PndEmcPSAParabolicBaseline () |
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 |
void | GetBaseline (const std::vector< Double_t > &signal, Double_t &baseline) const |
virtual void | Reset () |
reset found hits More... | |
ClassDef (PndEmcAbsPSA, 1) | |
Private Member Functions | |
ClassDef (PndEmcPSAParabolicBaseline, 1) | |
Private Attributes | |
Int_t | lBaselength |
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 PndEmcPSAParabolicBaseline.h.
|
inline |
Definition at line 30 of file PndEmcPSAParabolicBaseline.h.
|
inlinevirtual |
Definition at line 31 of file PndEmcPSAParabolicBaseline.h.
|
private |
|
inherited |
void PndEmcPSAParabolicBaseline::FitPeak | ( | const std::vector< Double_t > & | signal, |
Double_t & | ampl, | ||
Double_t & | pos, | ||
Int_t | peakBin | ||
) | const |
void PndEmcPSAParabolicBaseline::FitPeak | ( | const std::vector< Double_t > & | signal, |
Double_t & | ampl, | ||
Double_t & | pos, | ||
Int_t | start, | ||
Int_t | end | ||
) | const |
Definition at line 67 of file PndEmcPSAParabolicBaseline.cxx.
void PndEmcPSAParabolicBaseline::FitPeak | ( | const std::vector< Double_t > & | signal, |
Double_t & | ampl, | ||
Double_t & | pos | ||
) | const |
Definition at line 75 of file PndEmcPSAParabolicBaseline.cxx.
void PndEmcPSAParabolicBaseline::GetBaseline | ( | const std::vector< Double_t > & | signal, |
Double_t & | baseline | ||
) | const |
Definition at line 82 of file PndEmcPSAParabolicBaseline.cxx.
References i, lBaselength, and p.
Referenced by Process().
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 37 of file PndEmcPSAParabolicBaseline.cxx.
References lAmplitude, and lTime.
|
virtual |
Deprecated. Do not use.
PndEmcWaveform | |
Double_t | |
Double_t |
Reimplemented from PndEmcAbsPSA.
Definition at line 19 of file PndEmcPSAParabolicBaseline.cxx.
References Double_t, FitPeak(), GetBaseline(), and PndEmcWaveform::GetSignal().
Referenced by Process().
|
virtual |
Find Hits in Waveform.
PndEmcWaveform |
Implements PndEmcAbsPSA.
Definition at line 29 of file PndEmcPSAParabolicBaseline.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 45 of file PndEmcPSAParabolicBaseline.h.
|
private |
Definition at line 44 of file PndEmcPSAParabolicBaseline.h.
Referenced by GetBaseline().
|
private |
Definition at line 46 of file PndEmcPSAParabolicBaseline.h.