AliPhysics  d497547 (d497547)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEmcalTrackSelectionAOD.h
Go to the documentation of this file.
1 #ifndef ALIEMCALTRACKSELECTIONAOD_H_
2 #define ALIEMCALTRACKSELECTIONAOD_H_
3 /* Copyright(c) 1998-2015, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice */
5 
7 #include "AliESDtrackCuts.h"
8 
9 class AliVCuts;
10 class AliVTrack;
11 
25 public:
26 
34 
42  AliEmcalTrackSelectionAOD(ETrackFilterType_t type, const char* period = "");
43 
54  AliEmcalTrackSelectionAOD(AliVCuts *cuts, UInt_t filterbits);
55 
60 
65  virtual void GenerateTrackCuts(ETrackFilterType_t type, const char* /*period*/ = "");
66 
80  virtual bool IsTrackAccepted(AliVTrack * const trk);
81 
90  void AddFilterBit(UInt_t filterbits) { fFilterBits |= filterbits; }
91 
98  static Bool_t GetHybridFilterBits(Char_t bits[], TString period);
99 
100 private:
105 
107  ClassDef(AliEmcalTrackSelectionAOD, 2);
109 };
110 
111 #endif /* ALIEMCALTRACKSELECTIONAOD_H_ */
Interface for virtual track selection.
Char_t fHybridFilterBits[2]
Filter bits of hybrid tracks.
char Char_t
Definition: External.C:18
void AddFilterBit(UInt_t filterbits)
Add a new filter bit to the track selection.
unsigned int UInt_t
Definition: External.C:33
Bool_t fFilterHybridTracks
Filter hybrid tracks using AliAODTrack::IsHybridGlobalConstrainedGlobal.
Bool_t fFilterTPCTracks
Filter TPC-only tracks using AliAODTrack::IsHybridGlobalConstrainedGlobal.
Implement virtual track selection for AOD analysis.
virtual bool IsTrackAccepted(AliVTrack *const trk)
Performing track selection.
virtual ~AliEmcalTrackSelectionAOD()
Destructor.
ETrackFilterType_t
Pre-defined track filters.
virtual void GenerateTrackCuts(ETrackFilterType_t type, const char *="")
Automatically generates track cuts depending on the requested type of filtering.
static Bool_t GetHybridFilterBits(Char_t bits[], TString period)
Returns the hybrid filter bits according to a hard-coded look-up table.
AliEmcalTrackSelectionAOD()
Main constructor.
UInt_t fFilterBits
Track filter bits.
bool Bool_t
Definition: External.C:53