]> git.uio.no Git - u/mrichter/AliRoot.git/blob - FASTSIM/AliMUONFastTrackingEntry.h
update from Marco
[u/mrichter/AliRoot.git] / FASTSIM / AliMUONFastTrackingEntry.h
1 #ifndef ALIMUONFASTTRACKINGENTRY_H
2 #define ALIMUONFASTTRACKINGENTRY_H
3
4
5 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
6  * See cxx source for full Copyright notice                               */
7
8 /* $Id$ */
9
10
11 #include <TClassTable.h>
12
13 static const Int_t kSplitP = 5; 
14 static const Int_t kSplitTheta = 3; 
15
16 class AliMUONFastTrackingEntry {
17  public:
18   AliMUONFastTrackingEntry();
19   virtual ~AliMUONFastTrackingEntry(){;}
20   Float_t GetP()const {return fP;}
21   Float_t GetTheta()const {return fTheta;}
22   Float_t GetPhi()const {return fPhi;}
23   Float_t GetMeanp()const {return fMeanp;}
24   Float_t GetMeantheta()const {return fMeantheta;}
25   Float_t GetMeanphi()const {return fMeanphi;}
26   Float_t GetSigmap()const {return fSigmap;}
27   Float_t GetSigmatheta()const {return fSigmatheta;}
28   Float_t GetSigmaphi()const {return fSigmaphi;}
29   Float_t GetSigma1p()const {return fSigma1p;}
30   Float_t GetChi2p()const {return fChi2p;}
31   Float_t GetChi2theta()const {return fChi2theta;}
32   Float_t GetChi2phi()const {return fChi2phi;}
33   Float_t GetAcc(Int_t i, Int_t j)const {return fAcc[i][j];}
34   Float_t GetEff(Int_t i, Int_t j) const {return fEff[i][j];}
35   Float_t GetNormG2()const {return fNormG2;}
36   Float_t GetMeanG2()const {return fMeanG2;}
37   Float_t GetSigmaG2()const {return fSigmaG2;}
38
39   void SetP(Float_t p){fP = p;}
40   void SetTheta(Float_t theta){fTheta = theta;}
41   void SetPhi(Float_t phi){fPhi = phi;}
42   void SetMeanp(Float_t meanp){fMeanp = meanp;}
43   void SetMeantheta(Float_t meantheta){fMeantheta = meantheta;}
44   void SetMeanphi(Float_t meanphi){fMeanphi = meanphi;}
45   void SetSigmap(Float_t sigmap){fSigmap = sigmap;}
46   void SetSigmatheta(Float_t sigmatheta){fSigmatheta = sigmatheta;}
47   void SetSigmaphi(Float_t sigmaphi){fSigmaphi = sigmaphi;}
48   void SetSigma1p(Float_t sigma1p){fSigma1p = sigma1p;}
49   void SetChi2p(Float_t chi2p){fChi2p = chi2p;}
50   void SetChi2theta(Float_t chi2theta){fChi2theta = chi2theta;}
51   void SetChi2phi(Float_t chi2phi){fChi2phi = chi2phi;}
52   void SetAcc(Int_t i, Int_t j, Float_t acc) {fAcc[i][j] = acc;}
53   void SetEff(Int_t i, Int_t j, Float_t eff) {fEff[i][j] = eff;}
54   void SetNormG2(Float_t normG2){fNormG2 = normG2;}
55   void SetMeanG2(Float_t meanG2){fMeanG2 = meanG2;}
56   void SetSigmaG2(Float_t sigmaG2){fSigmaG2 = sigmaG2;}
57
58  protected:
59   Float_t fP;              // momentum 
60   Float_t fTheta;          // polar angle 
61   Float_t fPhi;            // azimuth 
62   Float_t fMeanp;          // mean value of p distribution in current LUT cell
63   Float_t fMeantheta;      // mean value of theta distr. in current LUT cell
64   Float_t fMeanphi;        // mean value of phi distr. in current LUT cell
65   Float_t fSigmap;         // sigma of p distr. in current LUT cell
66   Float_t fSigmatheta;     // sigma of theta distr. in current LUT cell
67   Float_t fSigmaphi;       // sigma of phi distr. in current LUT cell
68   Float_t fSigma1p;        // param. for asymmetry in p distribution
69   Float_t fChi2p;          // chi2 for p 
70   Float_t fChi2theta;      // chi2 for theta
71   Float_t fChi2phi;        // chi2 for phi
72   Float_t fAcc[5][3];      // acceptance (subdivided in narrower cells in p and theta for low momenta) 
73   Float_t fEff[5][3];      // efficiency (subdivided in narrower cells in p and theta for low momenta) 
74   Float_t fNormG2;         // params for momentum gaussian smearing due to BKG
75   Float_t fMeanG2;         // params for momentum gaussian smearing due to BKG
76   Float_t fSigmaG2;        // params for momentum gaussian smearing due to BKG
77   ClassDef(AliMUONFastTrackingEntry,1)       
78 };
79
80
81 #endif