Correcly handle centrality bins (Diego)
[u/mrichter/AliRoot.git] / PWGPP / comparison / AliAnalysisTaskCheckESD.h
CommitLineData
fe1c7bb9 1#ifndef ALIANALYSISTASKCHECKESD_H
2#define ALIANALYSISTASKCHECKESD_H
8858ee12 3
fe1c7bb9 4//------------------------------
5// Proof-enabled
6// version of CheckESD.C
7//------------------------------
8858ee12 8
9#include "AliAnalysisTaskSE.h"
10
11class AliAnalysisTaskCheckESD : public AliAnalysisTaskSE
12{
13 public:
14 AliAnalysisTaskCheckESD();
15 AliAnalysisTaskCheckESD(const char *name);
16 virtual ~AliAnalysisTaskCheckESD() {}
17
18 virtual void UserCreateOutputObjects();
19 virtual void UserExec(Option_t *option);
20 virtual void Terminate(Option_t *);
21
22 TH1F* CreateHisto(const char* name, const char* title, Int_t nBins, Double_t xMin,
23 Double_t xMax, const char* xLabel = NULL, const char* yLabel = NULL);
fe1c7bb9 24 TH1F* CreateEffHisto(const TH1F* hGen, const TH1F* hRec);
8858ee12 25 Bool_t FitHisto(TH1* histo, Double_t& res, Double_t& resError);
26
27 private:
28
f1ef2f7f 29 TList* fListOfHistos; // list of the histos
30
31 TH1F * fGen; // generated tracks
32 TH1F* fRec; // reconstructed tracks
33 TH1F* fResPtInv; // 1/pt resolution
34 TH1F* fResPhi; // phi resolution
35 TH1F* fResTheta; // theta resolution
36 TH2F* fDEdxRight; // dE/dx in TPC
37 TH2F* fDEdxWrong; //
38 TH1F* fResTOFRight; // TOF resolution
39 TH1F* fResTOFWrong; //
40 TH1F* fEPHOS; // PHOS E
41 TH1F* fEEMCAL; // EMCAL E
42 TH1F* fPtMUON; // MUON pt
43 TH1F* fMassK0; // K0s mass
44 TH1F* fMassLambda; // Lambda mass
45 TH1F* fMassLambdaBar; // anti-Lambda mass
46 TH1F* fMassXi; // Xi mass
47 TH1F* fMassOmega; // Omega mass
48 TH1F* fScalars; // container of scalars
49 TH1F* fArrayHist; // container of arrays
8858ee12 50
51 AliAnalysisTaskCheckESD(const AliAnalysisTaskCheckESD&); // not implemented
52 AliAnalysisTaskCheckESD& operator=(const AliAnalysisTaskCheckESD&); // not implemented
53
54 ClassDef(AliAnalysisTaskCheckESD, 1); // example of analysis
55};
56
57#endif