FairRoot/PandaRoot
|
#include <PndEmcPSAFPGADigitalFilterAnalyser.h>
Public Types | |
enum | status_t { kBaseline, kInPulse, kPulseDetected, kPulseFinished, kPileupFinished, kUndefined =99 } |
Public Member Functions | |
PndEmcPSAFPGADigitalFilterAnalyser () | |
PndEmcPSAFPGADigitalFilterAnalyser (const std::string &fname) | |
~PndEmcPSAFPGADigitalFilterAnalyser () | |
virtual void | setBaselineInterval (int anl_start, int bl_stop) |
virtual float | baseline () |
virtual void | init (PndEmcPSAFPGASampleAnalyser::SampleAnalyserParams ¶ms) |
virtual void | reset () |
virtual void | put (float valueToStore) |
virtual void | enable_mwd_filter (bool flag) |
virtual Int_t | Process (const PndEmcWaveform *waveform) |
Find Hits in Waveform. More... | |
virtual void | initFromFile (const std::string &fname) |
virtual void | setBaseline (float newBaseline) |
int | nHits () |
float | sampleTime (int index) |
float | sampleAmplitude (int index) |
float | sampleIntegral (int index) |
virtual void | Process (const PndEmcWaveform *waveform, Double_t &litude, Double_t &time) |
Deprecated. Do not use. 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 | Init (const std::vector< Double_t > ¶ms) |
status_t | GetStatus () |
ClassDef (PndEmcAbsPSA, 1) | |
Protected Member Functions | |
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 |
PndEmcPSAFPGAFilterCF * | CF_filter |
PndEmcPSAFPGAFilterMA * | MA_triggering |
PndEmcPSAFPGAFilterDelay * | MA_delay |
PndEmcPSAFPGAFilterDelay * | CF_delay |
PndEmcPSAFPGAFilterDelay * | Signal_delay |
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] |
status_t | status |
Private Member Functions | |
ClassDef (PndEmcPSAFPGADigitalFilterAnalyser, 1) | |
Private Attributes | |
unsigned int | analysis_start_position |
unsigned int | baseline_stop_position |
float | baseline_value_calculated |
float | ma_value_delay |
int | increasement |
int | decreasement |
bool | useMWDFilter |
bool | pulse_finished |
int | ith_pulse |
int | rising_count |
PndEmcPSAFPGAFilterMWD * | MWD_filter |
Definition at line 11 of file PndEmcPSAFPGADigitalFilterAnalyser.h.
|
inherited |
Enumerator | |
---|---|
kBaseline | |
kInPulse | |
kPulseDetected | |
kPulseFinished | |
kPileupFinished | |
kUndefined |
Definition at line 57 of file PndEmcPSAFPGASampleAnalyser.h.
PndEmcPSAFPGADigitalFilterAnalyser::PndEmcPSAFPGADigitalFilterAnalyser | ( | ) |
Definition at line 13 of file PndEmcPSAFPGADigitalFilterAnalyser.cxx.
References analysis_start_position, baseline_stop_position, PndEmcPSAFPGASampleAnalyser::baseline_value, increasement, ith_pulse, ma_value_delay, MWD_filter, pulse_finished, and useMWDFilter.
PndEmcPSAFPGADigitalFilterAnalyser::PndEmcPSAFPGADigitalFilterAnalyser | ( | const std::string & | fname | ) |
Definition at line 26 of file PndEmcPSAFPGADigitalFilterAnalyser.cxx.
References analysis_start_position, baseline_stop_position, PndEmcPSAFPGASampleAnalyser::baseline_value, increasement, ith_pulse, ma_value_delay, MWD_filter, pulse_finished, and useMWDFilter.
PndEmcPSAFPGADigitalFilterAnalyser::~PndEmcPSAFPGADigitalFilterAnalyser | ( | ) |
Definition at line 39 of file PndEmcPSAFPGADigitalFilterAnalyser.cxx.
References MWD_filter.
|
virtual |
Implements PndEmcPSAFPGASampleAnalyser.
Definition at line 59 of file PndEmcPSAFPGADigitalFilterAnalyser.cxx.
References analysis_start_position, baseline_stop_position, and baseline_value_calculated.
|
private |
|
inherited |
|
protectedinherited |
|
virtual |
Definition at line 43 of file PndEmcPSAFPGADigitalFilterAnalyser.cxx.
References useMWDFilter.
Referenced by PndEmcWaveformToDigi::Init().
|
virtualinherited |
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.
Definition at line 189 of file PndEmcPSAFPGASampleAnalyser.cxx.
References PndEmcPSAFPGASampleAnalyser::sampleAmplitude(), and PndEmcPSAFPGASampleAnalyser::sampleTime().
Referenced by PndEmcHighLowPSA::GetHit().
|
inlineinherited |
Definition at line 58 of file PndEmcPSAFPGASampleAnalyser.h.
References PndEmcPSAFPGASampleAnalyser::status.
Referenced by PndEmcHighLowPSA::Process().
|
virtual |
Reimplemented from PndEmcPSAFPGASampleAnalyser.
Definition at line 47 of file PndEmcPSAFPGADigitalFilterAnalyser.cxx.
References PndEmcPSAFPGASampleAnalyser::analyserParams, PndEmcPSAFPGASampleAnalyser::init(), MWD_filter, PndEmcPSAFPGASampleAnalyser::SampleAnalyserParams::mwd_length, PndEmcPSAFPGASampleAnalyser::SampleAnalyserParams::mwd_tau, and PndEmcPSAFPGAFilterMWD::set().
Referenced by PndEmcWaveformToDigi::Init().
|
virtualinherited |
Definition at line 132 of file PndEmcPSAFPGASampleAnalyser.cxx.
References PndEmcPSAFPGASampleAnalyser::SampleAnalyserParams::cf_delay, PndEmcPSAFPGASampleAnalyser::SampleAnalyserParams::cf_fit_offset, PndEmcPSAFPGASampleAnalyser::SampleAnalyserParams::cf_fitter_length, PndEmcPSAFPGASampleAnalyser::SampleAnalyserParams::cf_ratio, PndEmcPSAFPGASampleAnalyser::SampleAnalyserParams::clock_unit, PndEmcPSAFPGASampleAnalyser::SampleAnalyserParams::hit_threshold, PndEmcPSAFPGASampleAnalyser::SampleAnalyserParams::iafactor, PndEmcPSAFPGASampleAnalyser::init(), PndEmcPSAFPGASampleAnalyser::SampleAnalyserParams::ma_trig_M, PndEmcPSAFPGASampleAnalyser::SampleAnalyserParams::mwd_length, and PndEmcPSAFPGASampleAnalyser::SampleAnalyserParams::mwd_tau.
|
virtualinherited |
Definition at line 71 of file PndEmcPSAFPGASampleAnalyser.cxx.
References PndEmcPSAFPGASampleAnalyser::SampleAnalyserParams::cf_delay, PndEmcPSAFPGASampleAnalyser::SampleAnalyserParams::cf_fit_offset, PndEmcPSAFPGASampleAnalyser::SampleAnalyserParams::cf_fitter_length, PndEmcPSAFPGASampleAnalyser::SampleAnalyserParams::cf_ratio, PndEmcPSAFPGASampleAnalyser::SampleAnalyserParams::clock_unit, PndEmcPSAFPGASampleAnalyser::SampleAnalyserParams::hit_threshold, PndEmcPSAFPGASampleAnalyser::SampleAnalyserParams::iafactor, PndEmcPSAFPGASampleAnalyser::init(), PndEmcPSAFPGASampleAnalyser::SampleAnalyserParams::ma_trig_M, PndEmcPSAFPGASampleAnalyser::SampleAnalyserParams::mwd_length, and PndEmcPSAFPGASampleAnalyser::SampleAnalyserParams::mwd_tau.
Referenced by PndEmcPSAFPGASampleAnalyser::PndEmcPSAFPGASampleAnalyser().
|
inlineinherited |
Definition at line 28 of file PndEmcPSAFPGASampleAnalyser.h.
References PndEmcPSAFPGASampleAnalyser::Number_of_hits.
Referenced by PndEmcPSAFPGAPileupAnalyser::GetHit(), Process(), PndEmcPSAFPGASampleAnalyser::Process(), PndEmcPSAFPGASampleAnalyser::sampleAmplitude(), PndEmcPSAFPGASampleAnalyser::sampleIntegral(), and PndEmcPSAFPGASampleAnalyser::sampleTime().
|
virtual |
Find Hits in Waveform.
PndEmcWaveform |
Reimplemented from PndEmcPSAFPGASampleAnalyser.
Definition at line 79 of file PndEmcPSAFPGADigitalFilterAnalyser.cxx.
References PndEmcPSAFPGASampleAnalyser::baseline_value, PndEmcWaveform::GetBaseline(), PndEmcWaveform::GetSignal(), PndEmcPSAFPGASampleAnalyser::nHits(), put(), and reset().
|
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 |
analyserParams.ma_trig_M))
Implements PndEmcPSAFPGASampleAnalyser.
Definition at line 172 of file PndEmcPSAFPGADigitalFilterAnalyser.cxx.
References a, PndEmcPSAFPGASampleAnalyser::amplitude, PndEmcPSAFPGASampleAnalyser::analyserParams, analysis_start_position, baseline_stop_position, PndEmcPSAFPGASampleAnalyser::baseline_value, baseline_value_calculated, PndEmcPSAFPGASampleAnalyser::SampleAnalyserParams::cf_delay, PndEmcPSAFPGASampleAnalyser::CF_delay, PndEmcPSAFPGASampleAnalyser::CF_filter, PndEmcPSAFPGASampleAnalyser::CF_Fitter, PndEmcPSAFPGASampleAnalyser::SampleAnalyserParams::cf_fitter_length, PndEmcPSAFPGASampleAnalyser::cf_zero_crossing_points, PndEmcPSAFPGALinFitter::fit(), PndEmcPSAFPGASampleAnalyser::SampleAnalyserParams::hit_threshold, PndEmcPSAFPGASampleAnalyser::integral, PndEmcPSAFPGASampleAnalyser::local_time, PndEmcPSAFPGASampleAnalyser::MA_triggering, MWD_filter, PndEmcPSAFPGASampleAnalyser::Number_of_hits, PndEmcPSAFPGALinFitter::offset(), PndEmcPSAFPGASampleAnalyser::pulse_detected, PndEmcPSAFPGAFilterDelay::put(), PndEmcPSAFPGAFilterMA::put(), PndEmcPSAFPGAFilterMWD::put(), PndEmcPSAFPGAFilterCF::put(), PndEmcPSAFPGALinFitter::putPoint(), PndEmcPSAFPGALinFitter::reset(), PndEmcPSAFPGASampleAnalyser::rough_pulse_timing, PndEmcPSAFPGASampleAnalyser::Signal_delay, PndEmcPSAFPGALinFitter::slope(), PndEmcPSAFPGASampleAnalyser::time, and useMWDFilter.
Referenced by Process().
|
virtual |
Implements PndEmcPSAFPGASampleAnalyser.
Definition at line 63 of file PndEmcPSAFPGADigitalFilterAnalyser.cxx.
References baseline_value_calculated, PndEmcPSAFPGASampleAnalyser::CF_delay, PndEmcPSAFPGASampleAnalyser::CF_filter, ith_pulse, PndEmcPSAFPGASampleAnalyser::local_time, PndEmcPSAFPGASampleAnalyser::MA_triggering, MWD_filter, PndEmcPSAFPGASampleAnalyser::Number_of_hits, PndEmcPSAFPGASampleAnalyser::pulse_detected, pulse_finished, PndEmcPSAFPGAFilterDelay::resetToZero(), PndEmcPSAFPGAFilterMA::resetToZero(), PndEmcPSAFPGAFilterCF::resetToZero(), PndEmcPSAFPGAFilterMWD::resetToZero(), rising_count, and PndEmcPSAFPGASampleAnalyser::Signal_delay.
Referenced by Process().
|
inlinevirtualinherited |
reset found hits
Reimplemented from PndEmcAbsPSA.
Definition at line 34 of file PndEmcPSAFPGASampleAnalyser.h.
References PndEmcPSAFPGASampleAnalyser::reset().
Referenced by PndEmcHighLowPSA::Reset().
|
inherited |
Definition at line 165 of file PndEmcPSAFPGASampleAnalyser.cxx.
References PndEmcPSAFPGASampleAnalyser::amplitude, and PndEmcPSAFPGASampleAnalyser::nHits().
Referenced by PndEmcPSAFPGAPileupAnalyser::GetEnergyMeasures(), PndEmcPSAFPGAPileupAnalyser::GetHit(), and PndEmcPSAFPGASampleAnalyser::GetHit().
|
inherited |
Definition at line 171 of file PndEmcPSAFPGASampleAnalyser.cxx.
References PndEmcPSAFPGASampleAnalyser::integral, and PndEmcPSAFPGASampleAnalyser::nHits().
Referenced by PndEmcPSAFPGAPileupAnalyser::GetEnergyMeasures().
|
inherited |
Definition at line 159 of file PndEmcPSAFPGASampleAnalyser.cxx.
References PndEmcPSAFPGASampleAnalyser::nHits(), and PndEmcPSAFPGASampleAnalyser::time.
Referenced by PndEmcPSAFPGAPileupAnalyser::GetHit(), and PndEmcPSAFPGASampleAnalyser::GetHit().
|
inlinevirtualinherited |
Reimplemented in PndEmcPSAFPGAPileupAnalyser.
Definition at line 25 of file PndEmcPSAFPGASampleAnalyser.h.
References PndEmcPSAFPGASampleAnalyser::baseline_value.
Referenced by PndEmcPSAFPGAPileupAnalyser::setBaseline().
|
virtual |
Definition at line 53 of file PndEmcPSAFPGADigitalFilterAnalyser.cxx.
References analysis_start_position, and baseline_stop_position.
Referenced by PndEmcWaveformToDigi::Init().
|
protectedinherited |
Definition at line 82 of file PndEmcPSAFPGASampleAnalyser.h.
Referenced by put(), PndEmcPSAFPGAIntegratingAnalyser::put(), PndEmcPSAFPGAPileupAnalyser::put(), and PndEmcPSAFPGASampleAnalyser::sampleAmplitude().
|
protectedinherited |
Definition at line 63 of file PndEmcPSAFPGASampleAnalyser.h.
Referenced by init(), PndEmcPSAFPGASampleAnalyser::init(), PndEmcPSAFPGAPileupAnalyser::Init2(), put(), PndEmcPSAFPGAIntegratingAnalyser::put(), and PndEmcPSAFPGAPileupAnalyser::put().
|
private |
Definition at line 28 of file PndEmcPSAFPGADigitalFilterAnalyser.h.
Referenced by baseline(), PndEmcPSAFPGADigitalFilterAnalyser(), put(), and setBaselineInterval().
|
private |
Definition at line 29 of file PndEmcPSAFPGADigitalFilterAnalyser.h.
Referenced by baseline(), PndEmcPSAFPGADigitalFilterAnalyser(), put(), and setBaselineInterval().
|
protectedinherited |
Definition at line 65 of file PndEmcPSAFPGASampleAnalyser.h.
Referenced by PndEmcPSAFPGAIntegratingAnalyser::baseline(), PndEmcPSAFPGAPileupAnalyser::baseline(), PndEmcPSAFPGADigitalFilterAnalyser(), PndEmcPSAFPGASampleAnalyser::PndEmcPSAFPGASampleAnalyser(), Process(), PndEmcPSAFPGAIntegratingAnalyser::put(), put(), PndEmcPSAFPGAPileupAnalyser::put(), and PndEmcPSAFPGASampleAnalyser::setBaseline().
|
private |
Definition at line 30 of file PndEmcPSAFPGADigitalFilterAnalyser.h.
Referenced by baseline(), put(), and reset().
|
protectedinherited |
Definition at line 74 of file PndEmcPSAFPGASampleAnalyser.h.
Referenced by PndEmcPSAFPGASampleAnalyser::init(), PndEmcPSAFPGASampleAnalyser::PndEmcPSAFPGASampleAnalyser(), PndEmcPSAFPGAIntegratingAnalyser::put(), put(), PndEmcPSAFPGAPileupAnalyser::put(), reset(), and PndEmcPSAFPGAPileupAnalyser::reset().
|
protectedinherited |
Definition at line 71 of file PndEmcPSAFPGASampleAnalyser.h.
Referenced by PndEmcPSAFPGASampleAnalyser::init(), PndEmcPSAFPGASampleAnalyser::PndEmcPSAFPGASampleAnalyser(), PndEmcPSAFPGAIntegratingAnalyser::put(), put(), PndEmcPSAFPGAPileupAnalyser::put(), reset(), PndEmcPSAFPGAIntegratingAnalyser::reset(), and PndEmcPSAFPGAPileupAnalyser::reset().
|
protectedinherited |
Definition at line 76 of file PndEmcPSAFPGASampleAnalyser.h.
Referenced by PndEmcPSAFPGASampleAnalyser::PndEmcPSAFPGASampleAnalyser(), PndEmcPSAFPGAIntegratingAnalyser::put(), put(), and PndEmcPSAFPGAPileupAnalyser::put().
|
protectedinherited |
Definition at line 69 of file PndEmcPSAFPGASampleAnalyser.h.
Referenced by put(), and PndEmcPSAFPGAIntegratingAnalyser::put().
|
private |
Definition at line 33 of file PndEmcPSAFPGADigitalFilterAnalyser.h.
|
private |
Definition at line 32 of file PndEmcPSAFPGADigitalFilterAnalyser.h.
Referenced by PndEmcPSAFPGADigitalFilterAnalyser().
|
protectedinherited |
Definition at line 81 of file PndEmcPSAFPGASampleAnalyser.h.
Referenced by put(), PndEmcPSAFPGAIntegratingAnalyser::put(), PndEmcPSAFPGAPileupAnalyser::put(), and PndEmcPSAFPGASampleAnalyser::sampleIntegral().
|
private |
Definition at line 36 of file PndEmcPSAFPGADigitalFilterAnalyser.h.
Referenced by PndEmcPSAFPGADigitalFilterAnalyser(), and reset().
|
protectedinherited |
Definition at line 66 of file PndEmcPSAFPGASampleAnalyser.h.
Referenced by put(), PndEmcPSAFPGAIntegratingAnalyser::put(), PndEmcPSAFPGAPileupAnalyser::put(), reset(), PndEmcPSAFPGAIntegratingAnalyser::reset(), and PndEmcPSAFPGAPileupAnalyser::reset().
|
protectedinherited |
Definition at line 73 of file PndEmcPSAFPGASampleAnalyser.h.
Referenced by PndEmcPSAFPGASampleAnalyser::PndEmcPSAFPGASampleAnalyser().
|
protectedinherited |
Definition at line 72 of file PndEmcPSAFPGASampleAnalyser.h.
Referenced by PndEmcPSAFPGASampleAnalyser::init(), PndEmcPSAFPGASampleAnalyser::PndEmcPSAFPGASampleAnalyser(), PndEmcPSAFPGAIntegratingAnalyser::put(), put(), reset(), PndEmcPSAFPGAIntegratingAnalyser::reset(), and PndEmcPSAFPGAPileupAnalyser::reset().
|
private |
Definition at line 31 of file PndEmcPSAFPGADigitalFilterAnalyser.h.
Referenced by PndEmcPSAFPGADigitalFilterAnalyser().
|
private |
Definition at line 39 of file PndEmcPSAFPGADigitalFilterAnalyser.h.
Referenced by init(), PndEmcPSAFPGADigitalFilterAnalyser(), put(), reset(), and ~PndEmcPSAFPGADigitalFilterAnalyser().
|
protectedinherited |
Definition at line 79 of file PndEmcPSAFPGASampleAnalyser.h.
Referenced by PndEmcPSAFPGASampleAnalyser::nHits(), PndEmcPSAFPGAIntegratingAnalyser::put(), put(), PndEmcPSAFPGAPileupAnalyser::put(), reset(), PndEmcPSAFPGAIntegratingAnalyser::reset(), and PndEmcPSAFPGAPileupAnalyser::reset().
|
protectedinherited |
Definition at line 67 of file PndEmcPSAFPGASampleAnalyser.h.
Referenced by put(), PndEmcPSAFPGAIntegratingAnalyser::put(), PndEmcPSAFPGAPileupAnalyser::put(), reset(), PndEmcPSAFPGAIntegratingAnalyser::reset(), and PndEmcPSAFPGAPileupAnalyser::reset().
|
private |
Definition at line 35 of file PndEmcPSAFPGADigitalFilterAnalyser.h.
Referenced by PndEmcPSAFPGADigitalFilterAnalyser(), and reset().
|
private |
Definition at line 37 of file PndEmcPSAFPGADigitalFilterAnalyser.h.
Referenced by reset().
|
protectedinherited |
Definition at line 68 of file PndEmcPSAFPGASampleAnalyser.h.
Referenced by put(), PndEmcPSAFPGAIntegratingAnalyser::put(), PndEmcPSAFPGAPileupAnalyser::put(), and PndEmcPSAFPGAPileupAnalyser::reset().
|
protectedinherited |
Definition at line 75 of file PndEmcPSAFPGASampleAnalyser.h.
Referenced by PndEmcPSAFPGASampleAnalyser::init(), PndEmcPSAFPGAPileupAnalyser::Init2(), PndEmcPSAFPGASampleAnalyser::PndEmcPSAFPGASampleAnalyser(), put(), PndEmcPSAFPGAIntegratingAnalyser::put(), PndEmcPSAFPGAPileupAnalyser::put(), and reset().
|
protectedinherited |
Definition at line 84 of file PndEmcPSAFPGASampleAnalyser.h.
Referenced by PndEmcPSAFPGASampleAnalyser::GetStatus(), and PndEmcPSAFPGAPileupAnalyser::put().
|
protectedinherited |
Definition at line 80 of file PndEmcPSAFPGASampleAnalyser.h.
Referenced by put(), PndEmcPSAFPGAIntegratingAnalyser::put(), PndEmcPSAFPGAPileupAnalyser::put(), and PndEmcPSAFPGASampleAnalyser::sampleTime().
|
private |
Definition at line 34 of file PndEmcPSAFPGADigitalFilterAnalyser.h.
Referenced by enable_mwd_filter(), PndEmcPSAFPGADigitalFilterAnalyser(), and put().