ATLAS Offline Software
Loading...
Searching...
No Matches
IFilterCuts Class Referenceabstract

IFilterCuts is a class which is used internally
by the filters to copy their cut properties one to another (via the IFilterCuts::setFilter(ifilter) method). More...

#include <IFilterCuts.h>

Inheritance diagram for IFilterCuts:
Collaboration diagram for IFilterCuts:

Public Member Functions

 IFilterCuts ()
 Default constructor:
 IFilterCuts (const IFilterCuts &rhs)
 Copy constructor:
virtual ~IFilterCuts ()
 Destructor:
IFilterCutsoperator= (const IFilterCuts &rhs)
 Assignment operator:
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.

Detailed Description

IFilterCuts is a class which is used internally
by the filters to copy their cut properties one to another (via the IFilterCuts::setFilter(ifilter) method).

Note that this class (contrary to IFilter) is not templated.

Definition at line 20 of file IFilterCuts.h.

Constructor & Destructor Documentation

◆ IFilterCuts() [1/2]

IFilterCuts::IFilterCuts ( )
inline

Default constructor:

Definition at line 69 of file IFilterCuts.h.

69{}

◆ IFilterCuts() [2/2]

IFilterCuts::IFilterCuts ( const IFilterCuts & rhs)
inline

Copy constructor:

Definition at line 71 of file IFilterCuts.h.

72{
73 // nothing to do because no data member (yet?)
74}

◆ ~IFilterCuts()

IFilterCuts::~IFilterCuts ( )
inlinevirtual

Destructor:

Definition at line 76 of file IFilterCuts.h.

76{}

Member Function Documentation

◆ operator=()

IFilterCuts & IFilterCuts::operator= ( const IFilterCuts & rhs)
inline

Assignment operator:

Definition at line 78 of file IFilterCuts.h.

79{
80 if ( this != & rhs ) {
81 //do nothing because no data member to copy (yet?)
82 }
83 return *this;
84}

◆ setFilter()

virtual void IFilterCuts::setFilter ( const IFilterCuts * ifilter)
pure virtual

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.

Parameters
ifilterthe 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 >.


The documentation for this class was generated from the following file: