**************************************************************************/
// $Id$
-// $MpId: AliMpRow.cxx,v 1.7 2005/08/26 15:43:36 ivana Exp $
+// $MpId: AliMpRow.cxx,v 1.9 2006/05/24 13:58:46 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"
#include "AliMpMotifMap.h"
#include "AliMpConstants.h"
+#include "AliLog.h"
+
+#include <TMath.h>
+#include <Riostream.h>
+
+/// \cond CLASSIMP
ClassImp(AliMpRow)
+/// \endcond
//_____________________________________________________________________________
AliMpRow::AliMpRow(Int_t id, AliMpMotifMap* motifMap)
/// Default constructor
}
-//_____________________________________________________________________________
-AliMpRow::AliMpRow(const AliMpRow& right)
- : AliMpVIndexed(right)
-{
-/// Protected copy constructor (not provided)
-
- Fatal("AliMpRow", "Copy constructor not provided.");
-}
-
//_____________________________________________________________________________
AliMpRow::~AliMpRow()
{
#endif
}
-//
-// operators
-//
-
-//_____________________________________________________________________________
-AliMpRow& AliMpRow::operator=(const AliMpRow& right)
-{
-/// Protected assignment operator (not provided)
-
- // check assignment to self
- if (this == &right) return *this;
-
- Fatal("operator =", "Assignment operator not provided.");
-
- return *this;
-}
-
//
// private methods
//
}
//_____________________________________________________________________________
-void AliMpRow::SetGlobalIndices(AliMpDirection constPadSizeDirection,
+void AliMpRow::SetGlobalIndices(AliMp::Direction constPadSizeDirection,
AliMpRow* rowBefore)
{
/// Set the global indices limits to its row segments, motif positions
// Find the y index value of the low edge
if (rowBefore) {
- if (constPadSizeDirection == kY) {
+ if (constPadSizeDirection == AliMp::kY) {
iy = rowBefore->GetHighIndicesLimit().GetSecond()+1;
}
else {
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.;
}
/// Return i-th row segment.
if (i<0 || i>=GetNofRowSegments()) {
- Warning("GetRowSegment", "Index outside range");
+ AliWarningStream() << "Index outside range" << endl;
return 0;
}