Adding Kink directory and tasks from Evi (pganoti@phys.uoa.gr) and Martha (mspyrop...
[u/mrichter/AliRoot.git] / PWG2 / KINK / AliResonanceKinkPID.h
CommitLineData
10eaad41 1#ifndef ALIRESONANCEKINKPID_H
2#define ALIRESONANCEKINKPID_H
3
4/* See cxx source for full Copyright notice */
5
6//------------------------------------------------------------------------------
7// class AliResonanceKinkPID
8// This task is an example of an analysis task
9// for analysing resonances having one kaon kink
10//Author: Paraskevi Ganoti, University of Athens (pganoti@phys.uoa.gr)
11//------------------------------------------------------------------------------
12
13class TF1;
14class TString;
15class TTree;
16class AliESDEvent;
17class AliPID;
18
19class AliResonanceKinkPID : public AliAnalysisTaskSE {
20 public:
21 AliResonanceKinkPID();
22 AliResonanceKinkPID(const char *name);
23 virtual ~AliResonanceKinkPID() {}
24
25 virtual void ConnectInputData(Option_t *);
26 virtual void CreateOutputObjects();
27 virtual void Exec(Option_t *option);
28 virtual void Terminate(Option_t *);
29
30 Float_t GetSigmaToVertex(AliESDtrack* esdTrack) const ;
31 const AliESDVertex *GetEventVertex(const AliESDEvent* esd) const;
32
33 private:
34 AliESDEvent *fESD; //! ESD object
35 TList *fListOfHistos; //! List
36 TH1D *fOpeningAngle; //! Opening
37 TH1D *fInvariantMass; //! invMass spectrum
38 TH1D *fInvMassTrue; //! invMassTrue spectrum
39 TH1D *fPhiBothKinks; //! bothKaonsKinks
40 TH1D *fRecPt; //! pT spectrum
41 TH1D *fRecEta; //! Eta spectrum
42 TH2D *fRecEtaPt; //! Eta pT spectrum
43 TH1D *fSimPt; //! pT Sim spectrum
44 TH1D *fSimEta; //! Eta Sim spectrum
45 TH2D *fSimEtaPt; //! Eta pT Sim spectrum
46 TH1D *fSimPtKink; //! pT Sim one kaon kink spectrum
47 TH1D *fSimEtaKink; //! Eta Sim one kaon kink spectrum spectrum
48 TH2D *fSimEtaPtKink; //! Eta pT Sim one kaon kink spectrum
49 TH1D *fhdr ; //! radial impact
50 TH1D *fhdz ; //! z impact
51 TF1 *f1;
52 TF1 *f2;
53 TString fAnalysisType;//"ESD" or "MC"
54 TH1D *fvtxz ; //! vtx z component
55
56 AliResonanceKinkPID(const AliResonanceKinkPID&); // not implemented
57 AliResonanceKinkPID& operator=(const AliResonanceKinkPID&); // not implemented
58
59 ClassDef(AliResonanceKinkPID, 1); // example of analysis
60};
61
62#endif