AliPhysics  5eaf189 (5eaf189)
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 PWG::EMCAL::AliEmcalTrackSelResultPtr 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 (PWG::EMCAL::AliEmcalCutBase *cuts)
 Add track cuts of type AliEmcalCutBase. 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...
 
PWG::EMCAL::AliEmcalCutBaseGetTrackCuts (Int_t icut)
 Access to track cuts at a given position. More...
 
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,
  kITSPureTracks, kHybridTracks2010wNoRefit, kHybridTracks2010woNoRefit, kHybridTracks2011wNoRefit,
  kHybridTracks2011woNoRefit
}
 Pre-defined track filters. More...
 
- Protected Attributes inherited from AliEmcalTrackSelection
TObjArrayfListOfTracks
 TObjArray with accepted tracks. 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 47 of file AliEmcalTrackSelectionESD.h.

Constructor & Destructor Documentation

AliEmcalTrackSelectionESD::AliEmcalTrackSelectionESD ( )

Dummy constructor.

Definition at line 52 of file AliEmcalTrackSelectionESD.cxx.

AliEmcalTrackSelectionESD::AliEmcalTrackSelectionESD ( AliVCuts *  cuts)

Constructor with cuts.

Definition at line 57 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 63 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 75 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 69 of file AliEmcalTrackSelectionESD.cxx.

Referenced by AliEmcalTrackSelectionESD(), and ~AliEmcalTrackSelectionESD().

PWG::EMCAL::AliEmcalTrackSelResultPtr 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 130 of file AliEmcalTrackSelectionESD.cxx.

Referenced by ~AliEmcalTrackSelectionESD().

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 171 of file AliEmcalTrackSelectionESD.cxx.

Referenced by ~AliEmcalTrackSelectionESD().


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