Adding pt and eta control plots, increasing ClassDef version
[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; }
c6d749e3 24 void EnableSecondaryStudy();
70d782ef 25
26 private:
27 AliESDEvent *fESD; //! ESD object
28 AliESDtrackCuts* fTrackCuts; // track cuts
c6d749e3 29
30 AliESDtrackCuts* fTrackCutsPrimaries; // cuts for tracks from primary particles
31 AliESDtrackCuts* fTrackCutsSecondaries; // cuts for tracks from secondary particles
70d782ef 32
33 TH1F* fVertex; //! event z vertex distribution
90dad856 34 TH1F* fTriggerStats; //! triggers
70d782ef 35
36 TList* fOutput; //! list send on output slot 0
37
38 AliCutTask(const AliCutTask&); // not implemented
39 AliCutTask& operator=(const AliCutTask&); // not implemented
40
41 ClassDef(AliCutTask, 1); // example of analysis
42};
43
44#endif