AliPhysics  v5-06-11-01 (156c7f3)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliEMCalPtTaskTrackSelectionAOD.h
Go to the documentation of this file.
1 
8 #ifndef ALIEMCALPTTRACKSELECTIONAOD_H_
9 #define ALIEMCALPTTRACKSELECTIONAOD_H_
10 /* Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
11  * See cxx source for full Copyright notice */
12 
13 #include "AliESDtrackCuts.h"
15 
16 class AliVTrack;
17 
25 namespace EMCalTriggerPtAnalysis {
26 
37 public:
39  AliEMCalPtTaskTrackSelectionAOD(AliESDtrackCuts *cuts, UInt_t filterbits);
43 
44  virtual TObjArray *GetAcceptedTracks(const TClonesArray * const tracks);
45  virtual TObjArray *GetAcceptedTracks(const AliVEvent *const event);
46  virtual bool IsTrackAccepted(AliVTrack * const trk);
47 
53  virtual TObject *GetTrackCuts() { return fTrackCuts; }
54 
61  void AddFilterBit(UInt_t filterbits) { fFilterBits |= filterbits; }
62 
68  void SetTrackCuts(AliESDtrackCuts *trackCuts) { fTrackCuts = trackCuts; }
69 
70 private:
71  AliESDtrackCuts *fTrackCuts;
72  UInt_t fFilterBits;
73 
75  ClassDef(AliEMCalPtTaskTrackSelectionAOD, 1); // Track selection class for AOD analysis
77 };
78 
79 } /* namespace EMCalTriggerPtAnalysis */
80 
81 #endif /* ALIEMCALPTTRACKSELECTIONAOD_H_ */
AliEMCalPtTaskTrackSelectionAOD & operator=(const AliEMCalPtTaskTrackSelectionAOD &ref)
virtual TObjArray * GetAcceptedTracks(const TClonesArray *const tracks)
ClassDef(AliEMCalPtTaskVTrackSelection, 1)
Implement virtual track selection for AOD analysis.