ATLAS Offline Software
|
IFilter is the main interface to the filters. More...
#include <IFilter.h>
Public Member Functions | |
IFilter () | |
Default constructor: More... | |
IFilter (const IFilter< T > &rhs) | |
Copy constructor: More... | |
virtual | ~IFilter () |
Destructor: More... | |
IFilter< T > & | operator= (const IFilter< T > &rhs) |
Assignment operator: More... | |
virtual bool | isAccepted (const T *element) const =0 |
Main filter method. More... | |
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. More... | |
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.
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 MomentumFilter< T >, PdgIdFilter< T >, and ChargeFilter< T >.
Assignment operator:
|
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 >, MomentumFilter< T >, McVtxFilter, PdgIdFilter< T >, and ChargeFilter< T >.