![]() |
Diana Software
|
Filter in iteration. 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 | |
| unsigned int | fIteration |
| bool | fFilterAfter |
Filter in iteration.
This filter allows to enable or not the previous filters based on the iteration inside the module. If FilterAfter is false, for iterations i < Iteration the filters are applied and for i >= Iterations are not applied. If FilterAfter is true, the filters aplications is the opposite.
filter FilterInIteration enable = true verbosity = info Logic = OR Iteration = 2 FilterAfter = false endmod
Definition at line 41 of file MFilterInIteration.hh.
| bool MFilterInIteration::Filter | ( | const Diana::QEvent & | ev | ) |
return true if ev passes the cuts
Definition at line 18 of file MFilterInIteration.cc.
| void MFilterInIteration::GetCuts | ( | const Diana::QEvent & | ev | ) |
Get cuts from config file.
Definition at line 11 of file MFilterInIteration.cc.
|
private |
Definition at line 54 of file MFilterInIteration.hh.
|
private |
Definition at line 53 of file MFilterInIteration.hh.