fix mem leak and compiler warning
[u/mrichter/AliRoot.git] / ANALYSIS / AliAnalysisTaskPhiCorr.h
CommitLineData
1d24927a 1// gSystem->SetIncludePath("-I$ROOTSYS/include -I$ALICE_ROOT/include");\r
2#ifndef AliAnalysisTaskPt_cxx\r
3#define AliAnalysisTaskPt_cxx\r
4\r
5// example of an analysis task creating a p_t spectrum\r
6// Authors: Panos Cristakoglou, Jan Fiete Grosse-Oetringhaus, Christian Klein-Boesing\r
7\r
8class TH1F;\r
9class TList;\r
10class AliESDEvent;\r
11\r
12#include "AliAnalysisTaskME.h"\r
13\r
14class AliAnalysisTaskPhiCorr : public AliAnalysisTaskME {\r
15 public:\r
16 AliAnalysisTaskPhiCorr(const char *name = "AliAnalysisTaskPt");\r
17 virtual ~AliAnalysisTaskPhiCorr() {}\r
18 \r
19 virtual void UserCreateOutputObjects();\r
20 virtual void UserExec(Option_t *option);\r
21 virtual void Terminate(Option_t *);\r
22 \r
23 private:\r
24 TList *fHists; // List with histos\r
25 TH1F *fHistDphiCO; // Pt spectrum\r
26 TH1F *fHistDphiUC; // Pt spectrum\r
27 \r
28 AliAnalysisTaskPhiCorr(const AliAnalysisTaskPhiCorr&); // not implemented\r
29 AliAnalysisTaskPhiCorr& operator=(const AliAnalysisTaskPhiCorr&); // not implemented\r
30 \r
31 ClassDef(AliAnalysisTaskPhiCorr, 1); // example of analysis\r
32};\r
33\r
34#endif\r