ATLAS Offline Software
|
#include <IAssocFilter.h>
Public Member Functions | |
IAssocFilter () | |
Default constructor: More... | |
IAssocFilter (const IAssocFilter< OBJ, ASSO > &rhs) | |
Copy constructor: More... | |
virtual | ~IAssocFilter () |
Destructor: More... | |
IAssocFilter & | operator= (const IAssocFilter< OBJ, ASSO > &rhs) |
Assignment operator: More... | |
virtual bool | isAccepted (const OBJ *object, const ASSO *associated) const =0 |
Main filter method. More... | |
virtual void | reset ()=0 |
Reset the range cuts for the internal variables (px,py,...) After calling this method, the filter will accept any association. More... | |
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... | |
(templated) interface class to manage the construction/filtering of associations. It is the equivalent (but for associations) of the IFilter<T> class. The method of interest here (which will be overloaded by derived classes) is the "bool isAccepted(obj,assoc)" method which returns true if the pair of objects can be associated wrt the current set of filter cuts.
Definition at line 32 of file IAssocFilter.h.
IAssocFilter< OBJ, ASSO >::IAssocFilter |
IAssocFilter< OBJ, ASSO >::IAssocFilter | ( | const IAssocFilter< OBJ, ASSO > & | rhs | ) |
|
virtual |
|
pure virtual |
Main filter method.
This method takes the decision whether or not the filter has to accept the association between both objects. It returns true or false accordingly.
Implemented in AssocFilter< OBJ, ASSO >, and AssocFilter< IParticle, IParticle >.
IAssocFilter< OBJ, ASSO > & IAssocFilter< OBJ, ASSO >::operator= | ( | const IAssocFilter< OBJ, ASSO > & | rhs | ) |
Assignment operator:
Definition at line 104 of file IAssocFilter.h.
|
pure virtual |
Reset the range cuts for the internal variables (px,py,...) After calling this method, the filter will accept any association.
Implemented in AssocFilter< OBJ, ASSO >, and AssocFilter< IParticle, IParticle >.
|
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 >.