AliPhysics  59e0e03 (59e0e03)
AliAnalysisTaskFlowEPCascade.h
Go to the documentation of this file.
1 //********************************************************************
2 //********************************************************************
3 // Author : Zhongbao Yin
4 //********************************************************************
5 //********************************************************************
6 #ifndef AliAnalysisTaskFlowEPCascade_cxx
7 #define AliAnalysisTaskFlowEPCascade_cxx
8 
9 #include "AliAnalysisTaskSE.h"
10 #include "AliEventplane.h"
11 
12 class AliESDEvent;
13 //class AliFlowEventCuts;
14 class AliFlowTrackCuts;
15 class TH1F;
16 class TH2F;
17 class AliPIDResponse;
18 class TProfile;
19 class TProfile2D;
20 class TFile;
21 
23  public:
24 
26 
29  Double_t xis[3][2],
30  Double_t omegas[3][2] );
32  virtual void UserCreateOutputObjects();
33  virtual void UserExec(Option_t *option);
34  virtual void Terminate(Option_t *);
35 
36  // void SetFlowEventCuts(AliFlowEventCuts* cuts){fFlowEventCuts = cuts;}
37  // void SetFlowTrackCuts(AliFlowTrackCuts* cuts){fFlowTrackCuts = cuts;}
39  void SetVertexCut(Double_t vtxCut = 10.){fVtxCut = vtxCut;}
40 
41  private:
42  // AliFlowEventCuts* fFlowEventCuts ;
43  //AliFlowTrackCuts* fFlowTrackCuts ;
44  AliFlowTrackCuts *fCutsDau; // cuts for daughters
45  AliPIDResponse * fPIDResponse;
46 
47  Double_t fXiBands[3][2]; //
49 
52  // Double_t fEtaCut;
53  //Double_t fMinPt;
54  //Int_t fNTPCcls;
55 
56  TFile * fOADB; //
59 
60  TProfile *fMultV0;
63  Float_t fMeanQ[9][2][2];
64  Float_t fWidthQ[9][2][2];
65 
68  TH1F * fhEPangleVZero;
69  TH1F * fhEPangleV0A;
70  TH1F * fhEPangleV0C;
71  TH1F * fhEPangleTPC;
72 
73  TH1F *fh1Chi2Xi;
77  TH1F *fh1XiRadius;
78 
79  TH1F *fh1MassLambda;
80  TH1F *fh1V0Chi2;
82  TH1F *fh1V0Radius;
87 
89  TH1F *fh1MassXiPlus;
92 
93  TH1F *fh1MassXi;
94  TH1F *fh1MassOmega;
95 
96  TH1F *fh1XiPt;
97  TH1F *fh1XiP;
98  TH1F *fh1XiBachPt;
99  TH1F *fh1XiBachP;
100 
101  TH1F *fh1ChargeXi;
103 
104  TH1F *fh1PhiXi;
105 
107 
112 
117 
119 
123 
127 
128  TH1F * fhXiRapidity;
130 
131  TProfile *fProfXiV2PtV0A[3];
132  TProfile *fProfOmegaV2PtV0A[3];
133  TProfile *fProfXiSinePtV0A[3];
134  TProfile *fProfOmegaSinePtV0A[3];
135 
136  TProfile *fProfXiV2PtV0C[3];
137  TProfile *fProfOmegaV2PtV0C[3];
138  TProfile *fProfXiSinePtV0C[3];
139  TProfile *fProfOmegaSinePtV0C[3];
140 
141  TProfile *fProfXiV2Pt[3];
142  TProfile *fProfOmegaV2Pt[3];
143  TProfile *fProfXiSinePt[3];
144  TProfile *fProfOmegaSinePt[3];
145 
146  TProfile2D *fProf2dXiV2PtV0A[3];
147  TProfile2D *fProf2dOmegaV2PtV0A[3];
148  TProfile2D *fProf2dXiV2PtV0C[3];
149  TProfile2D *fProf2dOmegaV2PtV0C[3];
150  TProfile2D *fProf2dXiV2Pt[3];
151  TProfile2D *fProf2dOmegaV2Pt[3];
152 
153  TProfile * fProfResolution;
154 
163 
164  // void ReadFromESDv0(AliESDEvent *fESD);
165  void ReadFromAODv0(AliAODEvent *fAOD);
166 
167  //Progate to the primary vertex
168  void Propagate(Double_t vv[3], Double_t x[3], Double_t p[3],
169  Double_t bz, Short_t sign);
170 
171  void OpenInfoCalbration(Int_t run );//9 bins: 0-5,5-10,10-20
172 
175 
176  ClassDef(AliAnalysisTaskFlowEPCascade, 1); // example of analysis
177 };
178 #endif
TH2F * fh2MassXiVsMassOmegaMinus
Xi- effective mass vs V0 eff. mass.
double Double_t
Definition: External.C:58
Definition: External.C:236
TH2F * fh2MassLambdaVsMassXiMinus
alpha vs ptArm for casc. candidate
Double_t bz
TH1F * fh1MassOmegaPlus
effective mass under Omega- hyp.
void Propagate(Double_t vv[3], Double_t x[3], Double_t p[3], Double_t bz, Short_t sign)
TH2F * fh2XiRadiusVsMassXiPlus
decay radius under Xi- hyp.
TProfile * fMultV0
centrality bin number
TH1F * fh1DCANegToPrimVertex
V0 positive daughter to prim. vertex.
TH1F * fh1PhiXi
cos of pointing angle btw the V0 mom and the Xi-V0 vtx line
int Int_t
Definition: External.C:63
void SetFlowDauTrackCuts(AliFlowTrackCuts *cuts)
Definition: External.C:204
TProfile2D * fProf2dOmegaV2Pt[3]
three mass bands V0A&V0C
float Float_t
Definition: External.C:68
TProfile2D * fProf2dOmegaV2PtV0A[3]
three mass bands V0A
Float_t fMeanQ[9][2][2]
loaded by OADB
virtual void UserExec(Option_t *option)
Int_t fICent
current run checked to load VZERO calibration
TH2F * fh2MassVsPtXiMinus
dEdx with the cascade daughters
AliAnalysisTaskFlowEPCascade & operator=(const AliAnalysisTaskFlowEPCascade &)
TH1F * fh1MassXiMinus
V0 neg. daughter to prim. vertex.
short Short_t
Definition: External.C:23
Double_t centMax
Float_t fWidthQ[9][2][2]
and recentering
Float_t fV0Cpol
object containing VZERO calibration info
TH1F * fh1V0CosOfPointingAngle
for V0 associated to a cascade
TProfile2D * fProf2dOmegaV2PtV0C[3]
three mass bands V0C
TH1F * fh1DistToVtxXYAfter
After propagation to vertex.
const char Option_t
Definition: External.C:48
TH1F * fh1MassXiPlus
effective mass under Xi- hyp.
TH1F * fh1DCAPosToPrimVertex
DCA of V0 to prim. vtx.
TProfile * fProfOmegaV2PtV0A[3]
three mass bands V0A
TProfile * fProfOmegaV2Pt[3]
three mass bands V0A&V0C
TProfile * fProfOmegaV2PtV0C[3]
three mass bands V0C
void SetVertexCut(Double_t vtxCut=10.)
TH2F * fh2XiRadiusVsMassOmegaPlus
decay radius under Omega- hyp.
TH1F * fh1V0Chi2
mass of lambda as the cascade daughter
Double_t centMin