Inheritance diagram for MAvgPulseFilter:

Filter pulses based on number of peaks, peak amplitude (estimated with MaxBaseline for particle pulses and with MaxMinInWindow for noise), baseline slope, risetime and decaytime.
filter AvgPulseFilter
verbosity = info
enable = true
CutsFilename = cuts.dat
CutOnPeaks = true
NumberOfPeaks = 1
CutOnAmplitude = true
MinAmplitude = 1000.
MaxAmplitude = 3000.
CutOnBaselineSlope = true
CutOnRiseTime = true
CutOnDecayTime = true
endmod
# begin mcuts # QMatrix # 71 6 # Ch Conversion[mV/keV] MaxBaselineSlope[keV/s] MaxRiseTime[s] MinDecayTime[s] MaxDecayTime[s] # 1 0.336202 13.07 0.1 0.08 0.9 2 0. 0. 0. 0. 0. 3 0.533563 13.07 0.1 0.08 0.9 4 0.547332 13.07 0.1 0.08 0.9 5 0.542742 13.07 0.1 0.08 0.9 6 0.531268 13.07 0.1 0.08 0.9 7 0.515204 13.07 0.1 0.08 0.9 ... etc ... 69 0. 0. 0. 0. 0. 70 0. 0. 0. 0. 0. 71 0. 0. 0. 0. 0. # end mcuts
Public Member Functions | |
| MAvgPulseFilter (QSequence *s) | |
| constructor | |
| ~MAvgPulseFilter () | |
| destructor | |
| void | GetCuts () |
| Get cuts from config file. | |
| bool | Filter (const QEvent *ev) |
| return true if ev passes the cuts | |
Private Attributes | |
| std::string | fCutsFilename |
| bool | fCutOnPeaks |
| int | fnPeaks |
| bool | fCutOnAmplitude |
| double | fAmplitudeMin |
| double | fAmplitudeMax |
| bool | fCutOnBaselineSlope |
| bool | fCutOnRiseTime |
| bool | fCutOnDecayTime |
| QMatrix * | mcuts |
1.5.1