**************************************************************************/
// $Id$
-// $MpId: AliMpRowSegment.cxx,v 1.8 2005/08/26 15:43:36 ivana Exp $
+// $MpId: AliMpRowSegment.cxx,v 1.9 2006/03/17 11:38:43 ivana Exp $
// Category: sector
//
// Class AliMpRowSegment
// Included in AliRoot: 2003/05/02
// Authors: David Guez, Ivana Hrivnacova; IPN Orsay
-#include <TError.h>
-#include <TMath.h>
-
#include "AliMpRowSegment.h"
#include "AliMpRow.h"
#include "AliMpVMotif.h"
#include "AliMpMotifPosition.h"
#include "AliMpConstants.h"
+#include <TMath.h>
+#include <Riostream.h>
+
ClassImp(AliMpRowSegment)
//_____________________________________________________________________________
// Check if x is in the row segment range
if (! HasMotifPosition(motifPositionId)) {
- Error("MotifCenterX", "Outside row segment region");
+ AliErrorStream() << "Outside row segment region" << endl;
return 0;
}
// Check if x is in the row segment range
if (! HasMotifPosition(motifPositionId)) {
- Error("MotifCenterY", "Outside row segment region");
+ AliErrorStream() << "Outside row segment region" << endl;
return 0;
}
if ( position.X() < LeftBorderX() || position.X() > RightBorderX() ||
position.Y() < minY || position.Y() > maxY ) {
- if (warn) Error("MotifPositionId", "Outside row segment region");
+ if (warn)
+ AliWarningStream() << "Outside row segment region" << endl;
return false;
}
else