AliPhysics  vAN-20150507 (0645659)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
EMCalTriggerPtAnalysis::AliEMCalPtTaskVTrackSelection Class Referenceabstract

Interface for virtual track selection. More...

#include <AliEMCalPtTaskVTrackSelection.h>

Inheritance diagram for EMCalTriggerPtAnalysis::AliEMCalPtTaskVTrackSelection:

Public Member Functions

 AliEMCalPtTaskVTrackSelection ()
 
 AliEMCalPtTaskVTrackSelection (const AliEMCalPtTaskVTrackSelection &ref)
 
AliEMCalPtTaskVTrackSelectionoperator= (const AliEMCalPtTaskVTrackSelection &ref)
 
virtual ~AliEMCalPtTaskVTrackSelection ()
 
virtual TObjArray * GetAcceptedTracks (const TClonesArray *const tracks)=0
 
virtual TObjArray * GetAcceptedTracks (const AliVEvent *const event)=0
 
virtual bool IsTrackAccepted (AliVTrack *const trk)=0
 
void AddTrackCuts (AliVCuts *cuts)
 
Int_t GetNumberOfCutObjects () const
 
AliVCuts * GetTrackCuts (Int_t icut)
 

Protected Attributes

TObjArray * fListOfTracks
 TObjArray with accepted tracks. More...
 
TObjArray * fListOfCuts
 List of track cut objects. More...
 

Detailed Description

Interface for virtual track selection.

Interface for track selection for the analysis of charged hadrons in EMCal-triggered events. The following abstract functions need to be implemented by inheriting classes:

  • GetAcceptedTracks (with TClonesArray and AliVEvent as parameters)
  • IsTrackAccepted (with AliVTrackCuts)

Definition at line 44 of file AliEMCalPtTaskVTrackSelection.h.

Constructor & Destructor Documentation

EMCalTriggerPtAnalysis::AliEMCalPtTaskVTrackSelection::AliEMCalPtTaskVTrackSelection ( )

Default consturctor, initialising objects with NULL aa

Definition at line 28 of file AliEMCalPtTaskVTrackSelection.cxx.

EMCalTriggerPtAnalysis::AliEMCalPtTaskVTrackSelection::AliEMCalPtTaskVTrackSelection ( const AliEMCalPtTaskVTrackSelection ref)

Copy constructor, performing a flat copy

Parameters
ref

Definition at line 39 of file AliEMCalPtTaskVTrackSelection.cxx.

EMCalTriggerPtAnalysis::AliEMCalPtTaskVTrackSelection::~AliEMCalPtTaskVTrackSelection ( )
virtual

Destructor, deletes track and track cut arrays In case the object has ownership over the track cuts itself, it also deletes those

Definition at line 77 of file AliEMCalPtTaskVTrackSelection.cxx.

Referenced by operator=().

Member Function Documentation

void EMCalTriggerPtAnalysis::AliEMCalPtTaskVTrackSelection::AddTrackCuts ( AliVCuts *  cuts)

Add new track cuts to the list of cuts. Takes ownership over the cuts

Parameters
cutsNew cuts to add

Definition at line 86 of file AliEMCalPtTaskVTrackSelection.cxx.

Referenced by EMCalTriggerPtAnalysis::AliEMCalPtTaskTrackSelectionAOD::AliEMCalPtTaskTrackSelectionAOD(), and EMCalTriggerPtAnalysis::AliEMCalPtTaskTrackSelectionESD::AliEMCalPtTaskTrackSelectionESD().

virtual TObjArray* EMCalTriggerPtAnalysis::AliEMCalPtTaskVTrackSelection::GetAcceptedTracks ( const TClonesArray *const  tracks)
pure virtual
virtual TObjArray* EMCalTriggerPtAnalysis::AliEMCalPtTaskVTrackSelection::GetAcceptedTracks ( const AliVEvent *const  event)
pure virtual
Int_t EMCalTriggerPtAnalysis::AliEMCalPtTaskVTrackSelection::GetNumberOfCutObjects ( ) const

Get the number of cut objects assigned.

Returns
The number of cut objects

Definition at line 98 of file AliEMCalPtTaskVTrackSelection.cxx.

AliVCuts * EMCalTriggerPtAnalysis::AliEMCalPtTaskVTrackSelection::GetTrackCuts ( Int_t  icut)

Access to track cuts at a given position

Parameters
icutCut at position in array
Returns
The cuts (NULL for invalid positions)

Definition at line 108 of file AliEMCalPtTaskVTrackSelection.cxx.

AliEMCalPtTaskVTrackSelection & EMCalTriggerPtAnalysis::AliEMCalPtTaskVTrackSelection::operator= ( const AliEMCalPtTaskVTrackSelection ref)

Assingment operator, makes a flat copy

Parameters
refReference for the copy
Returns
Result of the copy

Definition at line 58 of file AliEMCalPtTaskVTrackSelection.cxx.

Member Data Documentation

TObjArray* EMCalTriggerPtAnalysis::AliEMCalPtTaskVTrackSelection::fListOfTracks
protected

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