![]() |
Diana Software
|
discards events with secondary triggers different to a specified type. More...
Public Member Functions | |
| void | GetCuts (const Diana::QEvent &ev) |
| Get cuts from config file. More... | |
| bool | Filter (const Diana::QEvent &ev) |
| return true if ev passes the cuts More... | |
Private Attributes | |
| std::string | fType |
| bool | fKeepType |
| If True it keeps only trigger of certain type, if false removes all trigger of that type. More... | |
| double | fTimeThreshold |
| Time threshold within which a pulser flag and the corresponding trigger are considered as one. More... | |
discards events with secondary triggers different to a specified type.
filter SampleInfoFilter verbosity = info enable = true Type = Noise PulserTimeThreshld = 0.04 endmod
Definition at line 32 of file MSampleInfoFilter.hh.
| bool MSampleInfoFilter::Filter | ( | const Diana::QEvent & | ev | ) |
return true if ev passes the cuts
Definition at line 24 of file MSampleInfoFilter.cc.
References abs(), fKeepType, QChannelRunData::fSamplingFrequency, fTimeThreshold, fType, QPulseInfo::GetChannelId(), QRunData::GetChannelRunData(), QHeader::GetRun(), and rHandle.
| void MSampleInfoFilter::GetCuts | ( | const Diana::QEvent & | ev | ) |
Get cuts from config file.
Definition at line 13 of file MSampleInfoFilter.cc.
|
private |
If True it keeps only trigger of certain type, if false removes all trigger of that type.
Definition at line 45 of file MSampleInfoFilter.hh.
Referenced by Filter().
|
private |
Time threshold within which a pulser flag and the corresponding trigger are considered as one.
Definition at line 48 of file MSampleInfoFilter.hh.
Referenced by Filter().
|
private |
Definition at line 42 of file MSampleInfoFilter.hh.
Referenced by Filter().