![]() |
AliPhysics
bba8f44 (bba8f44)
|
Interface for a cut class returning selection status and user information. More...
#include <AliEmcalCutBase.h>
Public Member Functions | |
AliEmcalCutBase () | |
AliEmcalCutBase (const char *name, const char *title) | |
virtual | ~AliEmcalCutBase () |
virtual AliEmcalTrackSelResultPtr | IsSelected (TObject *o)=0 |
Interface for a cut class returning selection status and user information.
This class extends the functionality of AliVCuts in the way that the cut implementation can add user information to the selection results: The method IsSelected of class AliVCuts returns a bool, representing whether an object was selected or not. For some selections, i.e. the hybrid track selection, where certain track types are defined, this is oversimplified. Instead one wants to return a selection status (track selected or not) and a user information which in case of hybrid tracks stores the hybrid track type. This is done using a smart pointer approach implemented in AliEmcalTrackSelResultPtr.
User classes inheriting from AliEmcalCutBase must implement the function IsSelected(const TObject *), this time returning an AliEmcalTrackSelResultPtr with
Definition at line 58 of file AliEmcalCutBase.h.
|
inline |
Definition at line 60 of file AliEmcalCutBase.h.
AliEmcalCutBase::AliEmcalCutBase | ( | const char * | name, |
const char * | title | ||
) |
Definition at line 33 of file AliEmcalCutBase.cxx.
|
inlinevirtual |
Definition at line 62 of file AliEmcalCutBase.h.
|
pure virtual |