]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
made const array arguments of GetPredictedChi2 methods
authorshahoian <ruben.shahoyan@cern.ch>
Mon, 28 Jul 2014 15:35:04 +0000 (17:35 +0200)
committershahoian <ruben.shahoyan@cern.ch>
Mon, 28 Jul 2014 15:35:13 +0000 (17:35 +0200)
STEER/STEERBase/AliExternalTrackParam.cxx
STEER/STEERBase/AliExternalTrackParam.h

index 4f114d793d8f2d6abc4d08b5eb57a61029f55d22..ffe3b93f615489523a94180a6376654fff98d43c 100644 (file)
@@ -1234,7 +1234,7 @@ Double_t bz) const {
 }
 
 Double_t 
-AliExternalTrackParam::GetPredictedChi2(Double_t p[2],Double_t cov[3]) const {
+AliExternalTrackParam::GetPredictedChi2(const Double_t p[2],const Double_t cov[3]) const {
   //----------------------------------------------------------------
   // Estimate the chi2 of the space point "p" with the cov. matrix "cov"
   //----------------------------------------------------------------
@@ -1252,7 +1252,7 @@ AliExternalTrackParam::GetPredictedChi2(Double_t p[2],Double_t cov[3]) const {
 }
 
 Double_t AliExternalTrackParam::
-GetPredictedChi2(Double_t p[3],Double_t covyz[3],Double_t covxyz[3]) const {
+GetPredictedChi2(const Double_t p[3],const Double_t covyz[3],const Double_t covxyz[3]) const {
   //----------------------------------------------------------------
   // Estimate the chi2 of the 3D space point "p" and
   // the full covariance matrix "covyz" and "covxyz"
@@ -1445,7 +1445,7 @@ Double_t *p,Double_t *cov,Bool_t updated) const {
   return res;
 }
 
-Bool_t AliExternalTrackParam::Update(Double_t p[2], Double_t cov[3]) {
+Bool_t AliExternalTrackParam::Update(const Double_t p[2], const Double_t cov[3]) {
   //------------------------------------------------------------------
   // Update the track parameters with the space point "p" having
   // the covariance matrix "cov"
index 208b931d12866d9b05fa7bb41a9e3a6723f90cfd..574fa2f2de9550cdede645dca97882028fc9f6f5 100644 (file)
@@ -181,10 +181,10 @@ class AliExternalTrackParam: public AliVTrack {
   static Double_t BetheBlochSolid(Double_t bg);
   static Double_t BetheBlochGas(Double_t bg);
 
-  Double_t GetPredictedChi2(Double_t p[2],Double_t cov[3]) const;
+  Double_t GetPredictedChi2(const Double_t p[2],const Double_t cov[3]) const;
 
   Double_t 
-    GetPredictedChi2(Double_t p[3],Double_t covyz[3],Double_t covxyz[3]) const;
+    GetPredictedChi2(const Double_t p[3],const Double_t covyz[3],const Double_t covxyz[3]) const;
 
   Double_t GetPredictedChi2(const AliExternalTrackParam *t) const;
 
@@ -192,7 +192,7 @@ class AliExternalTrackParam: public AliVTrack {
     PropagateTo(Double_t p[3],Double_t covyz[3],Double_t covxyz[3],Double_t b);
 
   Double_t *GetResiduals(Double_t *p,Double_t *cov,Bool_t updated=kTRUE) const;
-  Bool_t Update(Double_t p[2],Double_t cov[3]);
+  Bool_t Update(const Double_t p[2],const Double_t cov[3]);
   Bool_t Rotate(Double_t alpha);
   Bool_t RotateParamOnly(Double_t alpha);
   Bool_t Invert();