AliPhysics  251aa1e (251aa1e)
 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:
27  AliEmcalTrackSelectionAOD(ETrackFilterType_t type, const char* period = "");
28  AliEmcalTrackSelectionAOD(AliVCuts *cuts, UInt_t filterbits);
30 
31  virtual void GenerateTrackCuts(ETrackFilterType_t type, const char* /*period*/ = "");
32 
33  virtual bool IsTrackAccepted(AliVTrack * const trk);
34 
41  void AddFilterBit(UInt_t filterbits) { fFilterBits |= filterbits; }
42 
43  static Bool_t GetHybridFilterBits(Char_t bits[], TString period);
44 
45 private:
50 
52  ClassDef(AliEmcalTrackSelectionAOD, 2);
54 };
55 
56 #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)
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)
virtual void GenerateTrackCuts(ETrackFilterType_t type, const char *="")
static Bool_t GetHybridFilterBits(Char_t bits[], TString period)
UInt_t fFilterBits
Track filter bits.
bool Bool_t
Definition: External.C:53