1 #ifndef ALIANALYSISTASKPHICORR_cxx
\r
2 #define ALIANALYSISTASKPHICORR_cxx
\r
4 Simple use case for mixed event analysis
\r
6 Delta_phi correlation analysis is performed on charged tracks
\r
7 for same and mixed events
\r
8 Author: andreas.morsch@cern.ch
\r
16 #include "AliAnalysisTaskME.h"
\r
17 #include "AliMixedEvent.h"
\r
19 class AliAnalysisTaskPhiCorr : public AliAnalysisTaskME {
\r
21 AliAnalysisTaskPhiCorr(const char *name = "AliAnalysisTaskPt");
\r
22 virtual ~AliAnalysisTaskPhiCorr() {}
\r
24 virtual void UserCreateOutputObjects();
\r
25 virtual void UserExec(Option_t *option);
\r
26 virtual void Terminate(Option_t *);
\r
29 TList *fHists; // List with histos
\r
30 TH1F *fHistDphiCO; // Pt spectrum
\r
31 TH1F *fHistDphiUC; // Pt spectrum
\r
32 AliMixedEvent fMixedEvent; // Mixed event
\r
34 AliAnalysisTaskPhiCorr(const AliAnalysisTaskPhiCorr&); // not implemented
\r
35 AliAnalysisTaskPhiCorr& operator=(const AliAnalysisTaskPhiCorr&); // not implemented
\r
37 ClassDef(AliAnalysisTaskPhiCorr, 1); // example of analysis
\r