]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliAODVertex.cxx
Coding rule violations corrected
[u/mrichter/AliRoot.git] / STEER / AliAODVertex.cxx
index fedfa70dde7d9d0a11eee176cfe8285fc9affc0f..01c05088f0895ecec913ff250020224adc056b1f 100644 (file)
@@ -484,7 +484,7 @@ Double_t AliAODVertex::RotatedCovMatrixZZ(Double_t phi, Double_t theta) const
 }
 
 //______________________________________________________________________________
-Double_t AliAODVertex::Distance2ToVertex(AliAODVertex *vtx) const
+Double_t AliAODVertex::Distance2ToVertex(const AliAODVertex *vtx) const
 {
   // distance in 3D to another AliAODVertex
 
@@ -496,7 +496,7 @@ Double_t AliAODVertex::Distance2ToVertex(AliAODVertex *vtx) const
 }
 
 //______________________________________________________________________________
-Double_t AliAODVertex::DistanceXY2ToVertex(AliAODVertex *vtx) const
+Double_t AliAODVertex::DistanceXY2ToVertex(const AliAODVertex *vtx) const
 {
   // distance in XY to another AliAODVertex