Fix Coverity
[u/mrichter/AliRoot.git] / PWG4 / CorrelationsDPhi / AliPhiCorrelationsQATask.h
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 class TH3F;
12 class AliESDEvent;
13 class TH1D;
14
15 class AliPhiCorrelationsQATask : public AliAnalysisTaskSE {
16   public:
17     AliPhiCorrelationsQATask(const char* opt = "");
18     virtual ~AliPhiCorrelationsQATask();
19
20     virtual void   UserCreateOutputObjects();
21     virtual void   UserExec(Option_t*);
22     virtual void   Terminate(Option_t*);
23     
24     void SetUseUncheckedCentrality() { fUseUncheckedCentrality = kTRUE; }
25     
26     void SetOption(const char* opt) { fOption = opt; }
27
28  protected:
29     TList* fOutput;                         //! list send on output slot 0
30
31     TString fOption;                        // option string
32     
33     AliESDtrackCuts* fEsdTrackCuts;         // Object containing the parameters of the esd track cuts
34     AliESDtrackCuts* fEsdTrackCuts2;        // Object containing the parameters of the esd track cuts
35     AliESDtrackCuts* fCheckITS;             // Object containing the parameters of the esd track cuts
36     AliESDtrackCuts* fGlobalTracks;         // Object containing the parameters of the esd track cuts
37     
38     TH2F* fCentralityCorrelation;           // correlation of SPD and V0 centrality estimators
39     TH2F* fDCAPrimaries;                    // DCA distribution of primaries
40     TH2F* fDCASecondaries;                  // DCA distribution of secondaries
41     
42     Bool_t fUseUncheckedCentrality;         // for MC!
43
44  private:
45     AliPhiCorrelationsQATask(const AliPhiCorrelationsQATask&);
46     AliPhiCorrelationsQATask& operator=(const AliPhiCorrelationsQATask&);
47
48   ClassDef(AliPhiCorrelationsQATask, 1);
49 };
50
51 #endif