![]() |
PandaRoot
|
#include <PndEmcPSAFPGASampleAnalyser.h>
Classes | |
| struct | SampleAnalyserParams |
Public Types | |
| enum | status_t { kBaseline, kInPulse, kPulseDetected, kPulseFinished, kPileupFinished, kUndefined =99 } |
Public Member Functions | |
| PndEmcPSAFPGASampleAnalyser () | |
| PndEmcPSAFPGASampleAnalyser (const std::string &fname) | |
| virtual | ~PndEmcPSAFPGASampleAnalyser () |
| virtual void | initFromFile (const std::string &fname) |
| virtual void | reset ()=0 |
| virtual void | put (float valueToStore)=0 |
| virtual void | setBaseline (float newBaseline) |
| virtual float | baseline ()=0 |
| int | nHits () |
| float | sampleTime (int index) |
| float | sampleAmplitude (int index) |
| float | sampleIntegral (int index) |
| Int_t | samplePileup (int index) |
| 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 void | GetHit2 (Int_t i, Double_t &energy, Double_t &time, Int_t &PileupType) |
| virtual void | Init (const std::vector< Double_t > ¶ms) |
| status_t | GetStatus () |
Public Member Functions inherited from PndEmcAbsPSA | |
| PndEmcAbsPSA () | |
| virtual | ~PndEmcAbsPSA () |
| virtual void | Process (const PndEmcWaveform *waveform, Double_t &litude, Double_t &time) |
| Deprecated. Do not use. More... | |
| ClassDef (PndEmcAbsPSA, 1) | |
Protected Member Functions | |
| virtual void | init (SampleAnalyserParams ¶ms) |
| ClassDef (PndEmcPSAFPGASampleAnalyser, 2) | |
Protected Attributes | |
| SampleAnalyserParams | analyserParams |
| float | baseline_value |
| unsigned int | local_time |
| bool | pulse_detected |
| int | rough_pulse_timing |
| int | cf_zero_crossing_points |
| std::ofstream | Ratio |
| PndEmcPSAFPGAFilterCF * | CF_filter |
| PndEmcPSAFPGAFilterCF * | CF_filter2 |
| PndEmcPSAFPGAFilterMA * | MA_triggering |
| PndEmcPSAFPGAFilterDelay * | MA_delay |
| PndEmcPSAFPGAFilterDelay * | CF_delay |
| PndEmcPSAFPGAFilterDelay * | Signal_delay |
| PndEmcPSAFPGAFilterDelay * | Signal_buffer |
| PndEmcPSAFPGALinFitter * | CF_Fitter |
| int | Number_of_hits |
| float | time [MAX_NUMBER_OF_HITS] |
| float | integral [MAX_NUMBER_OF_HITS] |
| float | amplitude [MAX_NUMBER_OF_HITS] |
| Int_t | pileups [MAX_NUMBER_OF_HITS] |
| status_t | status |
Definition at line 15 of file PndEmcPSAFPGASampleAnalyser.h.
| Enumerator | |
|---|---|
| kBaseline | |
| kInPulse | |
| kPulseDetected | |
| kPulseFinished | |
| kPileupFinished | |
| kUndefined | |
Definition at line 58 of file PndEmcPSAFPGASampleAnalyser.h.
| PndEmcPSAFPGASampleAnalyser::PndEmcPSAFPGASampleAnalyser | ( | ) |
| PndEmcPSAFPGASampleAnalyser::PndEmcPSAFPGASampleAnalyser | ( | const std::string & | fname | ) |
|
virtual |
|
pure virtual |
Implemented in PndEmcPSAFPGAPileupAnalyser, PndEmcPSAFPGAIntegratingAnalyser, and PndEmcPSAFPGADigitalFilterAnalyser.
Referenced by setBaseline().
|
protected |
|
virtual |
Get energy and time of hit.
| Int_t | Index of Hit |
| Double_t | Energy of Hit |
| Double_t | Time of Hit |
Implements PndEmcAbsPSA.
Reimplemented in PndEmcPSAFPGAPileupAnalyser.
Referenced by Reset().
|
virtual |
Reimplemented in PndEmcPSAFPGAPileupAnalyser.
Referenced by Reset().
|
inline |
|
virtual |
Referenced by Reset().
|
protectedvirtual |
Reimplemented in PndEmcPSAFPGADigitalFilterAnalyser.
Referenced by GetStatus().
|
virtual |
|
inline |
Definition at line 28 of file PndEmcPSAFPGASampleAnalyser.h.
References Number_of_hits, Process(), sampleAmplitude(), sampleIntegral(), samplePileup(), and sampleTime().
|
virtual |
Find Hits in Waveform.
| PndEmcWaveform |
Implements PndEmcAbsPSA.
Reimplemented in PndEmcPSAFPGADigitalFilterAnalyser.
Referenced by nHits().
|
pure virtual |
Implemented in PndEmcPSAFPGAPileupAnalyser, PndEmcPSAFPGAIntegratingAnalyser, and PndEmcPSAFPGADigitalFilterAnalyser.
|
pure virtual |
Implemented in PndEmcPSAFPGAPileupAnalyser, PndEmcPSAFPGAIntegratingAnalyser, and PndEmcPSAFPGADigitalFilterAnalyser.
Referenced by Reset().
|
inlinevirtual |
reset found hits
Reimplemented from PndEmcAbsPSA.
Definition at line 34 of file PndEmcPSAFPGASampleAnalyser.h.
References GetHit(), GetHit2(), i, Init(), reset(), and time.
| float PndEmcPSAFPGASampleAnalyser::sampleAmplitude | ( | int | index | ) |
Referenced by nHits().
| float PndEmcPSAFPGASampleAnalyser::sampleIntegral | ( | int | index | ) |
Referenced by nHits().
| Int_t PndEmcPSAFPGASampleAnalyser::samplePileup | ( | int | index | ) |
Referenced by nHits().
| float PndEmcPSAFPGASampleAnalyser::sampleTime | ( | int | index | ) |
Referenced by nHits().
|
inlinevirtual |
Reimplemented in PndEmcPSAFPGAPileupAnalyser.
Definition at line 25 of file PndEmcPSAFPGASampleAnalyser.h.
References baseline(), and baseline_value.
|
protected |
Definition at line 86 of file PndEmcPSAFPGASampleAnalyser.h.
|
protected |
Definition at line 64 of file PndEmcPSAFPGASampleAnalyser.h.
|
protected |
Definition at line 66 of file PndEmcPSAFPGASampleAnalyser.h.
Referenced by PndEmcPSAFPGAIntegratingAnalyser::baseline(), PndEmcPSAFPGAPileupAnalyser::baseline(), and setBaseline().
|
protected |
Definition at line 77 of file PndEmcPSAFPGASampleAnalyser.h.
|
protected |
Definition at line 73 of file PndEmcPSAFPGASampleAnalyser.h.
|
protected |
Definition at line 74 of file PndEmcPSAFPGASampleAnalyser.h.
|
protected |
Definition at line 80 of file PndEmcPSAFPGASampleAnalyser.h.
|
protected |
Definition at line 70 of file PndEmcPSAFPGASampleAnalyser.h.
|
protected |
Definition at line 85 of file PndEmcPSAFPGASampleAnalyser.h.
|
protected |
Definition at line 67 of file PndEmcPSAFPGASampleAnalyser.h.
|
protected |
Definition at line 76 of file PndEmcPSAFPGASampleAnalyser.h.
|
protected |
Definition at line 75 of file PndEmcPSAFPGASampleAnalyser.h.
|
protected |
Definition at line 83 of file PndEmcPSAFPGASampleAnalyser.h.
Referenced by nHits().
|
protected |
Definition at line 87 of file PndEmcPSAFPGASampleAnalyser.h.
|
protected |
Definition at line 68 of file PndEmcPSAFPGASampleAnalyser.h.
|
protected |
Definition at line 71 of file PndEmcPSAFPGASampleAnalyser.h.
|
protected |
Definition at line 69 of file PndEmcPSAFPGASampleAnalyser.h.
|
protected |
Definition at line 79 of file PndEmcPSAFPGASampleAnalyser.h.
|
protected |
Definition at line 78 of file PndEmcPSAFPGASampleAnalyser.h.
|
protected |
Definition at line 88 of file PndEmcPSAFPGASampleAnalyser.h.
Referenced by GetStatus().
|
protected |
Definition at line 84 of file PndEmcPSAFPGASampleAnalyser.h.
Referenced by Reset().