]>
Commit | Line | Data |
---|---|---|
15dd636f | 1 | #ifndef ALIITSTRACKMI_H |
2 | #define ALIITSTRACKMI_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | //------------------------------------------------------------------------- | |
7 | // ITS Track Class | |
8 | // | |
9 | // Origin: Marian Ivanov, CERN, Marian.Ivanov@cern.ch | |
10 | // dEdx analysis by: Boris Batyunya, JINR, Boris.Batiounia@cern.ch | |
11 | //------------------------------------------------------------------------- | |
12 | ||
13 | ||
14 | /***************************************************************************** | |
15 | * December 18, 2000 * | |
16 | * Internal view of the ITS track parametrisation as well as the order of * | |
17 | * track parameters are subject for possible changes ! * | |
18 | * Use GetExternalParameters() and GetExternalCovariance() to access ITS * | |
19 | * track information regardless of its internal representation. * | |
20 | * This formation is now fixed in the following way: * | |
21 | * external param0: local Y-coordinate of a track (cm) * | |
22 | * external param1: local Z-coordinate of a track (cm) * | |
23 | * external param2: local sine of the track momentum azimuthal angle * | |
24 | * external param3: tangent of the track momentum dip angle * | |
25 | * external param4: 1/pt (1/(GeV/c)) * | |
26 | *****************************************************************************/ | |
27 | ||
28 | #include <AliKalmanTrack.h> | |
29 | ||
30 | #include "AliITSrecoV2.h" | |
31 | #include "AliITStrackV2.h" | |
32 | ||
33 | class AliESDtrack; | |
34 | ||
35 | //_____________________________________________________________________________ | |
36 | class AliITStrackMI : public AliITStrackV2 { | |
15dd636f | 37 | public: |
38 | AliITStrackMI(); | |
39 | AliITStrackMI(AliESDtrack& t,Bool_t c=kFALSE) throw (const Char_t *); | |
40 | AliITStrackMI(const AliITStrackMI& t); | |
41 | Int_t GetProlongationFast(Double_t alpha, Double_t xr,Double_t &y, Double_t &z); | |
6c94f330 | 42 | Bool_t UpdateMI(Double_t cy, Double_t cz, Double_t cerry, Double_t cerrz, Double_t chi2, Int_t i); |
15dd636f | 43 | Int_t CorrectForMaterial(Double_t d, Double_t x0=21.82); |
44 | ||
45 | void UpdateESDtrack(ULong_t flags); | |
46 | ||
47 | void SetReconstructed(Bool_t sr=kTRUE){fReconstructed = sr;} | |
48 | Bool_t GetReconstructed() const {return fReconstructed;} | |
49 | void SetChi2MIP(Int_t i,Float_t val){fChi2MIP[i]=val;} | |
50 | Float_t GetChi2MIP(Int_t i) const {return fChi2MIP[i];} | |
51 | void IncrementNSkipped(){fNSkipped++;} // increment by 1 the # of skipped cls | |
52 | Float_t GetNSkipped() const {return fNSkipped;} | |
b9671574 | 53 | void SetNSkipped(Float_t n) {fNSkipped=n;} |
15dd636f | 54 | void IncrementNUsed(){fNUsed++;} // increment by 1 the # of shared clusters |
55 | Float_t GetNUsed() const {return fNUsed;} | |
b9671574 | 56 | void SetNUsed(Float_t n) {fNUsed=n;} |
15dd636f | 57 | |
58 | Int_t Compare(const TObject *o) const; | |
6c94f330 | 59 | Double_t GetCov33() const {return GetCovariance()[9];} // cov. matrix el. 3,3 |
60 | //Double_t GetCov44() const {return GetCovariance()[15];}// cov. matrix el. 4,4 | |
15dd636f | 61 | Float_t GetDy(Int_t i) const {return fDy[i];} |
62 | Float_t GetDz(Int_t i) const {return fDz[i];} | |
b9671574 | 63 | Float_t GetD(Int_t i) const {return fD[i];} |
64 | Double_t GetD(Double_t x, Double_t y) const | |
65 | {return AliITStrackV2::GetD(x,y);} | |
66 | Float_t *GetDP() {return fD;} | |
67 | void SetD(Int_t i, Float_t d) {fD[i]=d;} | |
68 | Float_t GetDnorm(Int_t i) const {return fDnorm[i];} | |
69 | Float_t *GetDnormP() {return fDnorm;} | |
70 | void SetDnorm(Int_t i, Float_t d) {fDnorm[i]=d;} | |
15dd636f | 71 | Float_t GetSigmaY(Int_t i) const {return fSigmaY[i];} |
72 | Float_t GetSigmaZ(Int_t i) const {return fSigmaZ[i];} | |
b9671574 | 73 | void SetSigmaY(Int_t i, Float_t s) {fSigmaY[i]=s;} |
74 | void SetSigmaZ(Int_t i, Float_t s) {fSigmaZ[i]=s;} | |
75 | Float_t GetNDeadZone() const {return fNDeadZone;} | |
76 | void SetNDeadZone(Float_t d) {fNDeadZone=d;} | |
77 | Int_t* ClIndex() {return fClIndex;} | |
78 | Int_t GetClIndex(Int_t i) const {return fClIndex[i];} | |
79 | void SetClIndex(Int_t i, Int_t c) {fClIndex[i]=c;} | |
80 | Float_t GetNormChi2(Int_t i) const {return fNormChi2[i];} | |
81 | void SetNormChi2(Int_t i, Float_t n) {fNormChi2[i]=n;} | |
82 | Bool_t GetConstrain() const {return fConstrain;} | |
83 | void SetConstrain(Bool_t c) {fConstrain=c;} | |
84 | Float_t GetExpQ() const {return fExpQ;} | |
85 | void SetExpQ(Float_t f) {fExpQ=f;} | |
86 | Float_t GetNormQ(Int_t i) const {return fNormQ[i];} | |
87 | void SetNormQ(Int_t i, Float_t q) {fNormQ[i]=q;} | |
88 | Float_t GetdEdxMismatch() const {return fdEdxMismatch;} | |
89 | void SetdEdxMismatch(Float_t m) {fdEdxMismatch=m;} | |
90 | Float_t GetNy(Int_t i) const {return fNy[i];} | |
91 | void SetNy(Int_t i, Float_t f) {fNy[i]=f;} | |
92 | Float_t GetNz(Int_t i) const {return fNz[i];} | |
93 | void SetNz(Int_t i, Float_t f) {fNz[i]=f;} | |
94 | Bool_t GetGoldV0() const {return fGoldV0;} | |
95 | void SetGoldV0(Bool_t g) {fGoldV0=g;} | |
96 | Float_t GetChi22() const {return fChi22;} | |
97 | void SetChi22(Float_t c) {fChi22=c;} | |
98 | Float_t GetDeadZoneProbability() const {return fDeadZoneProbability;} | |
99 | void SetDeadZoneProbability(Float_t d) {fDeadZoneProbability=d;} | |
15dd636f | 100 | |
101 | Double_t GetPredictedChi2MI(Double_t cy, Double_t cz, Double_t cerry, Double_t cerrz) const; | |
628e7bb0 | 102 | Bool_t IsGoldPrimary(); |
15dd636f | 103 | protected: |
104 | ||
105 | Float_t fNUsed; // number of shared clusters | |
106 | Float_t fNSkipped; // number of skipped clusters | |
107 | Float_t fNDeadZone; // number of clusters in dead zone | |
108 | Float_t fDeadZoneProbability; // probability to cross dead zone | |
628e7bb0 | 109 | Bool_t fReconstructed; // reconstructed - accepted flag |
15dd636f | 110 | Float_t fChi2MIP[12]; // MIP chi squres |
111 | ||
112 | Float_t fDy[12]; //dy in layer | |
113 | Float_t fDz[12]; //dz in layer | |
114 | Float_t fSigmaY[12]; //sigma y | |
115 | Float_t fSigmaZ[12]; //sigma z | |
116 | Float_t fNy[6]; //expected size of cluster | |
117 | Float_t fNz[6]; //expected size of cluster | |
118 | Float_t fD[2]; //distance to the vertex | |
628e7bb0 | 119 | Float_t fDnorm[2]; // normalized distance to the vertex |
15dd636f | 120 | Float_t fNormQ[6]; // normalized Q |
121 | Float_t fExpQ; // expected Q | |
122 | Float_t fNormChi2[6]; // normalized chi2 | |
123 | Float_t fChi22; // chi22 | |
124 | Float_t fdEdxMismatch; | |
125 | Bool_t fConstrain; //indication of the vertex constrain | |
126 | Int_t fClIndex[6]; //cluster Index | |
628e7bb0 | 127 | Bool_t fGoldV0; //corresponding gold V0 found |
15dd636f | 128 | ClassDef(AliITStrackMI,1) //ITS reconstructed track |
129 | }; | |
130 | ||
131 | #endif | |
132 | ||
133 |