AliPhysics  9b6b435 (9b6b435)
AliAnalysisTaskEventFilter.h
Go to the documentation of this file.
1 /*
2  * AliAnalysisTaskEventFilter.h
3  *
4  * Created on: Jan 29, 2016
5  * Author: markus
6  */
7 
8 #ifndef ALIANALYSISTASKEVENTFILTER_H
9 #define ALIANALYSISTASKEVENTFILTER_H
10 
11 #include <AliAnalysisTaskSE.h>
12 
13 #include <vector>
14 
15 class TArray;
16 class THistManager;
17 class TList;
18 
19 class AliAnalysisUtils;
20 class AliESDtrackCuts;
21 class AliVTrack;
22 class AliVEvent;
23 
24 namespace EMCalTriggerPtAnalysis {
25 
27 public:
29  AliAnalysisTaskEventFilter(const char *name);
31 
32  virtual void UserCreateOutputObjects();
33  virtual void UserExec(Option_t *);
34 
35 protected:
36  Bool_t FakeVertexSelection2013pA(const AliVEvent * const inputevent) const;
37  void CreatePtBinning(TArrayD& binning) const;
38 
39  UChar_t FilterEvent() const;
40  std::vector<const AliVTrack *> FilterTracks() const;
41  void FillEvent(const char *filterstep, double vz);
42  void FillTracks(const char *filterstep, const std::vector<const AliVTrack *> &tracks);
43 
44 private:
45  AliAnalysisUtils *fAnalysisUtils;
46  AliESDtrackCuts *fTrackCuts;
48 
51 
52  ClassDef(AliAnalysisTaskEventFilter, 1);
53 };
54 
55 }
56 
57 #endif /* ALIANALYSISTASKEVENTFILTER_H */
std::vector< const AliVTrack * > FilterTracks() const
void FillTracks(const char *filterstep, const std::vector< const AliVTrack * > &tracks)
Analysis of high- tracks in triggered events.
Container class for histograms.
Definition: THistManager.h:99
Bool_t FakeVertexSelection2013pA(const AliVEvent *const inputevent) const
const char Option_t
Definition: External.C:48
bool Bool_t
Definition: External.C:53
AliAnalysisTaskEventFilter & operator=(const AliAnalysisTaskEventFilter &)