AliPhysics  29d4213 (29d4213)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliEmcalTrackSelectionESD Class Reference

Implementation of virtual track selection for ESDs. More...

#include <AliEmcalTrackSelectionESD.h>

Inheritance diagram for AliEmcalTrackSelectionESD:

Public Member Functions

 AliEmcalTrackSelectionESD ()
 
 AliEmcalTrackSelectionESD (AliVCuts *cuts)
 
virtual ~AliEmcalTrackSelectionESD ()
 
virtual TObjArray * GetAcceptedTracks (const TClonesArray *const tracks)
 
virtual TObjArray * GetAcceptedTracks (const AliVEvent *const event)
 
virtual bool IsTrackAccepted (AliVTrack *const trk)
 
- Public Member Functions inherited from AliEmcalTrackSelection
 AliEmcalTrackSelection ()
 
 AliEmcalTrackSelection (const AliEmcalTrackSelection &ref)
 
AliEmcalTrackSelectionoperator= (const AliEmcalTrackSelection &ref)
 
virtual ~AliEmcalTrackSelection ()
 
void AddTrackCuts (AliVCuts *cuts)
 
Int_t GetNumberOfCutObjects () const
 
AliVCuts * GetTrackCuts (Int_t icut)
 
void SetSelectionModeAny ()
 
void SetSelectionModeAll ()
 

Additional Inherited Members

- Protected Attributes inherited from AliEmcalTrackSelection
TObjArray * fListOfTracks
 TObjArray with accepted tracks. More...
 
TObjArray * fListOfCuts
 List of track cut objects. More...
 
Bool_t fSelectionModeAny
 Accept track if any of the cuts is fulfilled. More...
 

Detailed Description

Implementation of virtual track selection for ESDs.

Implementation of the track selection for the analysis on ESDs using AliESDtrackCuts as underlying structure

Definition at line 28 of file AliEmcalTrackSelectionESD.h.

Constructor & Destructor Documentation

AliEmcalTrackSelectionESD::AliEmcalTrackSelectionESD ( )

Default constructor

Definition at line 35 of file AliEmcalTrackSelectionESD.cxx.

AliEmcalTrackSelectionESD::AliEmcalTrackSelectionESD ( AliVCuts *  cuts)

Constructor with cuts

Definition at line 43 of file AliEmcalTrackSelectionESD.cxx.

virtual AliEmcalTrackSelectionESD::~AliEmcalTrackSelectionESD ( )
inlinevirtual

Definition at line 32 of file AliEmcalTrackSelectionESD.h.

Member Function Documentation

TObjArray * AliEmcalTrackSelectionESD::GetAcceptedTracks ( const TClonesArray *const  tracks)
virtual

Select tracks from a TClonesArray of input tracks

Parameters
tracksTClonesArray of tracks (must not be null)
Returns
: TObjArray of selected tracks

Implements AliEmcalTrackSelection.

Definition at line 56 of file AliEmcalTrackSelectionESD.cxx.

TObjArray * AliEmcalTrackSelectionESD::GetAcceptedTracks ( const AliVEvent *const  event)
virtual

Select tracks from a virtual event. Delegates selection process to function IsTrackAccepted

Parameters
eventAliESDEvent, via interface of virtual event (must not be null)
Returns
TObjArray of selected tracks

Implements AliEmcalTrackSelection.

Definition at line 71 of file AliEmcalTrackSelectionESD.cxx.

bool AliEmcalTrackSelectionESD::IsTrackAccepted ( AliVTrack *const  trk)
virtual

Check whether track is accepted. Itterates over all cuts assinged to the track selection.

Parameters
trkTrack to check
Returns
: true if selected, false otherwise

Implements AliEmcalTrackSelection.

Definition at line 92 of file AliEmcalTrackSelectionESD.cxx.

Referenced by GetAcceptedTracks().


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