added error messages when task does not post data in UserCreateOutputObjects for...
[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
976f2793 13#include "AliMixedEvent.h"\r
1d24927a 14\r
15class AliAnalysisTaskPhiCorr : public AliAnalysisTaskME {\r
16 public:\r
17 AliAnalysisTaskPhiCorr(const char *name = "AliAnalysisTaskPt");\r
18 virtual ~AliAnalysisTaskPhiCorr() {}\r
19 \r
20 virtual void UserCreateOutputObjects();\r
21 virtual void UserExec(Option_t *option);\r
22 virtual void Terminate(Option_t *);\r
23 \r
24 private:\r
25 TList *fHists; // List with histos\r
26 TH1F *fHistDphiCO; // Pt spectrum\r
27 TH1F *fHistDphiUC; // Pt spectrum\r
976f2793 28 AliMixedEvent fMixedEvent;\r
29 \r
1d24927a 30 AliAnalysisTaskPhiCorr(const AliAnalysisTaskPhiCorr&); // not implemented\r
31 AliAnalysisTaskPhiCorr& operator=(const AliAnalysisTaskPhiCorr&); // not implemented\r
32 \r
33 ClassDef(AliAnalysisTaskPhiCorr, 1); // example of analysis\r
34};\r
35\r
36#endif\r