AliPhysics  a0db429 (a0db429)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
AliEMCalPtTaskVTrackSelection.h
Go to the documentation of this file.
1 
11 #ifndef ALIEMCALPTTASKVTRACKSELECTION_H_
12 #define ALIEMCALPTTASKVTRACKSELECTION_H_
13 /* Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
14  * See cxx source for full Copyright notice */
15 
16 
17 #include <TObject.h>
18 
19 class TClonesArray;
20 class TObjArray;
21 class AliVCuts;
22 class AliVEvent;
23 class AliVTrack;
24 
32 namespace EMCalTriggerPtAnalysis {
33 
44 class AliEMCalPtTaskVTrackSelection : public TObject {
45 public:
50 
51  virtual TObjArray *GetAcceptedTracks(const TClonesArray * const tracks) = 0;
52  virtual TObjArray *GetAcceptedTracks(const AliVEvent *const event) = 0;
53  virtual bool IsTrackAccepted(AliVTrack * const trk) = 0;
54 
55  void AddTrackCuts(AliVCuts *cuts);
56  Int_t GetNumberOfCutObjects() const;
57  AliVCuts *GetTrackCuts(Int_t icut);
58 
59 protected:
60  TObjArray *fListOfTracks;
61  TObjArray *fListOfCuts;
62 
64  ClassDef(AliEMCalPtTaskVTrackSelection, 1); // Track selection for the EMCal pt analysis
66 };
67 
68 } /* namespace EMCalTriggerPtAnalysis */
69 
70 #endif /* ALIEMCALPTTASKVTRACKSELECTION_H_ */
AliEMCalPtTaskVTrackSelection & operator=(const AliEMCalPtTaskVTrackSelection &ref)
virtual TObjArray * GetAcceptedTracks(const TClonesArray *const tracks)=0
virtual bool IsTrackAccepted(AliVTrack *const trk)=0
TObjArray * fListOfTracks
TObjArray with accepted tracks.