- AliKalmanTrack() {fN=0; fChi2=0; fLab=-3141593;}
- AliKalmanTrack(const AliKalmanTrack& t);
- virtual ~AliKalmanTrack() {}
- Int_t Compare(TObject *o);
- void SetLabel(Int_t lab) {fLab=lab;}
-
- Double_t GetPredictedChi2(const AliCluster *cluster) const;
- Bool_t IsSortable() const {return kTRUE;}
- Int_t GetLabel() const {return fLab;}
- void GetCovariance(Double_t cov[15]) const;
- Double_t GetChi2() const {return fChi2;}
- Int_t GetNumberOfClusters() const {return fN;}
-
- virtual Double_t GetPt() const=0;
- virtual Double_t GetP() const=0;
- virtual void GetPxPyPz(Double_t &px, Double_t &py, Double_t &pz) const=0;
- virtual Int_t PropagateTo(Double_t xr,Double_t x0,Double_t rho,Double_t pm)=0;
- virtual void Update(const AliCluster* c, Double_t chi2, UInt_t i)=0;
-
-protected:
- Int_t fLab; // track label
+ AliKalmanTrack();
+ AliKalmanTrack(const AliKalmanTrack &t);
+
+ virtual ~AliKalmanTrack(){};
+ void SetLabel(Int_t lab) {fLab=lab;}
+ void SetFakeRatio(Float_t ratio) {fFakeRatio=ratio;}
+
+ Bool_t IsSortable() const {return kTRUE;}
+ Int_t GetLabel() const {return fLab;}
+ Float_t GetFakeRatio() const {return fFakeRatio;}
+ Double_t GetChi2() const {return fChi2;}
+ Double_t GetMass() const {return fMass;}
+ Int_t GetNumberOfClusters() const {return fN;}
+ virtual Int_t GetClusterIndex(Int_t) const { //reserved for AliTracker
+ Warning("GetClusterIndex(Int_t)","Method must be overloaded !\n");
+ return 0;
+ }
+ virtual Double_t GetPIDsignal() const {
+ Warning("GetPIDsignal()","Method must be overloaded !\n");
+ return 0.;
+ }
+
+ virtual Double_t GetDCA(const AliKalmanTrack *p,Double_t &xthis,Double_t &xp) const;
+ virtual
+ Double_t PropagateToDCA(AliKalmanTrack *p, Double_t d=0., Double_t x0=0.);
+ virtual Double_t GetAlpha() const {
+ Warning("GetAlpha()","Method must be overloaded !\n");
+ return 0.;
+ }
+ virtual Double_t GetSigmaY2() const {
+ Warning("GetSigmaY2()","Method must be overloaded !\n");
+ return 0.;
+ }
+ virtual Double_t GetSigmaZ2() const {
+ Warning("GetSigmaZ2()","Method must be overloaded !\n");
+ return 0.;
+ }
+
+ virtual Int_t Compare(const TObject *) const {return 0;}