FairRoot/PandaRoot
|
#include <PndEmcPSAFPGAIntegratingAnalyser.h>
Public Types | |
enum | status_t { kBaseline, kInPulse, kPulseDetected, kPulseFinished, kPileupFinished, kUndefined =99 } |
Public Member Functions | |
PndEmcPSAFPGAIntegratingAnalyser () | |
PndEmcPSAFPGAIntegratingAnalyser (const std::string &fname) | |
virtual | ~PndEmcPSAFPGAIntegratingAnalyser () |
virtual float | baseline () |
virtual void | reset () |
virtual void | put (float valueToStore) |
ClassDef (PndEmcPSAFPGAIntegratingAnalyser, 1) | |
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 Int_t | Process (const PndEmcWaveform *waveform) |
Find Hits in Waveform. More... | |
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 | |
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 |
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 |
Definition at line 14 of file PndEmcPSAFPGAIntegratingAnalyser.h.
|
inherited |
Enumerator | |
---|---|
kBaseline | |
kInPulse | |
kPulseDetected | |
kPulseFinished | |
kPileupFinished | |
kUndefined |
Definition at line 57 of file PndEmcPSAFPGASampleAnalyser.h.
PndEmcPSAFPGAIntegratingAnalyser::PndEmcPSAFPGAIntegratingAnalyser | ( | ) |
Definition at line 11 of file PndEmcPSAFPGAIntegratingAnalyser.cxx.
PndEmcPSAFPGAIntegratingAnalyser::PndEmcPSAFPGAIntegratingAnalyser | ( | const std::string & | fname | ) |
Definition at line 15 of file PndEmcPSAFPGAIntegratingAnalyser.cxx.
|
virtual |
Definition at line 19 of file PndEmcPSAFPGAIntegratingAnalyser.cxx.
|
inlinevirtual |
Implements PndEmcPSAFPGASampleAnalyser.
Definition at line 21 of file PndEmcPSAFPGAIntegratingAnalyser.h.
References PndEmcPSAFPGASampleAnalyser::baseline_value.
PndEmcPSAFPGAIntegratingAnalyser::ClassDef | ( | PndEmcPSAFPGAIntegratingAnalyser | , |
1 | |||
) |
|
inherited |
|
protectedinherited |
|
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().
|
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.
|
protectedvirtualinherited |
Reimplemented in PndEmcPSAFPGADigitalFilterAnalyser.
Definition at line 45 of file PndEmcPSAFPGASampleAnalyser.cxx.
References PndEmcPSAFPGASampleAnalyser::analyserParams, PndEmcPSAFPGASampleAnalyser::SampleAnalyserParams::cf_delay, PndEmcPSAFPGASampleAnalyser::CF_delay, PndEmcPSAFPGASampleAnalyser::CF_filter, 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::SampleAnalyserParams::ma_trig_M, PndEmcPSAFPGASampleAnalyser::MA_triggering, PndEmcPSAFPGASampleAnalyser::SampleAnalyserParams::mwd2_length, PndEmcPSAFPGASampleAnalyser::SampleAnalyserParams::mwd2_tau, PndEmcPSAFPGASampleAnalyser::SampleAnalyserParams::mwd3_length, PndEmcPSAFPGASampleAnalyser::SampleAnalyserParams::mwd3_tau, PndEmcPSAFPGASampleAnalyser::SampleAnalyserParams::mwd_length, PndEmcPSAFPGASampleAnalyser::SampleAnalyserParams::mwd_tau, PndEmcPSAFPGASampleAnalyser::SampleAnalyserParams::rough_timing_corr, PndEmcPSAFPGAFilterDelay::set(), PndEmcPSAFPGAFilterMA::set(), PndEmcPSAFPGAFilterCF::set(), PndEmcPSAFPGASampleAnalyser::SampleAnalyserParams::sig_delay, and PndEmcPSAFPGASampleAnalyser::Signal_delay.
Referenced by PndEmcPSAFPGADigitalFilterAnalyser::init(), PndEmcPSAFPGASampleAnalyser::Init(), PndEmcPSAFPGASampleAnalyser::initFromFile(), and PndEmcPSAFPGAPileupAnalyser::InitParameters().
|
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(), PndEmcPSAFPGADigitalFilterAnalyser::Process(), PndEmcPSAFPGASampleAnalyser::Process(), PndEmcPSAFPGASampleAnalyser::sampleAmplitude(), PndEmcPSAFPGASampleAnalyser::sampleIntegral(), and PndEmcPSAFPGASampleAnalyser::sampleTime().
|
virtualinherited |
Find Hits in Waveform.
PndEmcWaveform |
Implements PndEmcAbsPSA.
Reimplemented in PndEmcPSAFPGADigitalFilterAnalyser.
Definition at line 177 of file PndEmcPSAFPGASampleAnalyser.cxx.
References PndEmcWaveform::GetSignal(), PndEmcPSAFPGASampleAnalyser::nHits(), PndEmcPSAFPGASampleAnalyser::put(), and PndEmcPSAFPGASampleAnalyser::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 |
Implements PndEmcPSAFPGASampleAnalyser.
Definition at line 31 of file PndEmcPSAFPGAIntegratingAnalyser.cxx.
References a, PndEmcPSAFPGASampleAnalyser::amplitude, PndEmcPSAFPGASampleAnalyser::analyserParams, PndEmcPSAFPGASampleAnalyser::baseline_value, 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::SampleAnalyserParams::ma_trig_M, PndEmcPSAFPGASampleAnalyser::MA_triggering, PndEmcPSAFPGASampleAnalyser::Number_of_hits, PndEmcPSAFPGALinFitter::offset(), PndEmcPSAFPGASampleAnalyser::pulse_detected, PndEmcPSAFPGAFilterDelay::put(), PndEmcPSAFPGAFilterMA::put(), PndEmcPSAFPGAFilterCF::put(), PndEmcPSAFPGALinFitter::putPoint(), PndEmcPSAFPGALinFitter::reset(), PndEmcPSAFPGASampleAnalyser::rough_pulse_timing, PndEmcPSAFPGASampleAnalyser::Signal_delay, PndEmcPSAFPGALinFitter::slope(), and PndEmcPSAFPGASampleAnalyser::time.
|
virtual |
Implements PndEmcPSAFPGASampleAnalyser.
Definition at line 22 of file PndEmcPSAFPGAIntegratingAnalyser.cxx.
References PndEmcPSAFPGASampleAnalyser::CF_filter, PndEmcPSAFPGASampleAnalyser::local_time, PndEmcPSAFPGASampleAnalyser::MA_triggering, PndEmcPSAFPGASampleAnalyser::Number_of_hits, PndEmcPSAFPGASampleAnalyser::pulse_detected, PndEmcPSAFPGAFilterMA::resetToZero(), and PndEmcPSAFPGAFilterCF::resetToZero().
|
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().
|
protectedinherited |
Definition at line 82 of file PndEmcPSAFPGASampleAnalyser.h.
Referenced by PndEmcPSAFPGADigitalFilterAnalyser::put(), put(), PndEmcPSAFPGAPileupAnalyser::put(), and PndEmcPSAFPGASampleAnalyser::sampleAmplitude().
|
protectedinherited |
Definition at line 63 of file PndEmcPSAFPGASampleAnalyser.h.
Referenced by PndEmcPSAFPGADigitalFilterAnalyser::init(), PndEmcPSAFPGASampleAnalyser::init(), PndEmcPSAFPGAPileupAnalyser::Init2(), PndEmcPSAFPGADigitalFilterAnalyser::put(), put(), and PndEmcPSAFPGAPileupAnalyser::put().
|
protectedinherited |
Definition at line 65 of file PndEmcPSAFPGASampleAnalyser.h.
Referenced by baseline(), PndEmcPSAFPGAPileupAnalyser::baseline(), PndEmcPSAFPGADigitalFilterAnalyser::PndEmcPSAFPGADigitalFilterAnalyser(), PndEmcPSAFPGASampleAnalyser::PndEmcPSAFPGASampleAnalyser(), PndEmcPSAFPGADigitalFilterAnalyser::Process(), PndEmcPSAFPGADigitalFilterAnalyser::put(), put(), PndEmcPSAFPGAPileupAnalyser::put(), and PndEmcPSAFPGASampleAnalyser::setBaseline().
|
protectedinherited |
Definition at line 74 of file PndEmcPSAFPGASampleAnalyser.h.
Referenced by PndEmcPSAFPGASampleAnalyser::init(), PndEmcPSAFPGASampleAnalyser::PndEmcPSAFPGASampleAnalyser(), PndEmcPSAFPGADigitalFilterAnalyser::put(), put(), PndEmcPSAFPGAPileupAnalyser::put(), PndEmcPSAFPGADigitalFilterAnalyser::reset(), and PndEmcPSAFPGAPileupAnalyser::reset().
|
protectedinherited |
Definition at line 71 of file PndEmcPSAFPGASampleAnalyser.h.
Referenced by PndEmcPSAFPGASampleAnalyser::init(), PndEmcPSAFPGASampleAnalyser::PndEmcPSAFPGASampleAnalyser(), PndEmcPSAFPGADigitalFilterAnalyser::put(), put(), PndEmcPSAFPGAPileupAnalyser::put(), reset(), PndEmcPSAFPGADigitalFilterAnalyser::reset(), and PndEmcPSAFPGAPileupAnalyser::reset().
|
protectedinherited |
Definition at line 76 of file PndEmcPSAFPGASampleAnalyser.h.
Referenced by PndEmcPSAFPGASampleAnalyser::PndEmcPSAFPGASampleAnalyser(), put(), PndEmcPSAFPGADigitalFilterAnalyser::put(), and PndEmcPSAFPGAPileupAnalyser::put().
|
protectedinherited |
Definition at line 69 of file PndEmcPSAFPGASampleAnalyser.h.
Referenced by PndEmcPSAFPGADigitalFilterAnalyser::put(), and put().
|
protectedinherited |
Definition at line 81 of file PndEmcPSAFPGASampleAnalyser.h.
Referenced by PndEmcPSAFPGADigitalFilterAnalyser::put(), put(), PndEmcPSAFPGAPileupAnalyser::put(), and PndEmcPSAFPGASampleAnalyser::sampleIntegral().
|
protectedinherited |
Definition at line 66 of file PndEmcPSAFPGASampleAnalyser.h.
Referenced by PndEmcPSAFPGADigitalFilterAnalyser::put(), put(), PndEmcPSAFPGAPileupAnalyser::put(), PndEmcPSAFPGADigitalFilterAnalyser::reset(), 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(), PndEmcPSAFPGADigitalFilterAnalyser::put(), put(), reset(), PndEmcPSAFPGADigitalFilterAnalyser::reset(), and PndEmcPSAFPGAPileupAnalyser::reset().
|
protectedinherited |
Definition at line 79 of file PndEmcPSAFPGASampleAnalyser.h.
Referenced by PndEmcPSAFPGASampleAnalyser::nHits(), put(), PndEmcPSAFPGADigitalFilterAnalyser::put(), PndEmcPSAFPGAPileupAnalyser::put(), PndEmcPSAFPGADigitalFilterAnalyser::reset(), reset(), and PndEmcPSAFPGAPileupAnalyser::reset().
|
protectedinherited |
Definition at line 67 of file PndEmcPSAFPGASampleAnalyser.h.
Referenced by PndEmcPSAFPGADigitalFilterAnalyser::put(), put(), PndEmcPSAFPGAPileupAnalyser::put(), PndEmcPSAFPGADigitalFilterAnalyser::reset(), reset(), and PndEmcPSAFPGAPileupAnalyser::reset().
|
protectedinherited |
Definition at line 68 of file PndEmcPSAFPGASampleAnalyser.h.
Referenced by PndEmcPSAFPGADigitalFilterAnalyser::put(), put(), PndEmcPSAFPGAPileupAnalyser::put(), and PndEmcPSAFPGAPileupAnalyser::reset().
|
protectedinherited |
Definition at line 75 of file PndEmcPSAFPGASampleAnalyser.h.
Referenced by PndEmcPSAFPGASampleAnalyser::init(), PndEmcPSAFPGAPileupAnalyser::Init2(), PndEmcPSAFPGASampleAnalyser::PndEmcPSAFPGASampleAnalyser(), put(), PndEmcPSAFPGADigitalFilterAnalyser::put(), PndEmcPSAFPGAPileupAnalyser::put(), and PndEmcPSAFPGADigitalFilterAnalyser::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 PndEmcPSAFPGADigitalFilterAnalyser::put(), put(), PndEmcPSAFPGAPileupAnalyser::put(), and PndEmcPSAFPGASampleAnalyser::sampleTime().