]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpRow.cxx
- Reordering includes from most specific to more general ones
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpRow.cxx
index d68f88f918203a9a3edd06d52cc9f2f0307b37f2..8711dfe2486f420b7d217efe4ff980290ca30e55 100755 (executable)
@@ -14,7 +14,7 @@
  **************************************************************************/
 
 // $Id$
-// $MpId: AliMpRow.cxx,v 1.7 2005/08/26 15:43:36 ivana Exp $
+// $MpId: AliMpRow.cxx,v 1.8 2006/03/17 11:38:43 ivana Exp $
 // Category: sector
 //
 // Class AliMpRow
 // Included in AliRoot: 2003/05/02
 // Authors: David Guez, Ivana Hrivnacova; IPN Orsay
 
-#include <Riostream.h>
-#include <TError.h>
-#include <TMath.h>
-
 #include "AliMpRow.h"
 #include "AliMpVRowSegment.h"
 #include "AliMpVRowSegmentSpecial.h"
@@ -37,6 +33,9 @@
 #include "AliMpMotifMap.h"
 #include "AliMpConstants.h"
 
+#include <TMath.h>
+#include <Riostream.h>
+
 ClassImp(AliMpRow)
 
 //_____________________________________________________________________________
@@ -442,8 +441,6 @@ Double_t AliMpRow::SetOffsetY(Double_t offsetY)
      Double_t sizeY = GetRowSegment(i)->HalfSizeY();
      
      if (TMath::Abs(sizeY - rowSizeY) >= AliMpConstants::LengthTolerance()) {
-       //cout << GetID() << "th row " << i << "th segment " 
-       //     << sizeY << "  " << rowSizeY  << endl;
        Fatal("SetOffsetY", "Motif with different Y size in one row");
        return 0.;
      }  
@@ -476,7 +473,7 @@ AliMpVRowSegment* AliMpRow::GetRowSegment(Int_t i) const
 /// Return i-th row segment.
 
   if (i<0 || i>=GetNofRowSegments()) {
-    Warning("GetRowSegment", "Index outside range");
+    AliWarningStream() << "Index outside range" << endl;
     return 0;
   }