Place the config and root file at the right place
[u/mrichter/AliRoot.git] / PWGHF / hfe / AliHFEsmearDCA.h
CommitLineData
959ea9d8 1/**************************************************************************
2* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3* *
4* Author: The ALICE Off-line Project. *
5* Contributors are mentioned in the code where appropriate. *
6* *
7* Permission to use, copy, modify and distribute this software and its *
8* documentation strictly for non-commercial purposes is hereby granted *
9* without fee, provided that the above copyright notice appears in all *
10* copies and that both the copyright notice and this permission notice *
11* appear in the supporting documentation. The authors make no claims *
12* about the suitability of this software for any purpose. It is *
13* provided "as is" without express or implied warranty. *
14**************************************************************************/
15//
16// Get improved dca info. by ITS upgrade implemented by the ALICE Heavy Flavour Electron Group
17//
18#ifndef ALIHFESMEARDCA_H
19#define ALIHFESMEARDCA_H
20
21class TList;
22class TGraph;
23
24class AliVEvent;
25class AliVParticle;
26class AliVTrack;
27class AliMCEvent;
28
29class AliHFEsmearDCA : public TObject{
30 public:
31 AliHFEsmearDCA(const Char_t */*name*/, const char *resfileCurURI, const char *resfileUpgURI, const Char_t */*title*/);
32 AliHFEsmearDCA(const AliHFEsmearDCA &c);
33 AliHFEsmearDCA &operator=(const AliHFEsmearDCA &);
34 virtual ~AliHFEsmearDCA();
35
36 virtual void SetRecEventInfo(const TObject *event);
37
38 void SetMCEvent(AliMCEvent* const mcEvent){fMCEvent=mcEvent;}; // set stack pointer
39 void GetImproveITSImpactParameters(AliVTrack *track, Double_t &dcaxyn, Double_t &dcaxyo, Double_t &dcaxysign, Double_t &dcaxysigo, Double_t &dcazn, Double_t &dcazo, Double_t &dcazsign, Double_t &dcazsigo); // to check improvement by the ITS upgrade
40 Double_t EvalGraph(const TGraph *graph,Double_t x) const;
41
42
43 private:
44
45 AliVEvent *fEvent; //! working event
46 AliMCEvent *fMCEvent; //! MCEvent pointer
47
48 TGraph *fD0ZResPCur ; // old pt dep. d0 res. in z for protons
49 TGraph *fD0ZResKCur ; // old pt dep. d0 res. in z for kaons
50 TGraph *fD0ZResPiCur ; // old pt dep. d0 res. in z for pions
51 TGraph *fD0ZResECur ; // old pt dep. d0 res. in z for electrons
52 TGraph *fD0RPResPCur ; // old pt dep. d0 res. in rphi for protons
53 TGraph *fD0RPResKCur ; // old pt dep. d0 res. in rphi for kaons
54 TGraph *fD0RPResPiCur; // old pt dep. d0 res. in rphi for pions
55 TGraph *fD0RPResECur ; // old pt dep. d0 res. in rphi for electrons
56 TGraph *fPt1ResPCur ; // old pt dep. 1/pt res. for protons
57 TGraph *fPt1ResKCur ; // old pt dep. 1/pt res. for kaons
58 TGraph *fPt1ResPiCur ; // old pt dep. 1/pt res. for pions
59 TGraph *fPt1ResECur ; // old pt dep. 1/pt res. for electrons
60 TGraph *fD0ZResPUpg ; // new pt dep. d0 res. in z for protons
61 TGraph *fD0ZResKUpg ; // new pt dep. d0 res. in z for kaons
62 TGraph *fD0ZResPiUpg ; // new pt dep. d0 res. in z for pions
63 TGraph *fD0ZResEUpg ; // new pt dep. d0 res. in z for electrons
64 TGraph *fD0RPResPUpg ; // new pt dep. d0 res. in rphi for protons
65 TGraph *fD0RPResKUpg ; // new pt dep. d0 res. in rphi for kaons
66 TGraph *fD0RPResPiUpg; // new pt dep. d0 res. in rphi for pions
67 TGraph *fD0RPResEUpg ; // new pt dep. d0 res. in rphi for electrons
68 TGraph *fPt1ResPUpg ; // new pt dep. 1/pt res. for protons
69 TGraph *fPt1ResKUpg ; // new pt dep. 1/pt res. for kaons
70 TGraph *fPt1ResPiUpg ; // new pt dep. 1/pt res. for pions
71 TGraph *fPt1ResEUpg ; // new pt dep. 1/pt res. for electrons
72
73 ClassDef(AliHFEsmearDCA, 1) // Additional cuts implemented by the ALICE HFE group
74};
75
76#endif