]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpRowSegmentLSpecial.cxx
From Cvetan: new macro to load ITS clusters.
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpRowSegmentLSpecial.cxx
index 1559beeacc98c31f2dea9a527c23313f8e694073..0b3c8e7f6b255696c400d5faee1b0a0ab43cc09a 100755 (executable)
@@ -14,7 +14,7 @@
  **************************************************************************/
 
 // $Id$
-// $MpId: AliMpRowSegmentLSpecial.cxx,v 1.5 2005/08/26 15:43:36 ivana Exp $
+// $MpId: AliMpRowSegmentLSpecial.cxx,v 1.7 2006/05/24 13:58:46 ivana Exp $
 // Category: sector
 //
 // Class AliMpRowSegmentLSpecial
@@ -24,7 +24,8 @@
 // Included in AliRoot: 2003/05/02
 // Authors: David Guez, Ivana Hrivnacova; IPN Orsay
 
-#include <TError.h>
+#include <Riostream.h>
+#include <TMath.h>
 
 #include "AliMpRowSegmentLSpecial.h"
 #include "AliMpRow.h"
 #include "AliMpMotifPosition.h"
 #include "AliMpConstants.h"
 
+#include "AliLog.h"
+
+/// \cond CLASSIMP
 ClassImp(AliMpRowSegmentLSpecial)
+/// \endcond
 
 //______________________________________________________________________________
 AliMpRowSegmentLSpecial::AliMpRowSegmentLSpecial(AliMpRow* row, Double_t offsetX)
@@ -106,13 +111,13 @@ TVector2 AliMpRowSegmentLSpecial::MotifCenterSlow(Int_t motifPositionId) const
   
   // Check if the motifPositionId is present 
   if (!downPadRowSegment || !rightPadRowSegment) {
-    Error("MotifCenter", "Outside row segment region");
+    AliErrorStream() << "Outside row segment region" << endl;
     return 0;
   }
 
   // Check if both pad row segments have the same motif 
   if (downPadRowSegment->GetMotif() != rightPadRowSegment->GetMotif()) {
-    Fatal("MotifCenter", "Outside row segment region");
+    AliFatal("Outside row segment region");
     return 0;
   }
 
@@ -195,7 +200,7 @@ Double_t  AliMpRowSegmentLSpecial::RightBorderX() const
   }  
 
   if (TMath::Abs(GetOffsetX() - rightBorder) > 1.e-04)  {
-    Error("RightBorderX", "WrongBorder");
+    AliErrorStream() << "WrongBorder" << endl;
     return sameBorder;
   }