Using const pointer to AliKalmanTrack (Yu.Belikov)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 8 Oct 2004 14:24:59 +0000 (14:24 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 8 Oct 2004 14:24:59 +0000 (14:24 +0000)
STEER/AliESDtrack.cxx
STEER/AliESDtrack.h

index bbaf3f1b1175bd7ed6e89dbdc83bb41aec3c85cd..5aebecced40576b311be210501d5438026e30de8 100644 (file)
@@ -367,7 +367,7 @@ Bool_t AliESDtrack::UpdateTrackParams(const AliKalmanTrack *t, ULong_t flags) {
 
 //_______________________________________________________________________
 void 
-AliESDtrack::SetConstrainedTrackParams(AliKalmanTrack *t, Double_t chi2) {
+AliESDtrack::SetConstrainedTrackParams(const AliKalmanTrack *t, Double_t chi2) {
   //
   // This function sets the constrained track parameters 
   //
index 378602ae9b2af4a32235575e6e499960132ab5b3..03e24f25763c33751febb85b6511850dea138e65 100644 (file)
@@ -44,7 +44,7 @@ public:
   void GetCovariance(Double_t cov[21]) const;
   Int_t GetSign() const {return (fRp[4]>0) ? 1 : -1;} 
 
-  void SetConstrainedTrackParams(AliKalmanTrack *t, Double_t chi2);
+  void SetConstrainedTrackParams(const AliKalmanTrack *t, Double_t chi2);
 
   Double_t GetConstrainedAlpha() const {return fCalpha;}
   Double_t GetConstrainedChi2() const {return fCchi2;}