AliPhysics  fde8a9f (fde8a9f)
 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 ()
 
 AliEmcalTrackSelectionESD (AliVCuts *cuts)
 
 AliEmcalTrackSelectionESD (ETrackFilterType_t type, const char *period="")
 
virtual ~AliEmcalTrackSelectionESD ()
 
virtual void GenerateTrackCuts (ETrackFilterType_t type, const char *period="")
 
virtual bool IsTrackAccepted (AliVTrack *const trk)
 
- Public Member Functions inherited from AliEmcalTrackSelection
 AliEmcalTrackSelection ()
 
 AliEmcalTrackSelection (const AliEmcalTrackSelection &ref)
 
AliEmcalTrackSelectionoperator= (const AliEmcalTrackSelection &ref)
 
virtual ~AliEmcalTrackSelection ()
 
TObjArrayGetAcceptedTracks (const TClonesArray *const tracks)
 
TObjArrayGetAcceptedTracks (const AliVEvent *const event)
 
void AddTrackCuts (AliVCuts *cuts)
 
void AddTrackCuts (TObjArray *cuts)
 
Int_t GetNumberOfCutObjects () const
 
AliVCuts * GetTrackCuts (Int_t icut)
 
const TBits & GetTrackBitmap () const
 
const TClonesArray * GetAcceptedTrackBitmaps () const
 
void SetSelectionModeAny ()
 
void SetSelectionModeAll ()
 

Additional Inherited Members

- Public Types inherited from AliEmcalTrackSelection
enum  ETrackFilterType_t { kNoTrackFilter = 0, kCustomTrackFilter, kHybridTracks, kTPCOnlyTracks }
 
- 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 21 of file AliEmcalTrackSelectionESD.h.

Constructor & Destructor Documentation

AliEmcalTrackSelectionESD::AliEmcalTrackSelectionESD ( )

Default constructor

Definition at line 36 of file AliEmcalTrackSelectionESD.cxx.

AliEmcalTrackSelectionESD::AliEmcalTrackSelectionESD ( AliVCuts *  cuts)

Constructor with cuts

Definition at line 44 of file AliEmcalTrackSelectionESD.cxx.

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

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

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

Definition at line 56 of file AliEmcalTrackSelectionESD.cxx.

virtual AliEmcalTrackSelectionESD::~AliEmcalTrackSelectionESD ( )
inlinevirtual

Definition at line 26 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
typeTrack filtering type
periodPeriod string (e.g. LHC11h)

Implements AliEmcalTrackSelection.

Definition at line 68 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
trkTrack to check
Returns
: true if selected, false otherwise

Implements AliEmcalTrackSelection.

Definition at line 93 of file AliEmcalTrackSelectionESD.cxx.


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