![]() |
Diana Software
|
Peak Finder module that lets you choose which peak finding algorithm to choose. More...
Public Member Functions | |
| void | Init (Diana::QEvent &ev) |
| Init method. More... | |
| void | Do (Diana::QEvent &ev) |
| Do method. Declare and implement only one of the two versions. More... | |
| void | Done () |
| Done method. More... | |
Private Attributes | |
| std::string | fPulseLabel |
| Diana::QVector | pulse |
| std::map< int, QTrigger * > | channel2trigger |
| std::map< int, QTrigger * >::iterator | it |
| double | fDebounce |
| bool | fSaveFiltered |
| bool | fSaveHeight |
| string | TriggerAlgo |
Peak Finder module that lets you choose which peak finding algorithm to choose.
module AdvancedPeakFinder enable = true verbosity = info endmod
Definition at line 53 of file MAdvancedPeakFinder.hh.
| void MAdvancedPeakFinder::Do | ( | Diana::QEvent & | ev | ) |
Do method. Declare and implement only one of the two versions.
Definition at line 45 of file MAdvancedPeakFinder.cc.
References QChannelRunData::fSamplingFrequency, QEvent::Get(), QEvent::GetByLabel(), QPulseInfo::GetChannelId(), QRunData::GetChannelRunData(), QPulse::GetSamples(), QTriggerFactory(), and rHandle.
| void MAdvancedPeakFinder::Done | ( | ) |
Done method.
Definition at line 115 of file MAdvancedPeakFinder.cc.
| void MAdvancedPeakFinder::Init | ( | Diana::QEvent & | ev | ) |
Init method.
Definition at line 17 of file MAdvancedPeakFinder.cc.
References QEvent::Add(), QEvent::Require(), and QEvent::RequireByLabel().
|
private |
Definition at line 69 of file MAdvancedPeakFinder.hh.
|
private |
Definition at line 71 of file MAdvancedPeakFinder.hh.
|
private |
Definition at line 67 of file MAdvancedPeakFinder.hh.
|
private |
Definition at line 72 of file MAdvancedPeakFinder.hh.
|
private |
Definition at line 73 of file MAdvancedPeakFinder.hh.
|
private |
Definition at line 70 of file MAdvancedPeakFinder.hh.
|
private |
Definition at line 68 of file MAdvancedPeakFinder.hh.
|
private |
Definition at line 75 of file MAdvancedPeakFinder.hh.