New book-keeping class
[u/mrichter/AliRoot.git] / PWG4 / JetTasks / AliPWG4HighPtQATPConly.h
CommitLineData
fdceab34 1/**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
15
16//-----------------------------------------------------------------------
17// This class compares the global reconstruction with the TPConly reconstruction
18// Author : Marta Verweij - UU
19//-----------------------------------------------------------------------
20
21#ifndef ALIPWG4HIGHPTQATPCONLY_H
22#define ALIPWG4HIGHPTQATPCONLY_H
23
24#include "AliAnalysisTask.h"
25
26class TH1F;
27class TH2F;
28class TH3F;
29class TList;
30class AliESDEvent;
b5cc0c6d 31class AliVEvent;
fdceab34 32class AliESDtrackCuts;
33
34class AliPWG4HighPtQATPConly: public AliAnalysisTask {
35
36 public:
37 AliPWG4HighPtQATPConly();
38 AliPWG4HighPtQATPConly(const char *name);
39 ~AliPWG4HighPtQATPConly() {;}
40
41 virtual void ConnectInputData(Option_t *);
42 virtual void CreateOutputObjects();
43 virtual void Exec(Option_t *option);
44 virtual void Terminate(Option_t *);
45
46 void SetCuts(AliESDtrackCuts* trackCuts) {fTrackCuts = trackCuts;}
47 void SetCutsITS(AliESDtrackCuts* trackCutsITS) {fTrackCutsITS = trackCutsITS;}
b5cc0c6d 48 //Select the trigger
49 void SelectTrigger(Int_t trig) { fTrigger = trig; }
fdceab34 50
51 protected:
52
53 private:
54
55 void InitHistPointers();
56 AliPWG4HighPtQATPConly(const AliPWG4HighPtQATPConly&);
57 AliPWG4HighPtQATPConly& operator=(const AliPWG4HighPtQATPConly&);
58
59 AliESDEvent *fESD; //! ESD object
60 AliESDtrackCuts *fTrackCuts; // TrackCuts for global vs TPConly comparison
61 AliESDtrackCuts *fTrackCutsITS; // TrackCuts including ITSrefit
b5cc0c6d 62 Int_t fTrigger; //Trigger flag as defined in AliAnalysisHelperJetTasks.h
fdceab34 63
b5cc0c6d 64 TH1F *fNEventAll; //! Event counter
65 TH1F *fNEventSel; //! Event counter: Selected events for analysis
fdceab34 66 TH1F *fPtAll; //! Pt spectrum all charged particles
67 TH1F *fPtSel; //! Pt spectrum all selected charged particles by fTrackCuts
68 TH2F *fPtAllminPtTPCvsPtAll; //! Momentum resolution (global vs TPConly)
69 TH3F *fPtAllminPtTPCvsPtAllNPointTPC; //! Momentum resolution vs NPointTPC
70 TH3F *fPtAllminPtTPCvsPtAllDCAR; //! Momentum resolution vs DCAR
71 TH3F *fPtAllminPtTPCvsPtAllDCAZ; //! Momentum resolution vs DCAZ
72 TH3F *fPtAllminPtTPCvsPtAllPhi; //! Momentum resolution vs Phi
73 TH3F *fPtAllminPtTPCvsPtAllNPointITS; //! Momentum resolution vs NPointITS
74 TH3F *fPtAllminPtTPCvsPtAllNSigmaToVertex; //! Momentum resolution vs NSigmaToVertes
75 TH3F *fPtAllminPtTPCvsPtAllChi2C; //! Momentum resolution vs Chi2Constrained
76 TH3F *fPtAllminPtTPCvsPtAllRel1PtUncertainty; //! Momentum resolution vs relUncertainty1Pt
77
78 TList *fHistList; //! List of Histograms
79
80 TH1F *fPtAllTPC; //! Pt spectrum all charged particles
81 TH1F *fPtSelTPC; //! Pt spectrum all selected charged particles by fTrackCuts
82 TH1F *fPtSelTPCITS; //! Pt spectrum all selected charged particles by fTrackCutsITS
83 TList *fHistListTPC; //! List of Histograms
84
85 TH1F *fPtSelITS; //! Pt spectrum all selected charged particles by fTrackCutsITS
86 TH2F *fPtITSminPtTPCvsPtITS; //! Momentum resolution (global with ITSrefit vs TPConly)
87 TH3F *fPtITSminPtTPCvsPtITSNPointTPC; //! Momentum resolution vs NPointTPC
88 TH3F *fPtITSminPtTPCvsPtITSDCAR; //! Momentum resolution vs DCAR
89 TH3F *fPtITSminPtTPCvsPtITSDCAZ; //! Momentum resolution vs DCAZ
90 TH3F *fPtITSminPtTPCvsPtITSPhi; //! Momentum resolution vs Phi
91 TH3F *fPtITSminPtTPCvsPtITSNPointITS; //! Momentum resolution vs NPointITS
92 TH3F *fPtITSminPtTPCvsPtITSNSigmaToVertex; //! Momentum resolution vs NSigmaToVertex
93 TH3F *fPtITSminPtTPCvsPtITSChi2C; //! Momentum resolution vs Chi2Constrained
94 TH3F *fPtITSminPtTPCvsPtITSRel1PtUncertainty; //! Momentum resolution vs relUncertainty1Pt
95
96 TList *fHistListITS; //! List of Histograms
97
fdceab34 98 ClassDef(AliPWG4HighPtQATPConly,1)
99
100};
101#endif