FairRoot/PandaRoot
|
Wrapping class to manage two independent PSAs for high, resp. low gain. More...
#include <PndEmcHighLowPSA.h>
Public Member Functions | |
PndEmcHighLowPSA (Int_t verbose=0) | |
virtual void | Init (PndEmcPSAFPGASampleAnalyser *highgainPSA, PndEmcPSAFPGASampleAnalyser *lowgainPSA, Double_t overflowThreshold, Int_t highgainWfIndex=0, Int_t lowgainWfIndex=1) |
virtual | ~PndEmcHighLowPSA () |
virtual void | SetVerbose (Int_t verbose=0) |
virtual Int_t | Process (const PndEmcWaveform *waveform) |
Find Hits in Waveform. More... | |
virtual void | Reset () |
reset found hits More... | |
virtual void | GetHit (Int_t i, Double_t &energy, Double_t &time) |
Get energy and time of hit. More... | |
virtual Int_t | GetWaveformIdx (Int_t i) |
virtual void | Process (const PndEmcWaveform *waveform, Double_t &litude, Double_t &time) |
Deprecated. Do not use. More... | |
ClassDef (PndEmcAbsPSA, 1) | |
Private Attributes | |
PndEmcPSAFPGASampleAnalyser * | fHighgainPSA |
PndEmcPSAFPGASampleAnalyser * | fLowgainPSA |
Int_t | fIdx_high |
Int_t | fIdx_low |
std::vector< std::pair < PndEmcPSAFPGASampleAnalyser *, int > > | fHitsInFE |
Double_t | fOverflowThreshold |
Int_t | fVerbose |
Wrapping class to manage two independent PSAs for high, resp. low gain.
Definition at line 24 of file PndEmcHighLowPSA.h.
PndEmcHighLowPSA::PndEmcHighLowPSA | ( | Int_t | verbose = 0 | ) |
Definition at line 9 of file PndEmcHighLowPSA.cxx.
|
inlinevirtual |
Definition at line 29 of file PndEmcHighLowPSA.h.
|
inherited |
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 145 of file PndEmcHighLowPSA.cxx.
References fHitsInFE, PndEmcPSAFPGASampleAnalyser::GetHit(), and i.
Referenced by PndEmcFWEndcapDigi::Exec().
|
virtual |
Definition at line 158 of file PndEmcHighLowPSA.cxx.
References fHighgainPSA, fHitsInFE, fIdx_high, fIdx_low, fLowgainPSA, and i.
Referenced by PndEmcFWEndcapDigi::Exec().
|
virtual |
Definition at line 12 of file PndEmcHighLowPSA.cxx.
References fHighgainPSA, fIdx_high, fIdx_low, fLowgainPSA, and fOverflowThreshold.
Referenced by PndEmcFWEndcapDigi::Init().
|
virtual |
Find Hits in Waveform.
PndEmcWaveform |
Implements PndEmcAbsPSA.
Definition at line 28 of file PndEmcHighLowPSA.cxx.
References fHighgainPSA, fHitsInFE, fIdx_high, fIdx_low, fLowgainPSA, fOverflowThreshold, fVerbose, PndEmcMultiWaveform::GetActiveWaveform(), PndEmcWaveform::GetSignal(), PndEmcPSAFPGASampleAnalyser::GetStatus(), PndEmcPSAFPGASampleAnalyser::kPileupFinished, PndEmcPSAFPGASampleAnalyser::kPulseDetected, PndEmcPSAFPGASampleAnalyser::kPulseFinished, PndEmcPSAFPGASampleAnalyser::put(), Reset(), and PndEmcMultiWaveform::SetActiveWaveform().
Referenced by PndEmcFWEndcapDigi::Exec().
|
virtualinherited |
Deprecated. Do not use.
PndEmcWaveform | |
Double_t | |
Double_t |
Reimplemented in PndEmcPSAMatchedDigiFilter, PndEmcPSAParabolic, PndEmcPSAParabolicBaseline, and PndEmcPSATrapDigiFilter.
Definition at line 2 of file PndEmcAbsPSA.cxx.
References PndEmcAbsPSA::GetHit(), and PndEmcAbsPSA::Process().
|
virtual |
reset found hits
Reimplemented from PndEmcAbsPSA.
Definition at line 20 of file PndEmcHighLowPSA.cxx.
References fHighgainPSA, fHitsInFE, fLowgainPSA, and PndEmcPSAFPGASampleAnalyser::Reset().
Referenced by Process().
|
inlinevirtual |
|
private |
Definition at line 38 of file PndEmcHighLowPSA.h.
Referenced by GetWaveformIdx(), Init(), Process(), and Reset().
|
private |
Definition at line 44 of file PndEmcHighLowPSA.h.
Referenced by GetHit(), GetWaveformIdx(), Process(), and Reset().
|
private |
Definition at line 41 of file PndEmcHighLowPSA.h.
Referenced by GetWaveformIdx(), Init(), and Process().
|
private |
Definition at line 42 of file PndEmcHighLowPSA.h.
Referenced by GetWaveformIdx(), Init(), and Process().
|
private |
Definition at line 39 of file PndEmcHighLowPSA.h.
Referenced by GetWaveformIdx(), Init(), Process(), and Reset().
|
private |
Definition at line 45 of file PndEmcHighLowPSA.h.
|
private |
Definition at line 47 of file PndEmcHighLowPSA.h.
Referenced by Process(), and SetVerbose().