enable branches of new esd
[u/mrichter/AliRoot.git] / PWG0 / esdTrackCuts / AliCutTask.h
CommitLineData
70d782ef 1#ifndef AliCutTask_cxx
2#define AliCutTask_cxx
3
4// simple task that runs the esd track cuts to evaluate the basic plots created during the cuts
5
6class TH1F;
7class AliESDtrackCuts;
8class AliESDEvent;
9class TList;
10
11#include "AliAnalysisTask.h"
12
13class AliCutTask : public AliAnalysisTask {
14 public:
15 AliCutTask(const char *name = "AliCutTask");
16 virtual ~AliCutTask() {}
17
18 virtual void ConnectInputData(Option_t *);
19 virtual void CreateOutputObjects();
20 virtual void Exec(Option_t *option);
21 virtual void Terminate(Option_t *);
22
23 void SetTrackCuts(AliESDtrackCuts* cuts) { fTrackCuts = cuts; }
24
25 private:
26 AliESDEvent *fESD; //! ESD object
27 AliESDtrackCuts* fTrackCuts; // track cuts
28
29 TH1F* fVertex; //! event z vertex distribution
30
31 TList* fOutput; //! list send on output slot 0
32
33 AliCutTask(const AliCutTask&); // not implemented
34 AliCutTask& operator=(const AliCutTask&); // not implemented
35
36 ClassDef(AliCutTask, 1); // example of analysis
37};
38
39#endif