AliPhysics  9b6b435 (9b6b435)
PWG::EMCAL::AliEmcalCutBase Class Referenceabstract

Interface for a cut class returning selection status and user information. More...

#include <AliEmcalCutBase.h>

Inheritance diagram for PWG::EMCAL::AliEmcalCutBase:

Public Member Functions

 AliEmcalCutBase ()
 
 AliEmcalCutBase (const char *name, const char *title)
 
virtual ~AliEmcalCutBase ()
 
virtual AliEmcalTrackSelResultPtr IsSelected (TObject *o)=0
 

Detailed Description

Interface for a cut class returning selection status and user information.

Author
: Markus Fasel marku.nosp@m.s.fa.nosp@m.sel@c.nosp@m.ern..nosp@m.ch, Oak Ridge National Laboratory
Since
Dec 11, 2017

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

  • Selection Status
  • Pointer to track processed
  • User information (optional)

Definition at line 58 of file AliEmcalCutBase.h.

Constructor & Destructor Documentation

PWG::EMCAL::AliEmcalCutBase::AliEmcalCutBase ( )
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.

virtual PWG::EMCAL::AliEmcalCutBase::~AliEmcalCutBase ( )
inlinevirtual

Definition at line 62 of file AliEmcalCutBase.h.

Member Function Documentation


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