AliPhysics  v5-06-11-01 (156c7f3)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliEMCalPtTaskTrackSelectionESD.h
Go to the documentation of this file.
1 #ifndef ALIEMCALPTTASKTRACKSELECTIONESD_H_
2 #define ALIEMCALPTTASKTRACKSELECTIONESD_H_
3 /* Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice */
5 
6 // Author: Markus Fasel
7 
8 #include <AliESDtrackCuts.h>
10 
18 class AliVTrack;
19 
20 namespace EMCalTriggerPtAnalysis {
21 
23 public:
25  AliEMCalPtTaskTrackSelectionESD(AliESDtrackCuts *cuts);
29 
30  virtual TObjArray *GetAcceptedTracks(const TClonesArray * const tracks);
31  virtual TObjArray *GetAcceptedTracks(const AliVEvent *const event);
32  virtual bool IsTrackAccepted(AliVTrack * const trk);
33 
34  void SetTrackCuts(AliESDtrackCuts * cuts) { fTrackCuts = cuts; }
35  virtual TObject *GetTrackCuts() { return fTrackCuts; }
36 
37 private:
38  AliESDtrackCuts *fTrackCuts; // Track cuts
39 
40  ClassDef(AliEMCalPtTaskTrackSelectionESD,1); // Selection of ESD tracks for analysis
41 };
42 
43 } /* namespace EMCalTriggerPtAnalysis */
44 
45 #endif /* ALIEMCALPTTASKTRACKSELECTIONESD_H_ */
AliEMCalPtTaskTrackSelectionESD & operator=(const AliEMCalPtTaskTrackSelectionESD &ref)
virtual TObjArray * GetAcceptedTracks(const TClonesArray *const tracks)
ClassDef(AliEMCalPtTaskTrackSelectionESD, 1)
virtual bool IsTrackAccepted(AliVTrack *const trk)