]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONSegment.cxx
Minor bugs in the definition of the bending impact parameter corrected (thanks to...
[u/mrichter/AliRoot.git] / MUON / AliMUONSegment.cxx
index 497902f3ef20f6eb35421800c109801ef7b6b340..312716a7a03f8d2bc2f13e5eba063f1d1093b9f8 100644 (file)
@@ -15,6 +15,9 @@
 
 /*
 $Log$
+Revision 1.8  2001/04/25 14:50:42  gosset
+Corrections to violations of coding conventions
+
 Revision 1.7  2001/02/08 10:34:41  gosset
 Add a "real" default constructor.
 
@@ -164,8 +167,8 @@ Int_t AliMUONSegment::Compare(const TObject* Segment) const
   // of the "impact parameter" in bending plane.
   // Returns -1 (0, +1) if |impact parameter| of current Segment
   // is smaller than (equal to, larger than) |impact parameter| of Segment
-  if (TMath::Abs(((AliMUONSegment*)this)->fBendingSlope)
-      < TMath::Abs(((AliMUONSegment*)Segment)->fBendingSlope))
+  if (TMath::Abs(((AliMUONSegment*)this)->fBendingImpact)
+      < TMath::Abs(((AliMUONSegment*)Segment)->fBendingImpact))
     return(-1);
   // continuous parameter, hence no need for testing equal case
   else return(+1);