- Bool_t CovariancesExist(void) {return (fCovariances) ? kTRUE : kFALSE;}
- TMatrixD* GetCovariances(void);
- void SetCovariances(TMatrixD* covariances);
- void SetCovariances(Double_t matrix[5][5]);
- void SetVariances(Double_t matrix[5][5]);
- void DeleteCovariances(void);
-
- void EvalCovariances(AliMUONHitForRec* hit2);
-
- /// necessary for sorting TClonesArray of TrackHit's
+ Bool_t CovariancesExist() const {return (fCovariances) ? kTRUE : kFALSE;}
+
+ const TMatrixD& GetCovariances() const;
+ void SetCovariances(const TMatrixD& covariances);
+ void SetCovariances(const Double_t matrix[5][5]);
+ void SetVariances(const Double_t matrix[5][5]);
+ void DeleteCovariances();
+
+ const TMatrixD& GetPropagator() const;
+ void ResetPropagator();
+ void UpdatePropagator(const TMatrixD& propagator);
+
+ const TMatrixD& GetExtrapParameters() const;
+ void SetExtrapParameters(const TMatrixD& parameters);
+
+ const TMatrixD& GetExtrapCovariances() const;
+ void SetExtrapCovariances(const TMatrixD& covariances);
+
+ const TMatrixD& GetSmoothParameters() const;
+ void SetSmoothParameters(const TMatrixD& parameters);
+
+ const TMatrixD& GetSmoothCovariances() const;
+ void SetSmoothCovariances(const TMatrixD& covariances);
+
+ /// get pointeur to associated cluster
+ AliMUONVCluster* GetClusterPtr() const {return fClusterPtr;}
+ void SetClusterPtr(AliMUONVCluster* cluster, Bool_t owner = kFALSE);
+
+ /// return kTRUE if the associated cluster can be removed from the track it belongs to
+ Bool_t IsRemovable() const {return fRemovable;}
+ /// set the flag telling whether the associated cluster can be removed from the track it belongs to or not
+ void SetRemovable(Bool_t removable) {fRemovable = removable;}
+
+ /// return the chi2 of the track when the associated cluster was attached
+ Double_t GetTrackChi2() const {return fTrackChi2;}
+ /// set the chi2 of the track when the associated cluster was attached
+ void SetTrackChi2(Double_t chi2) {fTrackChi2 = chi2;}
+ /// return the local chi2 of the associated cluster with respect to the track
+ Double_t GetLocalChi2() const {return fLocalChi2;}
+ /// set the local chi2 of the associated cluster with respect to the track
+ void SetLocalChi2(Double_t chi2) {fLocalChi2 = chi2;}
+
+ /// necessary for sorting TClonesArray of AliMUONTrackParam