AliPhysics  7f2a7c4 (7f2a7c4)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEmcalTrackSelectionESD Class Reference

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

#include <AliEmcalTrackSelectionESD.h>

Inheritance diagram for AliEmcalTrackSelectionESD:

Public Member Functions

 AliEmcalTrackSelectionESD ()
 Dummy constructor. More...
 
 AliEmcalTrackSelectionESD (AliVCuts *cuts)
 Constructor with cuts. More...
 
 AliEmcalTrackSelectionESD (ETrackFilterType_t type, const char *period="")
 Constructor, initalising track cuts depending on the requested type of filtering. More...
 
virtual ~AliEmcalTrackSelectionESD ()
 Destructor. More...
 
virtual void GenerateTrackCuts (ETrackFilterType_t type, const char *period="")
 Automatically generates track cuts depending on the requested type of filtering. More...
 
virtual bool IsTrackAccepted (AliVTrack *const trk)
 Check whether track is accepted. More...
 
virtual void SaveQAObjects (TList *outputList)
 
- Public Member Functions inherited from AliEmcalTrackSelection
 AliEmcalTrackSelection ()
 Default consturctor. More...
 
 AliEmcalTrackSelection (const AliEmcalTrackSelection &ref)
 Copy constructor. More...
 
AliEmcalTrackSelectionoperator= (const AliEmcalTrackSelection &ref)
 Assingment operator. More...
 
virtual ~AliEmcalTrackSelection ()
 Destructor. More...
 
TObjArrayGetAcceptedTracks (const TClonesArray *const tracks)
 Select tracks from a TClonesArray of input tracks. More...
 
TObjArrayGetAcceptedTracks (const AliVEvent *const event)
 Select tracks from a virtual event. More...
 
void AddTrackCuts (AliVCuts *cuts)
 Add new track cuts to the list of cuts. More...
 
void AddTrackCuts (TObjArray *cuts)
 Add new set of track cuts to the list of cuts. More...
 
Int_t GetNumberOfCutObjects () const
 Get the number of cut objects assigned. More...
 
AliVCuts * GetTrackCuts (Int_t icut)
 Access to track cuts at a given position. More...
 
const TBits & GetTrackBitmap () const
 Get selection bitmap for the last handled track. More...
 
const TClonesArray * GetAcceptedTrackBitmaps () const
 
void SetSelectionModeAny ()
 Set selection mode to any. More...
 
void SetSelectionModeAll ()
 Set selection mode to all. More...
 

Additional Inherited Members

- Public Types inherited from AliEmcalTrackSelection
enum  ETrackFilterType_t { kNoTrackFilter = 0, kCustomTrackFilter, kHybridTracks, kTPCOnlyTracks }
 Pre-defined track filters. More...
 
- Protected Attributes inherited from AliEmcalTrackSelection
TObjArrayfListOfTracks
 TObjArray with accepted tracks. More...
 
TClonesArray * fListOfTrackBitmaps
 TClonesArray with accepted tracks' bit maps. More...
 
TBits fTrackBitmap
 Bitmap of last accepted/rejected track. More...
 
TObjArrayfListOfCuts
 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.

Author
Markus Fasel marku.nosp@m.s.fa.nosp@m.sel@c.nosp@m.ern..nosp@m.ch, Lawrence Berkeley National Laboratory
Date
Jul 24, 2015

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

Definition at line 22 of file AliEmcalTrackSelectionESD.h.

Constructor & Destructor Documentation

AliEmcalTrackSelectionESD::AliEmcalTrackSelectionESD ( )

Dummy constructor.

Definition at line 34 of file AliEmcalTrackSelectionESD.cxx.

AliEmcalTrackSelectionESD::AliEmcalTrackSelectionESD ( AliVCuts *  cuts)

Constructor with cuts.

Definition at line 39 of file AliEmcalTrackSelectionESD.cxx.

AliEmcalTrackSelectionESD::AliEmcalTrackSelectionESD ( ETrackFilterType_t  type,
const char *  period = "" 
)

Constructor, initalising track cuts depending on the requested type of filtering.

Parameters
[in]typeTrack filtering type
[in]periodPeriod string (e.g. LHC11h)

Definition at line 45 of file AliEmcalTrackSelectionESD.cxx.

virtual AliEmcalTrackSelectionESD::~AliEmcalTrackSelectionESD ( )
inlinevirtual

Destructor.

Cleaning up memory. AliESDtrackCuts objects which are stored in the QA output are not handled in the destructor as ownership changed.

Definition at line 50 of file AliEmcalTrackSelectionESD.h.

Member Function Documentation

void AliEmcalTrackSelectionESD::GenerateTrackCuts ( ETrackFilterType_t  type,
const char *  period = "" 
)
virtual

Automatically generates track cuts depending on the requested type of filtering.

Parameters
[in]typeTrack filtering type
[in]periodPeriod string (e.g. LHC11h)

Implements AliEmcalTrackSelection.

Definition at line 51 of file AliEmcalTrackSelectionESD.cxx.

Referenced by AliEmcalTrackSelectionESD().

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

Check whether track is accepted.

Iterates over all cuts assigned to the track selection.

Parameters
[in]trkTrack to check
Returns
true if selected, false otherwise

Implements AliEmcalTrackSelection.

Definition at line 70 of file AliEmcalTrackSelectionESD.cxx.

void AliEmcalTrackSelectionESD::SaveQAObjects ( TList outputList)
virtual

Saving QA objects to the output list.

Parameters
[in]outputListCommon output list, used to store QA objects

Reimplemented from AliEmcalTrackSelection.

Definition at line 98 of file AliEmcalTrackSelectionESD.cxx.


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