**************************************************************************/
// $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
// 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)
// 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;
}
}
if (TMath::Abs(GetOffsetX() - rightBorder) > 1.e-04) {
- Error("RightBorderX", "WrongBorder");
+ AliErrorStream() << "WrongBorder" << endl;
return sameBorder;
}