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