![]() |
Diana Software
|
Select events by validity of a QObject. 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 | fVariableLabel |
Select events by validity of a QObject.
This filter select events with a valid QObject.
filter FilterValidity verbosity = info enable = true Logic = CASE EventLabel = NODEFAULT endmod
Definition at line 36 of file MFilterValidity.hh.
| bool MFilterValidity::Filter | ( | const Diana::QEvent & | ev | ) |
return true if ev passes the cuts
Definition at line 17 of file MFilterValidity.cc.
References QEvent::Get(), and QHandle< T >::IsValid().
| void MFilterValidity::GetCuts | ( | const Diana::QEvent & | ev | ) |
Get cuts from config file.
Definition at line 11 of file MFilterValidity.cc.
References Q_STRING_DEFAULT, and QEvent::RequireByLabel().
|
private |
Definition at line 48 of file MFilterValidity.hh.