![]() |
PandaRoot
|
#include <PndEmcPSAFPGAPileupAnalyser.h>
Public Types | |
enum | pileup_t { kSingle =0, kPileup1 =1, kPileup2 =2, kInvalid =99 } |
![]() | |
enum | status_t { kBaseline, kInPulse, kPulseDetected, kPulseFinished, kPileupFinished, kUndefined =99 } |
Public Member Functions | |
PndEmcPSAFPGAPileupAnalyser () | |
virtual | ~PndEmcPSAFPGAPileupAnalyser () |
virtual void | SetVerbose (Int_t verbose=0) |
virtual void | initFromFile () |
virtual void | Init (const std::vector< Double_t > ¶ms, TF1 *R_thres, TF1 *R_mean, float extBaselineValue=0) |
virtual void | Init (const std::vector< Double_t > ¶ms, TF1 *R_thres, TF1 *R_mean, unsigned int baselineStartSample, unsigned int baselineStopSample) |
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) |
void | GetEnergyMeasures (Int_t i, Double_t &Amplitude, Double_t &Integral) |
virtual void | reset () |
virtual void | put (float valueToStore) |
virtual float | baseline () |
![]() | |
PndEmcPSAFPGASampleAnalyser () | |
PndEmcPSAFPGASampleAnalyser (const std::string &fname) | |
virtual | ~PndEmcPSAFPGASampleAnalyser () |
virtual void | initFromFile (const std::string &fname) |
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 | Init (const std::vector< Double_t > ¶ms) |
status_t | GetStatus () |
![]() | |
PndEmcAbsPSA () | |
virtual | ~PndEmcAbsPSA () |
virtual void | Process (const PndEmcWaveform *waveform, Double_t &litude, Double_t &time) |
Deprecated. Do not use. More... | |
ClassDef (PndEmcAbsPSA, 1) | |
Protected Types | |
enum | { kWindow, kExtern, kFollow } |
Protected Member Functions | |
virtual void | setBaseline (float newBaseline) |
virtual void | setBaselineWindow (unsigned int startSample, unsigned int stopSample) |
virtual void | InitParameters (const std::vector< Double_t > ¶ms) |
virtual void | Init2 (const std::vector< Double_t > ¶ms, TF1 *R_thres, TF1 *R_mean) |
ClassDef (PndEmcPSAFPGAPileupAnalyser, 2) | |
![]() | |
virtual void | init (SampleAnalyserParams ¶ms) |
ClassDef (PndEmcPSAFPGASampleAnalyser, 2) | |
Definition at line 21 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Enumerator | |
---|---|
kWindow | |
kExtern | |
kFollow |
Definition at line 46 of file PndEmcPSAFPGAPileupAnalyser.h.
Enumerator | |
---|---|
kSingle | |
kPileup1 | |
kPileup2 | |
kInvalid |
Definition at line 28 of file PndEmcPSAFPGAPileupAnalyser.h.
PndEmcPSAFPGAPileupAnalyser::PndEmcPSAFPGAPileupAnalyser | ( | ) |
|
virtual |
|
inlinevirtual |
Implements PndEmcPSAFPGASampleAnalyser.
Definition at line 41 of file PndEmcPSAFPGAPileupAnalyser.h.
References PndEmcPSAFPGASampleAnalyser::baseline_value.
|
protected |
void PndEmcPSAFPGAPileupAnalyser::GetEnergyMeasures | ( | Int_t | i, |
Double_t & | Amplitude, | ||
Double_t & | Integral | ||
) |
Referenced by initFromFile().
|
virtual |
Get energy and time of hit.
Int_t | Index of Hit |
Double_t | Energy of Hit |
Double_t | Time of Hit |
Reimplemented from PndEmcPSAFPGASampleAnalyser.
Referenced by initFromFile().
|
virtual |
Reimplemented from PndEmcPSAFPGASampleAnalyser.
Referenced by initFromFile().
|
virtual |
Referenced by initFromFile().
|
virtual |
|
protectedvirtual |
|
inlinevirtual |
Definition at line 30 of file PndEmcPSAFPGAPileupAnalyser.h.
References GetEnergyMeasures(), GetHit(), GetHit2(), i, Init(), put(), and reset().
|
protectedvirtual |
|
virtual |
Implements PndEmcPSAFPGASampleAnalyser.
Referenced by initFromFile().
|
virtual |
Implements PndEmcPSAFPGASampleAnalyser.
Referenced by initFromFile().
|
protectedvirtual |
Reimplemented from PndEmcPSAFPGASampleAnalyser.
|
protectedvirtual |
|
inlinevirtual |
enum { ... } PndEmcPSAFPGAPileupAnalyser::baselineMode |
|
protected |
Definition at line 57 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 58 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 59 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 77 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 65 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 66 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 67 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 105 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 103 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 104 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 69 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 70 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 71 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 76 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 53 of file PndEmcPSAFPGAPileupAnalyser.h.
Referenced by SetVerbose().
|
protected |
Definition at line 56 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 78 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 55 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 54 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 62 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 87 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 89 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 88 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 68 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 68 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 61 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 63 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 64 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 94 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 95 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 96 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 99 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 97 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 98 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 72 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 73 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 90 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 68 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 68 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 80 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 81 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 91 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 92 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 93 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 79 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 106 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 107 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 108 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 83 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 82 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 84 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 85 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 86 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 74 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 100 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 101 of file PndEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 102 of file PndEmcPSAFPGAPileupAnalyser.h.