![]() |
AliPhysics
97a96ce (97a96ce)
|
Implement virtual track selection for AOD analysis. More...
#include <AliEmcalTrackSelectionAOD.h>
Static Public Member Functions | |
static Bool_t | GetHybridFilterBits (Char_t bits[], TString period) |
Private Attributes | |
UInt_t | fFilterBits |
Track filter bits. More... | |
Bool_t | fFilterHybridTracks |
Filter hybrid tracks using AliAODTrack::IsHybridGlobalConstrainedGlobal. More... | |
Bool_t | fFilterTPCTracks |
Filter TPC-only tracks using AliAODTrack::IsHybridGlobalConstrainedGlobal. More... | |
Char_t | fHybridFilterBits [2] |
Filter bits of hybrid tracks. More... | |
Additional Inherited Members | |
![]() | |
enum | ETrackFilterType_t { kNoTrackFilter = 0, kCustomTrackFilter, kHybridTracks, kTPCOnlyTracks } |
![]() | |
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... | |
Implement virtual track selection for AOD analysis.
Implementation of track selection in case the analysis runs on AODs For the moment it uses the AliESDtrackCuts and converts AOD tracks to ESD tracks, which might change in the future when an AOD track selection framework becomes available.
Definition at line 24 of file AliEmcalTrackSelectionAOD.h.
AliEmcalTrackSelectionAOD::AliEmcalTrackSelectionAOD | ( | ) |
Main constructor, initialises fields with 0 (or NULL). For ROOT I/O, not intended to be used by the users.
Definition at line 34 of file AliEmcalTrackSelectionAOD.cxx.
AliEmcalTrackSelectionAOD::AliEmcalTrackSelectionAOD | ( | ETrackFilterType_t | type, |
const char * | period = "" |
||
) |
Constructor, initalising track cuts depending on the requested type of filtering
type | Track filtering type |
period | Period string (e.g. LHC11h) |
Definition at line 69 of file AliEmcalTrackSelectionAOD.cxx.
AliEmcalTrackSelectionAOD::AliEmcalTrackSelectionAOD | ( | AliVCuts * | cuts, |
UInt_t | filterbits | ||
) |
Main Constructor, initalising also track cuts and filter bits. In case the initial cuts is a nullpointer, only filter bits are used for the track selection. This constructor is intended to be used by the users.
cuts | Inital track cut object (of type AliESDtrackCuts, can be a nullpointer) |
filterbits | Filter bits required |
Definition at line 52 of file AliEmcalTrackSelectionAOD.cxx.
|
inlinevirtual |
Definition at line 29 of file AliEmcalTrackSelectionAOD.h.
|
inline |
Add a new filter bit to the track selection. Multiple filter bits can be set at the same time (via the bitwise or operator |).
filterbits |
Definition at line 41 of file AliEmcalTrackSelectionAOD.h.
Referenced by ClassImp().
|
virtual |
Automatically generates track cuts depending on the requested type of filtering
type | Track filtering type |
Implements AliEmcalTrackSelection.
Definition at line 85 of file AliEmcalTrackSelectionAOD.cxx.
Referenced by AliEmcalTrackSelectionAOD().
Returns the hybrid filter bits according to a hard-coded look-up table
bits | c-array of 2 elements where the bits are returned |
period | data taking period |
Definition at line 190 of file AliEmcalTrackSelectionAOD.cxx.
Referenced by GenerateTrackCuts().
|
virtual |
Function checks whether track is accepted under the given track selection cuts. The function can handle AliAODTrack and AliPicoTrack, while for AliPico track an AliAODTrack is expected to be the underlying structure. If it is not possible to access an AOD track from the input track, the object will not be selected. Otherwise first the status bits are checked (if requested), and if further track cuts (of type AliESDtrackCuts) are provided, the track is converted to an ESD track for further checks.
trk | Track to check |
Implements AliEmcalTrackSelection.
Definition at line 122 of file AliEmcalTrackSelectionAOD.cxx.
|
private |
Track filter bits.
Definition at line 46 of file AliEmcalTrackSelectionAOD.h.
Referenced by AddFilterBit(), GenerateTrackCuts(), and IsTrackAccepted().
|
private |
Filter hybrid tracks using AliAODTrack::IsHybridGlobalConstrainedGlobal.
Definition at line 47 of file AliEmcalTrackSelectionAOD.h.
Referenced by GenerateTrackCuts(), and IsTrackAccepted().
|
private |
Filter TPC-only tracks using AliAODTrack::IsHybridGlobalConstrainedGlobal.
Definition at line 48 of file AliEmcalTrackSelectionAOD.h.
Referenced by GenerateTrackCuts(), and IsTrackAccepted().
|
private |
Filter bits of hybrid tracks.
Definition at line 49 of file AliEmcalTrackSelectionAOD.h.
Referenced by AliEmcalTrackSelectionAOD(), GenerateTrackCuts(), and IsTrackAccepted().