![]() |
ATLAS Offline Software
|
IFilter is the main interface to the filters. More...
#include <IFilter.h>
Public Member Functions | |
| IFilter () | |
| Default constructor: | |
| IFilter (const IFilter< T > &rhs) | |
| Copy constructor: | |
| virtual | ~IFilter () |
| Destructor: | |
| IFilter< T > & | operator= (const IFilter< T > &rhs) |
| Assignment operator: | |
| virtual bool | isAccepted (const T *element) const =0 |
| Main filter method. | |
| bool | operator() (const T *element) const |
| virtual void | setFilter (const IFilterCuts *ifilter)=0 |
| Pure virtual function (to be overloaded by each of the children classes) to copy the cut properties of a given filter to another one. | |
IFilter is the main interface to the filters.
It inherits from IFilterCuts to be able to copy a set of cut properties without explicitly knowing the concrete implementation of the derived filter.
|
pure virtual |
Main filter method.
This method takes the decision whether or not the filter has to accept the element. It returns true or false accordingly.
Implemented in ChargeFilter< T >, MomentumFilter< T >, and PdgIdFilter< T >.
|
inline |
Assignment operator:
Definition at line 91 of file IFilter.h.
|
pure virtualinherited |
Pure virtual function (to be overloaded by each of the children classes) to copy the cut properties of a given filter to another one.
It copies the properties of ifilter to the current IFilterCuts object.
| ifilter | the IFilterCuts which holds a set of properties one wants to copy to the current IFilterCuts object. |
Implemented in AssocFilter< OBJ, ASSO >, AssocFilter< IParticle, IParticle >, ChargeFilter< T >, McVtxFilter, MomentumFilter< T >, and PdgIdFilter< T >.