AliPhysics  vAN-20150723 (baea2bf)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
EMCalTriggerPtAnalysis::AliEMCalPtTaskTrackSelectionESD Class Reference

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

#include <AliEMCalPtTaskTrackSelectionESD.h>

Inheritance diagram for EMCalTriggerPtAnalysis::AliEMCalPtTaskTrackSelectionESD:

Public Member Functions

 AliEMCalPtTaskTrackSelectionESD ()
 
 AliEMCalPtTaskTrackSelectionESD (AliESDtrackCuts *cuts)
 
virtual ~AliEMCalPtTaskTrackSelectionESD ()
 
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 EMCalTriggerPtAnalysis::AliEMCalPtTaskVTrackSelection
 AliEMCalPtTaskVTrackSelection ()
 
 AliEMCalPtTaskVTrackSelection (const AliEMCalPtTaskVTrackSelection &ref)
 
AliEMCalPtTaskVTrackSelectionoperator= (const AliEMCalPtTaskVTrackSelection &ref)
 
virtual ~AliEMCalPtTaskVTrackSelection ()
 
void AddTrackCuts (AliVCuts *cuts)
 
Int_t GetNumberOfCutObjects () const
 
AliVCuts * GetTrackCuts (Int_t icut)
 

Additional Inherited Members

- Protected Attributes inherited from EMCalTriggerPtAnalysis::AliEMCalPtTaskVTrackSelection
TObjArray * fListOfTracks
 TObjArray with accepted tracks. More...
 
TObjArray * fListOfCuts
 List of track cut objects. 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 37 of file AliEMCalPtTaskTrackSelectionESD.h.

Constructor & Destructor Documentation

EMCalTriggerPtAnalysis::AliEMCalPtTaskTrackSelectionESD::AliEMCalPtTaskTrackSelectionESD ( )

Default constructor

Definition at line 36 of file AliEMCalPtTaskTrackSelectionESD.cxx.

EMCalTriggerPtAnalysis::AliEMCalPtTaskTrackSelectionESD::AliEMCalPtTaskTrackSelectionESD ( AliESDtrackCuts *  cuts)

Constructor with cuts

Definition at line 44 of file AliEMCalPtTaskTrackSelectionESD.cxx.

virtual EMCalTriggerPtAnalysis::AliEMCalPtTaskTrackSelectionESD::~AliEMCalPtTaskTrackSelectionESD ( )
inlinevirtual

Definition at line 41 of file AliEMCalPtTaskTrackSelectionESD.h.

Member Function Documentation

TObjArray * EMCalTriggerPtAnalysis::AliEMCalPtTaskTrackSelectionESD::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 EMCalTriggerPtAnalysis::AliEMCalPtTaskVTrackSelection.

Definition at line 57 of file AliEMCalPtTaskTrackSelectionESD.cxx.

TObjArray * EMCalTriggerPtAnalysis::AliEMCalPtTaskTrackSelectionESD::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 EMCalTriggerPtAnalysis::AliEMCalPtTaskVTrackSelection.

Definition at line 72 of file AliEMCalPtTaskTrackSelectionESD.cxx.

bool EMCalTriggerPtAnalysis::AliEMCalPtTaskTrackSelectionESD::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 EMCalTriggerPtAnalysis::AliEMCalPtTaskVTrackSelection.

Definition at line 93 of file AliEMCalPtTaskTrackSelectionESD.cxx.

Referenced by GetAcceptedTracks().


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