AliPhysics  v5-07-15-01 (b3d7633)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliEmcalTrackSelection.h
Go to the documentation of this file.
1 
11 #ifndef ALIEMCALTRACKSELECTION_H_
12 #define ALIEMCALTRACKSELECTION_H_
13 /* Copyright(c) 1998-2015, 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 
35 class AliEmcalTrackSelection : public TObject {
36 public:
40  virtual ~AliEmcalTrackSelection();
41 
42  virtual TObjArray *GetAcceptedTracks(const TClonesArray * const tracks) = 0;
43  virtual TObjArray *GetAcceptedTracks(const AliVEvent *const event) = 0;
44  virtual bool IsTrackAccepted(AliVTrack * const trk) = 0;
45 
46  void AddTrackCuts(AliVCuts *cuts);
47  Int_t GetNumberOfCutObjects() const;
48  AliVCuts *GetTrackCuts(Int_t icut);
49 
52 
53 protected:
54  TObjArray *fListOfTracks;
55  TObjArray *fListOfCuts;
57 
59 
61 };
62 
63 #endif /* ALIEMCALTRACKSELECTION_H_ */
Interface for virtual track selection.
AliEmcalTrackSelection & operator=(const AliEmcalTrackSelection &ref)
TObjArray * fListOfCuts
List of track cut objects.
AliVCuts * GetTrackCuts(Int_t icut)
void AddTrackCuts(AliVCuts *cuts)
TObjArray * fListOfTracks
TObjArray with accepted tracks.
Bool_t fSelectionModeAny
Accept track if any of the cuts is fulfilled.
virtual TObjArray * GetAcceptedTracks(const TClonesArray *const tracks)=0
virtual bool IsTrackAccepted(AliVTrack *const trk)=0