]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/KINK/AliAnalysisKinkESDMC.h
Newlines at EOF
[u/mrichter/AliRoot.git] / PWG2 / KINK / AliAnalysisKinkESDMC.h
1 #ifndef ALIANALYSISKINKESDMC_H
2 #define ALIANALYSISKINKESDMC_H
3
4 /*  See cxx source for full Copyright notice */
5
6 //-----------------------------------------------------------------
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
14 //-----------------------------------------------------------------
15
16 class AliESDVertex;
17 class AliESDEvent;
18 class AliESDtrack;
19 class TTree;
20 class TF1;
21 class TH1F;
22 class TH2F;
23 class TH1D;
24 class TH2D;
25
26 #include "AliAnalysisTaskSE.h"
27
28 class AliAnalysisKinkESDMC : public AliAnalysisTaskSE {
29  public:
30   AliAnalysisKinkESDMC();
31   AliAnalysisKinkESDMC(const char *name);
32   virtual ~AliAnalysisKinkESDMC() {}
33   
34   virtual void   ConnectInputData(Option_t *);
35   virtual void   CreateOutputObjects();
36   virtual void   Exec(Option_t *option);
37   virtual void   Terminate(Option_t *);
38  
39   Float_t  GetSigmaToVertex(AliESDtrack* esdTrack) const;
40   const AliESDVertex *GetEventVertex(const AliESDEvent* esd) const;
41   
42  private:
43    AliESDEvent *fESD;    //!ESD object
44    TH1F        *fHistPtESD; //!Pt spectrum of all ESD inside eta, Pt cuts
45    TH1F        *fHistPt; //!Pt spectrum of all ESD tracks
46    TH1F        *fHistQtAll; //!Qt spectrum of all kinks
47    TH1F        *fHistQt1; //!Qt spectrum of Kaon selected sample
48    TH1F        *fHistQt2; //!Qt spectrum in Qt region of kaons
49    TH1F        *fHistPtKaon; //!Pt Kaon spectrum of clean sample
50    TH1F        *fHistPtKPDG; //!Pt Kaon spectrum , confirmed by  PDG,inside kaon Qt region
51    TH1F        *fHistEta; //!Eta spectrum of all kinks
52    TH1F        *fHistEtaK; //!Eta spectrum of kaons selected by kink topology
53    TH1F        *fptKMC; //!Pt Kaon spectrum MC, inside eta and pt cuts 
54    TH1F        *fMultiplMC; //!charge multipl MC 
55    TH1F        *fESDMult; //!ESD charged mult
56    TH1F        *fgenpt; //!Pt Kaon-Kink->mu  spectrum , MC, inside eta, Pt, radius cuts
57    TH1F        *frad; //!radius of kinks,  MC , inside the eta nad Pt cuts 
58    TH1F        *fKinkKaon; //!Pt of PDG Kaons inside the selcted ones by the KInk topology 
59    TH1F        *fKinkKaonBg; //!Pt of the BG inside the kink-Kaon identified spectrum
60    TH1F        *fM1kaon; //!inv mass of kink-tracks taken as kaons decaying to  mu + neutrino
61    TH1F        *fgenPtEtR; //!MC Pt spectrum of kaons decaying to muon+neutrino and pi +pi, inside eta,Pt,Rad cuts
62    TH1F        *fPtKink; //!Pt  spectrum   of all kinks  from track bank
63    TH1F        *fptKink; //!Pt  spectrum of all kinks from kink bank
64    TH2F        *fcodeH ; //!PDG code(mother)  vrs PDG dcode(daughter) of kinks with Qt <0.12 (fake)
65    TH2F        *fdcodeH ; //!Kinks, code  vrs dcode of BG,if mother code is 321 and daughter code > 
66    TH2F        *fAngMomK; //! Decay angle vrs Mother Mom for pdg kaons
67    TH2F        *fAngMomPi; //! Decay angle vrs Mother Mom for pdg pions
68    TH1D        *fRpr; //! Radius of VTX at Y , X plane              
69    TH1D        *fZpr; //! Z distrio of main vertex                  
70    TH2F        *fAngMomKC; //! Decay angle vrs Mother Mom for pdg kaons, inside the selected sample
71    TH2F        *fZvXv; //! two dime of Z vrs X of vtx main           
72    TH2F        *fZvYv; //! two dime of Z vrs Y of vtx main           
73    TH2F        *fXvYv; //! two dime of X vrs Y of main tracks vtx main           
74    TH1F        *fPtPrKink; //! pt of Primary PDG kaons inside the selected ones by the kink topology              
75    TF1         *f1;
76    TF1         *f2;
77   TList        *fListOfHistos; //! list of histos
78
79   AliAnalysisKinkESDMC(const AliAnalysisKinkESDMC&); // not implemented
80   AliAnalysisKinkESDMC& operator=(const AliAnalysisKinkESDMC&); // not implemented
81
82   ClassDef(AliAnalysisKinkESDMC, 1); // example of analysis
83 };
84
85 #endif