Merge branch 'master', remote branch 'origin' into TPCdev
[u/mrichter/AliRoot.git] / ANALYSIS / AliAnalysisTaskPhiCorr.h
CommitLineData
7fac8669 1#ifndef ALIANALYSISTASKPHICORR_cxx
2#define ALIANALYSISTASKPHICORR_cxx
3/*
4 Simple use case for mixed event analysis
5 based on ESD or AOD
6 Delta_phi correlation analysis is performed on charged tracks
7 for same and mixed events
8 Author: andreas.morsch@cern.ch
9*/
10
11
12class TH1F;
13class TList;
14class AliESDEvent;
15
16#include "AliAnalysisTaskME.h"
17#include "AliMixedEvent.h"
18
19class AliAnalysisTaskPhiCorr : public AliAnalysisTaskME {
20 public:
21 AliAnalysisTaskPhiCorr(const char *name = "AliAnalysisTaskPt");
22 virtual ~AliAnalysisTaskPhiCorr() {}
23
24 virtual void UserCreateOutputObjects();
25 virtual void UserExec(Option_t *option);
26 virtual void Terminate(Option_t *);
27
28 private:
29 TList *fHists; // List with histos
30 TH1F *fHistDphiCO; // Pt spectrum
31 TH1F *fHistDphiUC; // Pt spectrum
32 AliMixedEvent fMixedEvent; // Mixed event
33
34 AliAnalysisTaskPhiCorr(const AliAnalysisTaskPhiCorr&); // not implemented
35 AliAnalysisTaskPhiCorr& operator=(const AliAnalysisTaskPhiCorr&); // not implemented
36
37 ClassDef(AliAnalysisTaskPhiCorr, 1); // example of analysis
38};
39
40#endif