AliPhysics  v5-07-18-02 (20ec537)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliAnalysisTaskSEImproveITS.h
Go to the documentation of this file.
1 /* Copyright(c) 1998-2011, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
3 /* $Id$ */
4 
5 #ifndef ALI_ANALYSIS_TASK_SE_IMPROVE_ITS_H
6 #define ALI_ANALYSIS_TASK_SE_IMPROVE_ITS_H
7 
8 #include "AliAnalysisTaskSE.h"
9 
11 
12 class TGraph;
13 class TList;
14 class AliAODTrack;
15 class TClonesArray;
16 class TObjArray;
17 class AliESDVertex;
18 class AliVVertex;
19 
20 class AliAnalysisTaskSEImproveITS:public AliAnalysisTaskSE {
21 public:
23  AliAnalysisTaskSEImproveITS(const char *name,
24  const char *resfileCurURI,
25  const char *resfileUpgURI,
26  Bool_t isRunInVertexing,
27  Int_t ndebug);
28 
30 
32  virtual void UserCreateOutputObjects();
33  // virtual void Init();
34  // virtual void LocalInit() {Init();}
35  virtual void UserExec(Option_t *option);
36  // virtual void Terminate(Option_t *option);
37  void SetImproveTracks(Bool_t flag=kTRUE) { fImproveTracks=flag; return; }
38 
39 private:
42 
44  Double_t EvalGraph(Double_t x,const TGraph *graph,const TGraph *graphSA=0) const;
45  void SmearTrack(AliAODTrack *track,const TClonesArray *mcs);
46  AliESDVertex* RecalculateVertex(const AliVVertex *old,TObjArray *tracks,Double_t bField);
47 
48  TGraph *fD0ZResPCur ;
49  TGraph *fD0ZResKCur ;
50  TGraph *fD0ZResPiCur ;
51  TGraph *fD0RPResPCur ;
52  TGraph *fD0RPResKCur ;
53  TGraph *fD0RPResPiCur;
54  TGraph *fPt1ResPCur ;
55  TGraph *fPt1ResKCur ;
56  TGraph *fPt1ResPiCur ;
57  TGraph *fD0ZResPUpg ;
58  TGraph *fD0ZResKUpg ;
59  TGraph *fD0ZResPiUpg ;
60  TGraph *fD0RPResPUpg ;
61  TGraph *fD0RPResKUpg ;
62  TGraph *fD0RPResPiUpg;
63  TGraph *fPt1ResPUpg ;
64  TGraph *fPt1ResKUpg ;
65  TGraph *fPt1ResPiUpg ;
66  TGraph *fD0ZResPCurSA ;
67  TGraph *fD0ZResKCurSA ;
68  TGraph *fD0ZResPiCurSA ;
69  TGraph *fD0RPResPCurSA ;
70  TGraph *fD0RPResKCurSA ;
71  TGraph *fD0RPResPiCurSA;
72  TGraph *fPt1ResPCurSA ;
73  TGraph *fPt1ResKCurSA ;
74  TGraph *fPt1ResPiCurSA ;
75  TGraph *fD0ZResPUpgSA ;
76  TGraph *fD0ZResKUpgSA ;
77  TGraph *fD0ZResPiUpgSA ;
78  TGraph *fD0RPResPUpgSA ;
79  TGraph *fD0RPResKUpgSA ;
80  TGraph *fD0RPResPiUpgSA;
81  TGraph *fPt1ResPUpgSA ;
82  TGraph *fPt1ResKUpgSA ;
83  TGraph *fPt1ResPiUpgSA ;
84 
85  Bool_t fRunInVertexing;
86  Bool_t fImproveTracks;
87 
88  TList *fDebugOutput;
89  TNtuple *fDebugNtuple;
90  Float_t *fDebugVars;
91  Int_t fNDebug;
92 
94  ClassDef(AliAnalysisTaskSEImproveITS,4);
96 };
97 
98 #endif
99 
TGraph * fPt1ResPiCur
old pt dep. 1/pt res. for kaons
TGraph * fD0ZResPUpg
old pt dep. 1/pt res. for pions
TGraph * fD0RPResKCur
old pt dep. d0 res. in rphi for protons
void SetImproveTracks(Bool_t flag=kTRUE)
TGraph * fD0RPResPiUpgSA
new standalone pt dep. d0 res. in rphi for kaons
TGraph * fD0ZResKUpgSA
new standalone pt dep. d0 res. in z for protons
TGraph * fD0RPResPCurSA
old standalone pt dep. d0 res. in z for pions
virtual void UserCreateOutputObjects()
Implementation of interface methods.
TGraph * fD0RPResPiCur
old pt dep. d0 res. in rphi for kaons
TGraph * fPt1ResKUpgSA
new standalone pt dep. 1/pt res. for protons
TGraph * fD0ZResPUpgSA
old standalone pt dep. 1/pt res. for pions
Double_t EvalGraph(Double_t x, const TGraph *graph, const TGraph *graphSA=0) const
Helper functions.
void SmearTrack(AliAODTrack *track, const TClonesArray *mcs)
TGraph * fD0ZResPiCurSA
old standalone pt dep. d0 res. in z for kaons
virtual void UserExec(Option_t *option)
TList * fDebugOutput
this is always kTRUE. kFALSE only if re-running on already improved AODs
TGraph * fPt1ResPiUpg
new pt dep. 1/pt res. for kaons
TGraph * fPt1ResPCurSA
old standalone pt dep. d0 res. in rphi for pions
TGraph * fPt1ResPiCurSA
old standalone pt dep. 1/pt res. for kaons
TGraph * fPt1ResPUpg
new pt dep. d0 res. in rphi for pions
TGraph * fD0RPResKCurSA
old standalone pt dep. d0 res. in rphi for protons
TGraph * fPt1ResKUpg
new pt dep. 1/pt res. for protons
TGraph * fPt1ResKCur
old pt dep. 1/pt res. for protons
TGraph * fD0RPResKUpgSA
new standalone pt dep. d0 res. in rphi for protons
TGraph * fPt1ResPUpgSA
new standalone pt dep. d0 res. in rphi for pions
TGraph * fD0RPResPiCurSA
old standalone pt dep. d0 res. in rphi for kaons
TGraph * fD0ZResKCurSA
old standalone pt dep. d0 res. in z for protons
TGraph * fD0ZResPCurSA
new pt dep. 1/pt res. for pions
Float_t * fDebugVars
! variables to store as degug info
TGraph * fD0RPResPCur
old pt dep. d0 res. in z for pions
Bool_t fRunInVertexing
new standalone pt dep. 1/pt res. for pions
TGraph * fPt1ResPiUpgSA
new standalone pt dep. 1/pt res. for kaons
TGraph * fD0RPResPUpgSA
new standalone pt dep. d0 res. in z for pions
TGraph * fPt1ResKCurSA
old standalone pt dep. 1/pt res. for protons
Bool_t fImproveTracks
flag to run hybrid task before the vertexingHF task or in standard mode
TGraph * fD0ZResKCur
old pt dep. d0 res. in z for protons
AliAnalysisTaskSEImproveITS & operator=(const AliAnalysisTaskSEImproveITS &)
TGraph * fPt1ResPCur
old pt dep. d0 res. in rphi for pions
TGraph * fD0RPResPUpg
new pt dep. d0 res. in z for pions
TGraph * fD0ZResPiUpg
new pt dep. d0 res. in z for kaons
TGraph * fD0ZResPiCur
old pt dep. d0 res. in z for kaons
TGraph * fD0ZResPiUpgSA
new standalone pt dep. d0 res. in z for kaons
TGraph * fD0RPResPiUpg
new pt dep. d0 res. in rphi for kaons
AliESDVertex * RecalculateVertex(const AliVVertex *old, TObjArray *tracks, Double_t bField)
TNtuple * fDebugNtuple
! debug send on output slot 1
TGraph * fD0RPResKUpg
new pt dep. d0 res. in rphi for protons
TGraph * fD0ZResKUpg
new pt dep. d0 res. in z for protons