-
-//******** To be removed next release !!! **************
- Double_t GetEta() const {return fP2;}
- Double_t GetC() const {return fP4;}
- void GetCovariance(Double_t cc[15]) const {
- cc[0 ]=fC00;
- cc[1 ]=fC10; cc[2 ]=fC11;
- cc[3 ]=fC20; cc[4 ]=fC21; cc[5 ]=fC22;
- cc[6 ]=fC40; cc[7 ]=fC41; cc[8 ]=fC42; cc[9 ]=fC44;
- cc[10]=fC30; cc[11]=fC31; cc[12]=fC32; cc[13]=fC43; cc[14]=fC33;
- }
-//******************************************************
-
- virtual Double_t GetPredictedChi2(const AliCluster *cluster) const;
- Int_t PropagateTo(Double_t xr,Double_t x0=28.94,Double_t rho=0.9e-3);
- Int_t Update(const AliCluster* c, Double_t chi2, UInt_t i);
- void ResetCovariance();
-
-private:
- Double_t fX; // X-coordinate of this track (reference plane)
- Double_t fAlpha; // Rotation angle the local (TPC sector)
- // coordinate system and the global ALICE one.
-
+ void SetClusterIndex(Int_t i, Int_t idx) {fIndex[i]=idx;}
+
+ Double_t GetC() const {return AliExternalTrackParam::GetC(GetBz());}
+ Double_t GetC(Double_t b) const {return AliExternalTrackParam::GetC(b);}
+
+ Double_t GetPredictedChi2(const AliCluster *cluster) const;
+ Bool_t PropagateTo(Double_t xr, Double_t rho=0.9e-3, Double_t x0=28.94);
+ Bool_t Update(const AliCluster *c, Double_t chi2, Int_t i);
+ Bool_t Rotate(Double_t alpha) {
+ return AliExternalTrackParam::Rotate(GetAlpha()+alpha);
+ }
+
+ Bool_t PropagateToVertex(const AliESDVertex *v,
+ Double_t rho=1.2e-3, Double_t x0=36.66);
+ void ResetClusters() {SetNumberOfClusters(0); SetChi2(0.);}
+ void UpdatePoints();//update points
+ Float_t* GetPoints() {return fPoints;}
+
+ Float_t Density(Int_t row0, Int_t row1); //calculate cluster density
+ Float_t Density2(Int_t row0, Int_t row1); //calculate cluster density
+ Double_t GetD(Double_t x=0, Double_t y=0) const {
+ return AliExternalTrackParam::GetD(x,y,GetBz());
+ }
+ AliExternalTrackParam & GetReference(){ return fReference;}
+ void UpdateReference(){ new (&fReference) AliExternalTrackParam(*this);}
+ Int_t GetKinkIndex(Int_t i) const{ return fKinkIndexes[i];}
+ Int_t* GetKinkIndexes() { return fKinkIndexes;}
+ Int_t GetV0Index(Int_t i) const{ return fV0Indexes[i];}
+ Int_t* GetV0Indexes() { return fV0Indexes;}
+
+ void SetFirstPoint(Int_t f) {fFirstPoint=f;}
+ void SetLastPoint(Int_t f) {fLastPoint=f;}
+ void SetRemoval(Int_t f) {fRemoval=f;}
+ void SetLab2(Int_t f) {fLab2=f;}
+ void SetKinkIndex(Int_t i, Int_t idx) {fKinkIndexes[i]=idx;}
+ void SetBConstrain(Bool_t b) {fBConstrain=b;}
+ void SetNFoundable(Int_t n) {fNFoundable=n;}
+ void SetNShared(Int_t s) {fNShared=s;}
+
+ Int_t GetFirstPoint() const {return fFirstPoint;}
+ Int_t GetLastPoint() const {return fLastPoint;}
+ Int_t GetRemoval() const {return fRemoval;}
+ Int_t GetLab2() const {return fLab2;}
+ Bool_t GetBConstrain() const {return fBConstrain;}
+ Int_t GetNShared() const {return fNShared;}
+ Int_t GetNFoundable() const {return fNFoundable;}
+
+protected: