1 #ifndef ALIHLTITSTRACK1_H
2 #define ALIHLTITSTRACK1_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
7 #include "AliKalmanTrack.h"
8 #include "AliITSRecoParam.h"
9 #include "AliITSgeomTGeo.h"
16 //_____________________________________________________________________________
17 class AliHLTITSTrack : public AliKalmanTrack
21 AliHLTITSTrack(AliESDtrack& t,Bool_t c=kFALSE) throw (const Char_t *);
22 AliHLTITSTrack(const AliHLTITSTrack& t);
23 AliHLTITSTrack &operator=(const AliHLTITSTrack& t);
25 Int_t GetProlongationFast(Double_t alpha, Double_t xr,Double_t &y, Double_t &z);
28 Float_t GetExpQ() const {return fExpQ;}
29 void SetExpQ(Float_t f) {fExpQ=f;}
31 Double_t GetPredictedChi2(const AliCluster* c) const;
32 Double_t GetPredictedChi2(Double_t cy, Double_t cz, Double_t cerr2Y, Double_t cerr2Z) const;
35 Bool_t CorrectForMeanMaterial(Double_t xOverX0, Double_t xTimesRho,
36 Bool_t anglecorr=kFALSE) {
37 return AliExternalTrackParam::CorrectForMeanMaterial(xOverX0,xTimesRho,GetMass(),anglecorr);
40 Bool_t PropagateTo(Double_t xr, Double_t d, Double_t x0=AliITSRecoParam::GetX0Air());
42 Bool_t PropagateToTGeo(Double_t xToGo, Int_t nstep, Double_t &xOverX0, Double_t &xTimesRho, Bool_t addTime=kTRUE);
43 Bool_t PropagateToTGeo(Double_t xToGo, Int_t nstep=1, Bool_t addTime=kTRUE) {
44 Double_t dummy1,dummy2; return PropagateToTGeo(xToGo,nstep,dummy1,dummy2,addTime);
47 Bool_t Update(const AliCluster *cl, Double_t chi2, Int_t i);
49 Bool_t Propagate(Double_t alpha, Double_t xr);
50 Bool_t Propagate(Double_t xr) { return Propagate(GetAlpha(),xr); }
53 void UpdateESDtrack(ULong_t flags) const;
55 AliESDtrack *GetESDtrack() const {return fESDtrack;}
57 using AliExternalTrackParam::GetC;
58 Double_t GetC() const {return AliExternalTrackParam::GetC(GetBz());}
59 Double_t GetD(Double_t x, Double_t y) const {
60 return AliExternalTrackParam::GetD(x,y,GetBz());
63 Bool_t GetGlobalXYZat(Double_t xloc,Double_t &x,Double_t &y,Double_t &z) const;
64 Bool_t GetPhiZat(Double_t r,Double_t &phi,Double_t &z) const;
65 Bool_t GetLocalXat(Double_t r,Double_t &xloc) const;
67 Int_t GetClusterIndex(Int_t i) const {return fIndex[i];}
68 void SetClusterIndex(Int_t i, Int_t index ) { fIndex[i] = index;}
73 Int_t fIndex[2*AliITSgeomTGeo::kNLayers]; // indices of associated clusters
76 AliESDtrack *fESDtrack; //! pointer to the connected ESD track
78 Float_t fExpQ; // expected Q