]>
Commit | Line | Data |
---|---|---|
45b90328 | 1 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
2 | * See cxx source for full Copyright notice */ | |
3 | ||
4 | /* $Id: AliAnalysisTaskLukeV0.h 45956 2010-12-10 12:55:37Z agheata $ */ | |
5 | /* AliAnalysisTaskLukeV0.h | |
6 | * | |
7 | * Header file for task AliAnalysisTaskLukeV0.cxx | |
8 | * The task is designed to extract Lambda, Antilambda & K0s spectra from PbPb collision data/MC | |
9 | * | |
10 | * Based on tutorial example from offline pages | |
11 | * Edited by Arvinder Palaha | |
12 | * Further adapted by Luke Hanratty | |
13 | */ | |
14 | ||
15 | #ifndef ALIANALYSISTASKLukeV0_H | |
16 | #define ALIANALYSISTASKLukeV0_H | |
17 | ||
18 | class TH1F; | |
19 | class TH2F; | |
20 | class TList; | |
21 | class AliESDtrackCuts; | |
22 | class AliPIDResponse; | |
23 | ||
24 | #ifndef ALIANALYSISTASKSE_H | |
25 | #include "AliAnalysisTaskSE.h" | |
26 | #endif | |
27 | ||
28 | class AliAnalysisTaskLukeV0 : public AliAnalysisTaskSE { | |
29 | public: | |
30 | AliAnalysisTaskLukeV0(); | |
31 | AliAnalysisTaskLukeV0(const char *name); | |
32 | virtual ~AliAnalysisTaskLukeV0(); | |
33 | ||
34 | virtual void UserCreateOutputObjects(); | |
35 | virtual void UserExec(Option_t *option); | |
36 | virtual void Terminate(Option_t *); | |
37 | ||
38 | private: | |
39 | TList *fOutputList; // Output list | |
40 | AliESDtrackCuts *fTrackCuts; // Track cuts | |
41 | AliPIDResponse *fPIDResponse; // PID | |
889bc324 | 42 | TH1F *fHistCosPA; // Cosine of pointing angle |
45b90328 | 43 | TH1F *fHistDCAV0Daughters; // DCA between the v0 daughters |
44 | TH1F *fHistDecayL; // 3d decay length of V0 | |
45b90328 | 45 | TH1F *fHistImpactxyN; // Impact paramater of negative daughter in xy plane |
46 | TH1F *fHistImpactzN; // Impact paramater of negative daughter in z direction | |
47 | TH1F *fHistImpactxyP; // Impact paramater of positive daughter in xy plane | |
48 | TH1F *fHistImpactzP; // Impact paramater of positive daughter in z direction | |
889bc324 | 49 | TH1F *fHistMCLambdacTau; // cTau distribution of MC lambdas |
50 | TH1F *fHistMCLambdaNotcTau; // cTau distribution of MC lambda background | |
51 | TH1F *fHistMCLambdaDecayL; // Decay Length distribution of MC lambdas | |
52 | TH1F *fHistMCLambdaNotDecayL; // Decay Length distribution of MC lambda background | |
45b90328 | 53 | TH1F *fHistMcNLambdaPrimary; // Number of primary lambdas in MC event |
54 | TH1F *fHistMcNLambda; // Number of lambdas in MC event | |
55 | TH1F *fHistMcNAntilambda; // Number of antilambdas in MC event | |
56 | TH1F *fHistMcNKshort; // Number of K0s in MC event | |
45b90328 | 57 | TH1F *fHistMK0; // Reconstructed K0 mass for all V0s |
45b90328 | 58 | TH1F *fHistMLa; // Reconstructed Lambda mass for all V0s |
45b90328 | 59 | TH1F *fHistMLb; // Reconstructed Antilambda mass for all V0s |
45b90328 | 60 | TH1F *fHistNLambda; // Number of lambda candidates in peak region per event |
61 | TH1F *fHistNV0; // Number of V0s per event | |
45b90328 | 62 | TH1F *fHistPtV0; // Transverse momentum distribution of V0s |
63 | TH1F *fHistPVZ; // Distribution of Z coordinate of primary vertex | |
64 | TH1F *fHistTauLa; // Distribution of 'lambda' lifetime*c | |
45b90328 | 65 | TH1F *fHistV0Z; // Z coordinate of V0 decay |
66 | TH1F *fHistZ; // Distance in Z between primary vertex and v0 decay | |
45b90328 | 67 | TH2F *fHistBetheBlochTPCNeg; // TPC response for negative daughters vs momentum |
68 | TH2F *fHistBetheBlochTPCPos; // TPC response for positive daughters vs momentum | |
45b90328 | 69 | TH2F *fHistImpactxyImpactz; // Impact paramater in xy vs z |
45b90328 | 70 | TH2F *fHistMcPMK0Pt; // Transverse momentum distribution vs reconstructed K0 mass of primary K0s in MC |
71 | TH2F *fHistMcPMLaPt; // Transverse momentum distribution vs reconstructed Lambda mass of primary Lambda in MC | |
72 | TH2F *fHistMcPMLbPt; // Transverse momentum distribution vs reconstructed Antilambd mass of primary Antilambda in MC | |
45b90328 | 73 | TH2F *fHistMcV0MK0Pt; // Reconstructed K0 mass vs transverse momentum of V0s passing cuts in MC |
74 | TH2F *fHistMcV0MLaPt; // Reconstructed Lambda mass vs transverse momentum of V0s passing cuts in MC | |
75 | TH2F *fHistMcV0MLbPt; // Reconstructed Antilambda mass vs transverse momentum of V0s passing cuts in MC | |
45b90328 | 76 | TH2F *fHistMK0Pt; // Mass of 'K0' vs transverse momentum |
45b90328 | 77 | TH2F *fHistMLaPt; // Mass of 'Lambda' vs transverse momentum |
45b90328 | 78 | TH2F *fHistMLbPt; // Mass of 'Antilambda' vs transverse momentum |
45b90328 | 79 | TH2F *fHistPtArm; // Podolanski-Armenteros plot of V0s |
45b90328 | 80 | TH2F *fHistPtV0Z; // Transverse momentum vs Z coordinate of v0 decay |
81 | TH2F *fHistRZ; // Radius vs z of V0 decay | |
45b90328 | 82 | TH2F *fHistXZ; // X vs z of V0 decay |
83 | TH2F *fHistYZ; // Y vs Z of V0 decay | |
84 | ||
85 | // NEW HISTO to be declared here | |
86 | ||
87 | AliAnalysisTaskLukeV0(const AliAnalysisTaskLukeV0&); // not implemented | |
88 | AliAnalysisTaskLukeV0& operator=(const AliAnalysisTaskLukeV0&); // not implemented | |
89 | ||
90 | ClassDef(AliAnalysisTaskLukeV0, 1); // example of analysis | |
91 | }; | |
92 | ||
93 | #endif | |
94 |