![]() |
PandaRoot
|
#include <BSEmcPSAFPGAPileupAnalyser.h>
Public Member Functions | |
| BSEmcPSAFPGAPileupAnalyser () | |
| virtual | ~BSEmcPSAFPGAPileupAnalyser () |
| virtual void | SetVerbose (Int_t t_verbose=0) |
| virtual void | initFromFile () |
| virtual void | Init (const std::vector< Double_t > &t_params, TF1 *t_r_thres, TF1 *t_r_mean, Float_t t_extBaselineValue=0) |
| virtual void | Init (const std::vector< Double_t > &t_params, TF1 *t_r_thres, TF1 *t_r_mean, UInt_t t_baselineStartSample, UInt_t t_baselineStopSample) |
| virtual void | GetHit (Int_t t_idx, Double_t &t_energy, Double_t &t_time) |
| Get energy and time of hit. More... | |
| virtual void | GetHit (Int_t t_idx, Double_t &t_energy, Double_t &t_time, Int_t &t_pileupType) |
| void | GetEnergyMeasures (Int_t t_idx, Double_t &t_amplitude, Double_t &t_integral) |
| virtual void | reset () |
| virtual void | put (Float_t t_valueToStore) |
| virtual Float_t | baseline () |
| virtual void | setBaselineWindow (UInt_t t_startSample, UInt_t t_stopSample) |
Public Member Functions inherited from BSEmcPSAFPGASampleAnalyser | |
| BSEmcPSAFPGASampleAnalyser () | |
| BSEmcPSAFPGASampleAnalyser (const std::string &t_fname) | |
| virtual | ~BSEmcPSAFPGASampleAnalyser () |
| virtual void | initFromFile (const std::string &t_fname) |
| Int_t | nHits () |
| Float_t | sampleTime (Int_t t_index) |
| Float_t | sampleAmplitude (Int_t t_index) |
| Float_t | sampleIntegral (Int_t t_index) |
| Int_t | samplePileup (Int_t t_index) |
| virtual Int_t | Process (const BSEmcWaveform *t_waveform) |
| Find Hits in Waveform. More... | |
| virtual void | Reset () |
| reset found hits More... | |
| virtual void | Init (const std::vector< Double_t > &t_params) |
| status_t | GetStatus () |
Public Member Functions inherited from BSEmcAbsPSA | |
| BSEmcAbsPSA () | |
| virtual | ~BSEmcAbsPSA () |
| virtual void | Process (const BSEmcWaveform *t_waveform, Double_t &t_amplitude, Double_t &t_time) |
| Deprecated. Do not use. More... | |
| ClassDef (BSEmcAbsPSA, 1) | |
Protected Types | |
| enum | { kWindow, kExtern, kFollow } |
Protected Member Functions | |
| virtual void | setBaseline (Float_t t_newBaseline) |
| virtual void | InitParameters (const std::vector< Double_t > &t_params) |
| virtual void | Init2 (const std::vector< Double_t > &t_params, TF1 *t_r_thres, TF1 *t_r_mean) |
| ClassDef (BSEmcPSAFPGAPileupAnalyser, 2) | |
Protected Member Functions inherited from BSEmcPSAFPGASampleAnalyser | |
| virtual void | init (SampleAnalyserParams &t_params) |
| ClassDef (BSEmcPSAFPGASampleAnalyser, 2) | |
Protected Attributes | |
| enum BSEmcPSAFPGAPileupAnalyser:: { ... } | fBaselineMode = kWindow |
| Int_t | fVerbose {0} |
| TF1 * | fInt_thres {nullptr} |
| TF1 * | fInt_mean {nullptr} |
| Int_t | fBaselineStartSample {0} |
| Int_t | fBaselineStopSample {0} |
| Float_t | fBaselineSum {0} |
| BSEmcPSAFPGAFilterMWD * | fMWD_filter1 {nullptr} |
| BSEmcPSAFPGAFilterMA * | fMA_filter1 {nullptr} |
| BSEmcPSAFPGAFilterMWD * | fMWD_filter2 {nullptr} |
| BSEmcPSAFPGAFilterMWD * | fMWD_filter3 {nullptr} |
| Double_t | fCF_prev_val {0} |
| Double_t | fCF_prev_val2 {0} |
| std::ofstream | fRatio |
| std::ofstream | fMWD |
| std::ofstream | fMWD2 |
| Bool_t | fEnergy_finished {kFALSE} |
| Bool_t | fEnergy_finished_mwd {kFALSE} |
| Bool_t | fEnergy_finished_mwd2 {kFALSE} |
| Bool_t | fPulse_detected_mwd {kFALSE} |
| Bool_t | fPulse_detected_mwd2 {kFALSE} |
| Bool_t | fTiming_finished {kFALSE} |
| Bool_t | fFunc_defined {kFALSE} |
| UInt_t | fCF_crossing {0} |
| Bool_t | fIn_cfRise {kFALSE} |
| Float_t | fCFZero [fgMaxNumberOfHits] {} |
| Float_t | fCFRise [fgMaxNumberOfHits] {} |
| Float_t | fSavedValuetoStore {0} |
| Float_t | fSav_mwd {0} |
| Float_t | fSav_mwd2 {0} |
| Float_t | fSquare_mwd2 {0} |
| Float_t | fSquare {0} |
| Float_t | fT {0} |
| Float_t | fT_mwd {0} |
| Float_t | fT_mwd2 [fgMaxNumberOfHits] |
| Float_t | fMax {0} |
| Float_t | fMax_mwd2 [100] |
| Float_t | fMax_mwd {0} |
| Float_t | fR_mwd {0} |
| Int_t | fSaved_local_time [fgMaxNumberOfHits] |
| Int_t | fSaved_local_time_mwd [fgMaxNumberOfHits] |
| Int_t | fSaved_local_time_mwd2 [fgMaxNumberOfHits] |
| Int_t | fNumber_of_puls {0} |
| Int_t | fNumber_of_puls_mwd {0} |
| Int_t | fNumber_of_puls_mwd2 {0} |
| Int_t | fNumber_of_sample_mwd {0} |
| Int_t | fNumber_of_sample_mwd2 {0} |
| Int_t | fNumber_of_sample {0} |
| Int_t | fZ [fgMaxNumberOfHits] |
| Int_t | fZ_mwd [fgMaxNumberOfHits] |
| Int_t | fZ_mwd2 [fgMaxNumberOfHits] |
| Float_t | fCfZero [fgMaxNumberOfHits] |
| Float_t | fCfZero2 [fgMaxNumberOfHits] |
| Float_t | fCfRise [fgMaxNumberOfHits] |
| Float_t | fSignal_buffer_mwd [fgMaxNumberOfHits][fgMaxNumberOfHits] |
| Float_t | fSignal_buffer_mwd2 [fgMaxNumberOfHits][fgMaxNumberOfHits] |
Protected Attributes inherited from BSEmcPSAFPGASampleAnalyser | |
| SampleAnalyserParams | fAnalyserParams |
| Float_t | fBaseline_value {0} |
| Int_t | fLocal_time {0} |
| Bool_t | fPulse_detected {kFALSE} |
| Int_t | fRough_pulse_timing {0} |
| Int_t | fCF_zero_crossing_points {0} |
| BSEmcPSAFPGAFilterCF * | fCF_filter {nullptr} |
| BSEmcPSAFPGAFilterCF * | fCF_filter2 {nullptr} |
| BSEmcPSAFPGAFilterMA * | fMA_triggering {nullptr} |
| BSEmcPSAFPGAFilterDelay * | fMA_delay {nullptr} |
| BSEmcPSAFPGAFilterDelay * | fCF_delay {nullptr} |
| BSEmcPSAFPGAFilterDelay * | fSignal_delay {nullptr} |
| BSEmcPSAFPGAFilterDelay * | fSignal_buffer {nullptr} |
| BSEmcPSAFPGALinFitter * | fCF_Fitter {nullptr} |
| Int_t | fNumber_of_hits {0} |
| Float_t | fTime [fgMaxNumberOfHits] {} |
| Float_t | fIntegral [fgMaxNumberOfHits] {} |
| Float_t | fAmplitude [fgMaxNumberOfHits] {} |
| status_t | fStatus {kUndefined} |
| Int_t | fPileups [fgMaxNumberOfHits] {} |
Additional Inherited Members | |
Public Types inherited from BSEmcPSAFPGASampleAnalyser | |
| enum | pileup_t { kSingle = 0, kPileup1 = 1, kPileup2 = 2, kInvalid = 99 } |
| enum | status_t { kBaseline, kInPulse, kPulseDetected, kPulseFinished, kPileupFinished, kUndefined = 99 } |
Definition at line 24 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
| Enumerator | |
|---|---|
| kWindow | |
| kExtern | |
| kFollow | |
Definition at line 47 of file BSEmcPSAFPGAPileupAnalyser.h.
| BSEmcPSAFPGAPileupAnalyser::BSEmcPSAFPGAPileupAnalyser | ( | ) |
|
virtual |
|
inlinevirtual |
Implements BSEmcPSAFPGASampleAnalyser.
Definition at line 43 of file BSEmcPSAFPGAPileupAnalyser.h.
References BSEmcPSAFPGASampleAnalyser::fBaseline_value, and setBaselineWindow().
|
protected |
| void BSEmcPSAFPGAPileupAnalyser::GetEnergyMeasures | ( | Int_t | t_idx, |
| Double_t & | t_amplitude, | ||
| Double_t & | 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 BSEmcPSAFPGASampleAnalyser.
Referenced by initFromFile().
|
virtual |
Reimplemented from BSEmcPSAFPGASampleAnalyser.
|
virtual |
Referenced by initFromFile().
|
virtual |
|
protectedvirtual |
|
inlinevirtual |
Definition at line 32 of file BSEmcPSAFPGAPileupAnalyser.h.
References GetEnergyMeasures(), GetHit(), Init(), put(), and reset().
|
protectedvirtual |
|
virtual |
Implements BSEmcPSAFPGASampleAnalyser.
Referenced by initFromFile().
|
virtual |
Implements BSEmcPSAFPGASampleAnalyser.
Referenced by initFromFile().
|
protectedvirtual |
Reimplemented from BSEmcPSAFPGASampleAnalyser.
|
virtual |
Referenced by baseline().
|
inlinevirtual |
| enum { ... } BSEmcPSAFPGAPileupAnalyser::fBaselineMode |
|
protected |
Definition at line 56 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 57 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 58 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 76 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 65 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 66 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 79 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 106 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 78 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 104 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 105 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 68 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 69 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 70 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 74 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 77 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 54 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 53 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 61 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 88 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 90 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 89 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 67 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 67 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 60 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 63 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 64 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 95 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 96 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 97 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 100 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 98 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 99 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 71 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 72 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 91 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 67 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 81 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 82 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 92 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 93 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 94 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 80 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 107 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 108 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 84 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 83 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 85 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 86 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 87 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 73 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 52 of file BSEmcPSAFPGAPileupAnalyser.h.
Referenced by SetVerbose().
|
protected |
Definition at line 101 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 102 of file BSEmcPSAFPGAPileupAnalyser.h.
|
protected |
Definition at line 103 of file BSEmcPSAFPGAPileupAnalyser.h.