]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONSegment.cxx
Transition to NewIO
[u/mrichter/AliRoot.git] / MUON / AliMUONSegment.cxx
index 374b9d1d7912a81760153e3d64bbf9b4c4121518..0d250be06314b4c59ff83325183473b5860ae123 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
-/*
-$Log$
-Revision 1.6  2001/02/05 14:49:29  hristov
-Compare() declared const (R.Brun)
+/* $Id$ */
 
-Revision 1.5  2001/01/08 11:01:02  gosset
-Modifications used for addendum to Dimuon TDR (JP Cussonneau):
-*. MaxBendingMomentum to make both a segment and a track (default 500)
-*. MaxChi2 per degree of freedom to make a track (default 100)
-*. MinBendingMomentum used also to make a track
-   and not only a segment (default 3)
-*. wider roads for track search in stations 1 to 3
-*. extrapolation to actual Z instead of Z(chamber) in FollowTracks
-*. in track fit:
-   - limits on parameters X and Y (+/-500)
-   - covariance matrices in double precision
-   - normalization of covariance matrices before inversion
-   - suppression of Minuit printouts
-*. correction against memory leak (delete extrapHit) in FollowTracks
-*. RMax to 10 degrees with Z(chamber) instead of fixed values;
-   RMin and Rmax cuts suppressed in NewHitForRecFromGEANT,
-   because useless with realistic geometry
-
-Revision 1.4  2000/06/30 10:15:48  gosset
-Changes to EventReconstructor...:
-precision fit with multiple Coulomb scattering;
-extrapolation to vertex with Branson correction in absorber (JPC)
-
-Revision 1.3  2000/06/25 13:06:39  hristov
-Inline functions moved from *.cxx to *.h files instead of forward declarations
-
-Revision 1.2  2000/06/15 07:58:48  morsch
-Code from MUON-dev joined
-
-Revision 1.1.2.4  2000/06/12 10:10:21  morsch
-Dummy copy constructor and assignment operator added
-
-Revision 1.1.2.3  2000/06/09 21:01:16  morsch
-Make includes consistent with new file structure.
-
-Revision 1.1.2.2  2000/06/09 12:58:05  gosset
-Removed comment beginnings in Log sections of .cxx files
-Suppressed most violations of coding rules
-
-Revision 1.1.2.1  2000/06/07 14:44:53  gosset
-Addition of files for track reconstruction in C++
-*/
-
-//__________________________________________________________________________
+///////////////////////////////////////////////////////////
 //
-// Segment for reconstruction in ALICE dimuon spectrometer:
+// Segment for reconstruction
+// in 
+// ALICE 
+// dimuon 
+// spectrometer:
 // two hits for reconstruction in the two chambers of one station
-//__________________________________________________________________________
-
-#include "AliMUONSegment.h" 
+//
+///////////////////////////////////////////////////////////
 
 #include "AliMUON.h"
+#include "AliMUONChamber.h" 
 #include "AliMUONHitForRec.h" 
+#include "AliMUONSegment.h" 
 #include "AliMUONTrackParam.h" 
-#include "AliMUONChamber.h" 
-#include "AliRun.h"
+#include "AliRun.h" // for gAlice
 
 ClassImp(AliMUONSegment) // Class implementation in ROOT context
 
@@ -157,8 +115,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);