![]() |
AliPhysics
b6f8e44 (b6f8e44)
|
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 bool | 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 (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 | |
![]() | |
enum | ETrackFilterType_t { kNoTrackFilter = 0, kCustomTrackFilter, kHybridTracks, kTPCOnlyTracks } |
Pre-defined track filters. More... | |
![]() | |
TObjArray * | fListOfTracks |
TObjArray with accepted tracks. More... | |
TClonesArray * | fListOfTrackBitmaps |
TClonesArray with accepted tracks' bit maps. More... | |
TBits | fTrackBitmap |
Bitmap of last accepted/rejected track. 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 22 of file AliEmcalTrackSelectionESD.h.
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.
[in] | type | Track filtering type |
[in] | period | Period string (e.g. LHC11h) |
Definition at line 45 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 50 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 51 of file AliEmcalTrackSelectionESD.cxx.
Referenced by 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 70 of file AliEmcalTrackSelectionESD.cxx.
|
virtual |
Saving QA objects to the output list.
[in] | outputList | Common output list, used to store QA objects |
Reimplemented from AliEmcalTrackSelection.
Definition at line 98 of file AliEmcalTrackSelectionESD.cxx.