Line data Source code
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 0 : class AliMUONFastTrackingEntry {
17 : public:
18 : AliMUONFastTrackingEntry();
19 0 : virtual ~AliMUONFastTrackingEntry(){;}
20 0 : Float_t GetP()const {return fP;}
21 0 : Float_t GetTheta()const {return fTheta;}
22 0 : Float_t GetPhi()const {return fPhi;}
23 0 : Float_t GetMeanp()const {return fMeanp;}
24 0 : Float_t GetMeantheta()const {return fMeantheta;}
25 0 : Float_t GetMeanphi()const {return fMeanphi;}
26 0 : Float_t GetSigmap()const {return fSigmap;}
27 0 : Float_t GetSigmatheta()const {return fSigmatheta;}
28 0 : Float_t GetSigmaphi()const {return fSigmaphi;}
29 0 : Float_t GetSigma1p()const {return fSigma1p;}
30 0 : Float_t GetChi2p()const {return fChi2p;}
31 0 : Float_t GetChi2theta()const {return fChi2theta;}
32 0 : Float_t GetChi2phi()const {return fChi2phi;}
33 0 : Float_t GetAcc(Int_t i, Int_t j)const {return fAcc[i][j];}
34 0 : Float_t GetEff(Int_t i, Int_t j) const {return fEff[i][j];}
35 0 : Float_t GetNormG2()const {return fNormG2;}
36 0 : Float_t GetMeanG2()const {return fMeanG2;}
37 0 : Float_t GetSigmaG2()const {return fSigmaG2;}
38 :
39 0 : void SetP(Float_t p){fP = p;}
40 0 : void SetTheta(Float_t theta){fTheta = theta;}
41 0 : void SetPhi(Float_t phi){fPhi = phi;}
42 0 : void SetMeanp(Float_t meanp){fMeanp = meanp;}
43 0 : void SetMeantheta(Float_t meantheta){fMeantheta = meantheta;}
44 0 : void SetMeanphi(Float_t meanphi){fMeanphi = meanphi;}
45 0 : void SetSigmap(Float_t sigmap){fSigmap = sigmap;}
46 0 : void SetSigmatheta(Float_t sigmatheta){fSigmatheta = sigmatheta;}
47 0 : void SetSigmaphi(Float_t sigmaphi){fSigmaphi = sigmaphi;}
48 0 : void SetSigma1p(Float_t sigma1p){fSigma1p = sigma1p;}
49 0 : void SetChi2p(Float_t chi2p){fChi2p = chi2p;}
50 0 : void SetChi2theta(Float_t chi2theta){fChi2theta = chi2theta;}
51 0 : void SetChi2phi(Float_t chi2phi){fChi2phi = chi2phi;}
52 0 : void SetAcc(Int_t i, Int_t j, Float_t acc) {fAcc[i][j] = acc;}
53 0 : void SetEff(Int_t i, Int_t j, Float_t eff) {fEff[i][j] = eff;}
54 0 : void SetNormG2(Float_t normG2){fNormG2 = normG2;}
55 0 : void SetMeanG2(Float_t meanG2){fMeanG2 = meanG2;}
56 0 : 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 12 : ClassDef(AliMUONFastTrackingEntry,1)
78 : };
79 :
80 :
81 : #endif
|