![]() |
AliPhysics
2f4fa0a (2f4fa0a)
|
Implementation of virtual track selection for ESDs. More...
#include <AliEmcalTrackSelectionESD.h>
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) |
![]() | |
AliEmcalTrackSelection () | |
Default consturctor. More... | |
AliEmcalTrackSelection (const AliEmcalTrackSelection &ref) | |
Copy constructor. More... | |
AliEmcalTrackSelection & | operator= (const AliEmcalTrackSelection &ref) |
Assingment operator. More... | |
virtual | ~AliEmcalTrackSelection () |
Destructor. More... | |
TObjArray * | GetAcceptedTracks (const TClonesArray *const tracks) |
Select tracks from a TClonesArray of input tracks. More... | |
TObjArray * | GetAcceptedTracks (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::AliEmcalCutBase * | GetTrackCuts (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 | |
![]() | |
enum | ETrackFilterType_t { kNoTrackFilter = 0, kCustomTrackFilter, kHybridTracks, kTPCOnlyTracks, kITSPureTracks, kHybridTracks2010wNoRefit, kHybridTracks2010woNoRefit, kHybridTracks2011wNoRefit, kHybridTracks2011woNoRefit, kHybridTracks2018TRD } |
Pre-defined track filters. More... | |
![]() | |
TObjArray * | fListOfTracks |
TObjArray with accepted tracks. More... | |
TObjArray * | fListOfCuts |
List of track cut objects. More... | |
Bool_t | fSelectionModeAny |
Accept track if any of the cuts is fulfilled. More... | |
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 47 of file AliEmcalTrackSelectionESD.h.
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.
[in] | type | Track filtering type |
[in] | period | Period string (e.g. LHC11h) |
Definition at line 63 of file AliEmcalTrackSelectionESD.cxx.
|
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.
|
virtual |
Automatically generates track cuts depending on the requested type of filtering.
[in] | type | Track filtering type |
[in] | period | Period string (e.g. LHC11h) |
Implements AliEmcalTrackSelection.
Definition at line 69 of file AliEmcalTrackSelectionESD.cxx.
Referenced by AliEmcalTrackSelectionESD(), and ~AliEmcalTrackSelectionESD().
|
virtual |
Check whether track is accepted.
Iterates over all cuts assigned to the track selection.
[in] | trk | Track to check |
Implements AliEmcalTrackSelection.
Definition at line 130 of file AliEmcalTrackSelectionESD.cxx.
Referenced by ~AliEmcalTrackSelectionESD().
|
virtual |
Saving QA objects to the output list.
[in] | outputList | Common output list, used to store QA objects |
Reimplemented from AliEmcalTrackSelection.
Definition at line 171 of file AliEmcalTrackSelectionESD.cxx.
Referenced by ~AliEmcalTrackSelectionESD().