Update for Kink tasks:
[u/mrichter/AliRoot.git] / PWG2 / KINK / AliAnalysisKinkESDMC.h
4/* See cxx source for full Copyright notice */
7// AliAnalysisKinkESDMC class
8// This task is an example of an analysis task
9// for kink topology Study
10// Authors: Martha Spyropoulou-Stassinaki
11// and members of the Greek group at the
12// Physics Department of Athens University
13// mspyrop@phys.uoa.gr
be1a7181 16#include "AliAnalysisTaskSE.h"
85f91829 18class AliESDtrack;
be1a7181 19class AliESDVertex;
7ccf0419 20class AliESDEvent;
10eaad41 21class TH1F;
22class TH2F;
23class TH1D;
be1a7181 24class TF1;
92adf4f6 25class TList;
85f91829 26
10eaad41 27class AliAnalysisKinkESDMC : public AliAnalysisTaskSE {
28 public:
92adf4f6 29 // AliAnalysisKinkESDMC();
30 AliAnalysisKinkESDMC(const char *name = "AliAnalysisKinkESDMC");
10eaad41 31 virtual ~AliAnalysisKinkESDMC() {}
92adf4f6 32
33 virtual void UserCreateOutputObjects();
34 virtual void UserExec(Option_t *option);
10eaad41 35 virtual void Terminate(Option_t *);
92adf4f6 36
10eaad41 37 Float_t GetSigmaToVertex(AliESDtrack* esdTrack) const;
38 const AliESDVertex *GetEventVertex(const AliESDEvent* esd) const;
40 private:
92adf4f6 41 TH1F *fHistPtESD; //Pt spectrum of all ESD inside eta, Pt cuts
42 TH1F *fHistPt; //Pt spectrum of all ESD tracks
43 TH1F *fHistQtAll; //Qt spectrum of all kinks
44 TH1F *fHistQt1; //Qt spectrum of Kaon selected sample
45 TH1F *fHistQt2; //Qt spectrum in Qt region of kaons
46 TH1F *fHistPtKaon; //Pt Kaon spectrum of clean sample
47 TH1F *fHistPtKPDG; //Pt Kaon spectrum , confirmed by PDG,inside kaon Qt region
48 TH1F *fHistEta; //Eta spectrum of all kinks
49 TH1F *fHistEtaK; //Eta spectrum of kaons selected by kink topology
50 TH1F *fptKMC; //Pt Kaon spectrum MC, inside eta and pt cuts
51 TH1F *fMultiplMC; //charge multipl MC
52 TH1F *fESDMult; //ESD charged mult
53 TH1F *fgenpt; //Pt Kaon-Kink->mu spectrum , MC, inside eta, Pt, radius cuts
54 TH1F *frad; //radius of kinks, MC , inside the eta nad Pt cuts
55 TH1F *fKinkKaon; //Pt of PDG Kaons inside the selcted ones by the KInk topology
56 TH1F *fKinkKaonBg; //Pt of the BG inside the kink-Kaon identified spectrum
57 TH1F *fM1kaon; //inv mass of kink-tracks taken as kaons decaying to mu + neutrino
58 TH1F *fgenPtEtR; //MC Pt spectrum of kaons decaying to muon+neutrino and pi +pi, inside eta,Pt,Rad cuts
59 TH1F *fPtKink; //Pt spectrum of all kinks from track bank
60 TH1F *fptKink; //Pt spectrum of all kinks from kink bank
61 TH2F *fcodeH ; //PDG code(mother) vrs PDG dcode(daughter) of kinks with Qt <0.12 (fake)
62 TH2F *fdcodeH ; //inks, code vrs dcode of BG,if mother code is 321 and daughter code >
63 TH2F *fAngMomK; // Decay angle vrs Mother Mom for pdg kaons
64 TH2F *fAngMomPi; // Decay angle vrs Mother Mom for pdg pions
65 TH2F *fAngMomKC; //Decay angle vrs Mother Mom for pdg kaons, inside the selected sample
66 TH1F *fMultESDK; //ESD charged mult
67 TH1F *fMultMCK; //MC K charged mult
68 TH1D *fRpr; // Radius of VTX at Y , X plane
69 TH1D *fZpr; //Z distrio of main vertex
70 TH2F *fZvXv; //two dime of Z vrs X of vtx main
71 TH2F *fZvYv; // two dime of Z vrs Y of vtx main
72 TH2F *fXvYv; // two dime of X vrs Y of main tracks vtx main
73 TH1F *fPtPrKink; // pt of Primary PDG kaons inside the selected ones by the kink topology
04c3c355 74 TF1 *f1; // upper limit curve for the decay K->mu
75 TF1 *f2; // upper limit curve for the decay pi->mu
92adf4f6 76 TList *fListOfHistos; // list of histos
10eaad41 77
78 AliAnalysisKinkESDMC(const AliAnalysisKinkESDMC&); // not implemented
79 AliAnalysisKinkESDMC& operator=(const AliAnalysisKinkESDMC&); // not implemented
81 ClassDef(AliAnalysisKinkESDMC, 1); // example of analysis