![]() |
Diana Software
|
filter non overlapped events More...
Public Member Functions | |
| void | GetCuts (const Diana::QEvent &ev) |
| constructor More... | |
| bool | Filter (const Diana::QEvent &ev) |
| return true if ev passes the cuts More... | |
Private Attributes | |
| std::map< int, unsigned long long > | fChannels |
| int | fRun |
| std::string | fPulseLabel |
filter non overlapped events
Select events checking that there is no overlap with windows with previously triggered events
filter OverlappedWindowFilter verbosity = info enable = true endmod
Definition at line 37 of file MOverlappedWindowFilter.hh.
| bool MOverlappedWindowFilter::Filter | ( | const Diana::QEvent & | ev | ) |
return true if ev passes the cuts
Definition at line 30 of file MOverlappedWindowFilter.cc.
References channel, QRunData::fNumber, QChannelRunData::fSamplingFrequency, QEvent::Get(), QEvent::GetByLabel(), QPulseInfo::GetChannelId(), QRunData::GetChannelRunData(), QPulseInfo::GetMasterSample(), QHeader::GetRun(), QSampleInfo::GetSampleIndex(), QPulse::GetSamples(), QHeader::GetTime(), N, and rHandle.
| void MOverlappedWindowFilter::GetCuts | ( | const Diana::QEvent & | ev | ) |
constructor
destructor
Get cuts from config file
Definition at line 22 of file MOverlappedWindowFilter.cc.
|
private |
Definition at line 53 of file MOverlappedWindowFilter.hh.
|
private |
Definition at line 55 of file MOverlappedWindowFilter.hh.
|
private |
Definition at line 54 of file MOverlappedWindowFilter.hh.