![]() |
Diana Software
|
Filter upon an already existing QBool in the QEvent. 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 | |
| Diana::QEventLabel | fFilterLabel |
| label of the QBool in QEvent More... | |
Filter upon an already existing QBool in the QEvent.
FilterResult can be used to retrive a QBool from the event, and use it to filter events. Its main usage is to retreive the result of a filter previously defined (e.g. before in the same sequence, or in prior sequences). In this way that filter and all the filters before it (if the filter was in AND with other filters) has not to be repeated. See also MFilterWithNeighboursResult.
filter FilterResult verbosity = info enable = true Logic = CASE BoolLabel = RawDataFilter@Passed endmod
Definition at line 39 of file MFilterResult.hh.
| bool MFilterResult::Filter | ( | const Diana::QEvent & | ev | ) |
return true if ev passes the cuts
Definition at line 18 of file MFilterResult.cc.
References QEvent::GetByLabel().
| void MFilterResult::GetCuts | ( | const Diana::QEvent & | ev | ) |
Get cuts from config file.
Definition at line 9 of file MFilterResult.cc.
|
private |
Definition at line 51 of file MFilterResult.hh.