Correcly handle centrality bins (Diego)
[u/mrichter/AliRoot.git] / PWGPP / comparison / AliTPCComparisonTask.h
CommitLineData
72f4ebc5 1#ifndef ALITPCCOMPARISONTASK_H
2#define ALITPCCOMPARISONTASK_H
3
4//-------------------------------------------------------------------------
5//
6// This is the PROOF-enabled version of TPC/AliTPCComparison.C macro.
7// Origin: Andrei.Zalite@cern.ch
8//
9//-------------------------------------------------------------------------
31e081ed 10
11class TList;
12class TH1F;
13class TH2F;
14class TClonesArray;
15
16#ifdef __MAKECINT__
17#pragma link C++ class AliMCComparisonTrack+;
18#endif
19
20#include "AliAnalysisTaskSE.h"
21
22class AliTPCComparisonTask: public AliAnalysisTaskSE
23{
24 public:
f2247c19 25 AliTPCComparisonTask();
26 AliTPCComparisonTask(const char* name);
31e081ed 27 virtual ~AliTPCComparisonTask() {}
28
29 virtual void UserCreateOutputObjects();
30 virtual void UserExec(Option_t *option);
31 virtual void Terminate(Option_t *);
32
33 private:
72f4ebc5 34 TList* fListOfHistos; // the list of the output histos
31e081ed 35
72f4ebc5 36 TH1F* fGood; // good tracks
37 TH1F* fFound; // found tracks
38 TH1F* fFake; // fake tracks
39 TH1F* fP; // phi resolution
40 TH1F* fL; // lambda resolution
41 TH1F* fPt; // pt resolution
42 TH1F* fHmpt; // high-pt resolution
43 TH1F* fE; // dE/dx for MIP
44 TH2F* fEp; // dE/dx vs momentum
45 TH1F* fGoodPhi; // phi for good tracks
46 TH1F* fFoundPhi; // phi for found tracks
31e081ed 47
48 AliTPCComparisonTask(const AliTPCComparisonTask&); // not implemented
49 AliTPCComparisonTask& operator=(const AliTPCComparisonTask&); // not implemented
50
51 ClassDef(AliTPCComparisonTask, 1); // example of analysis
52};
53
54#endif