AliPhysics  vAN-20150924 (e816f45)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliEmcalTrackSelectionAOD.h
Go to the documentation of this file.
1 
8 #ifndef ALIEMCALTRACKSELECTIONAOD_H_
9 #define ALIEMCALTRACKSELECTIONAOD_H_
10 /* Copyright(c) 1998-2015, ALICE Experiment at CERN, All rights reserved. *
11  * See cxx source for full Copyright notice */
12 
13 #include <AliEmcalTrackSelection.h>
14 #include "AliESDtrackCuts.h"
15 
16 class AliVCuts;
17 class AliVTrack;
18 
29 public:
31  AliEmcalTrackSelectionAOD(AliVCuts *cuts, UInt_t filterbits);
33 
34  virtual TObjArray *GetAcceptedTracks(const TClonesArray * const tracks);
35  virtual TObjArray *GetAcceptedTracks(const AliVEvent *const event);
36  virtual bool IsTrackAccepted(AliVTrack * const trk);
37 
44  void AddFilterBit(UInt_t filterbits) { fFilterBits |= filterbits; }
45 
46 
47 private:
48  UInt_t fFilterBits;
49 
51  ClassDef(AliEmcalTrackSelectionAOD, 1);
53 };
54 
55 #endif /* ALIEMCALTRACKSELECTIONAOD_H_ */
Interface for virtual track selection.
virtual TObjArray * GetAcceptedTracks(const TClonesArray *const tracks)
void AddFilterBit(UInt_t filterbits)
Implement virtual track selection for AOD analysis.
virtual bool IsTrackAccepted(AliVTrack *const trk)
UInt_t fFilterBits
Track filter bits.
Declartion of class AliEmcalTrackSelection.