]>
Commit | Line | Data |
---|---|---|
1 | /* $Id: AliPhiCorrelationsQATask.h 44748 2010-10-29 18:27:12Z jgrosseo $ */ | |
2 | ||
3 | #ifndef AliPhiCorrelationsQATask_H | |
4 | #define AliPhiCorrelationsQATask_H | |
5 | ||
6 | #include "AliAnalysisTaskSE.h" | |
7 | ||
8 | class AliESDtrackCuts; | |
9 | class TH1F; | |
10 | class TH2F; | |
11 | #include <THn.h> | |
12 | class TH3F; | |
13 | class AliESDEvent; | |
14 | class TH1D; | |
15 | ||
16 | class AliPhiCorrelationsQATask : public AliAnalysisTaskSE { | |
17 | public: | |
18 | AliPhiCorrelationsQATask(const char* opt = ""); | |
19 | virtual ~AliPhiCorrelationsQATask(); | |
20 | ||
21 | virtual void UserCreateOutputObjects(); | |
22 | virtual void UserExec(Option_t*); | |
23 | virtual void Terminate(Option_t*); | |
24 | ||
25 | void SetUseUncheckedCentrality() { fUseUncheckedCentrality = kTRUE; } | |
26 | void SetTrackCuts(AliESDtrackCuts* cuts, AliESDtrackCuts* cuts2 ) { fEsdTrackCuts = cuts; fEsdTrackCuts2 = cuts2; } | |
27 | void SetTPCOnly(Bool_t flag) { fTPCOnly = flag; } | |
28 | ||
29 | void SetOption(const char* opt) { fOption = opt; } | |
30 | ||
31 | protected: | |
32 | TList* fOutput; //! list send on output slot 0 | |
33 | ||
34 | TString fOption; // option string | |
35 | ||
36 | Bool_t fTPCOnly; // tpc only track cuts | |
37 | ||
38 | AliESDtrackCuts* fEsdTrackCuts; // Object containing the parameters of the esd track cuts | |
39 | AliESDtrackCuts* fEsdTrackCuts2; // Object containing the parameters of the esd track cuts | |
40 | AliESDtrackCuts* fCheckITS; // Object containing the parameters of the esd track cuts | |
41 | AliESDtrackCuts* fGlobalTracks; // Object containing the parameters of the esd track cuts | |
42 | ||
43 | TH2F* fCentralityCorrelation; // correlation of SPD and V0 centrality estimators | |
44 | THnF* fDCAPrimaries; // DCA distribution of primaries | |
45 | THnF* fDCASecondaries; // DCA distribution of secondaries | |
46 | ||
47 | Bool_t fUseUncheckedCentrality; // for MC! | |
48 | ||
49 | private: | |
50 | AliPhiCorrelationsQATask(const AliPhiCorrelationsQATask&); | |
51 | AliPhiCorrelationsQATask& operator=(const AliPhiCorrelationsQATask&); | |
52 | ||
53 | ClassDef(AliPhiCorrelationsQATask, 1); | |
54 | }; | |
55 | ||
56 | #endif |