![]() |
Diana Software
|
Example filter which selects events with amplitude in given range, header file.
This filter is used in diana_tutorial_averagepulse.cfg to select events with pulse amplitude in a the range 50-1000 mV. The selected events are then averaged by MTutorialAveragePulse. See also the implementation in MTutorialAmplitudeFilter.cc.
filter TutorialAmplitudeFilter verbosity = info enable = true Logic = CASE AmplitudeMinimum = 0 AmplitudeMaximum = 10000 AmplitudeLabel = PulseBasicParameters@MaxBaseline endmod