**************************************************************************/
// $Id$
-// $MpId: AliMpSubZone.cxx,v 1.6 2005/08/26 15:43:36 ivana Exp $
+// $MpId: AliMpSubZone.cxx,v 1.8 2006/05/24 13:58:46 ivana Exp $
// Category: sector
//
// Class AliMpSubZone
// Included in AliRoot: 2003/05/02
// Authors: David Guez, Ivana Hrivnacova; IPN Orsay
-#include <Riostream.h>
-#include <TError.h>
-
#include "AliMpSubZone.h"
#include "AliMpVRowSegment.h"
#include "AliMpVMotif.h"
+#include "AliLog.h"
+
+#include <Riostream.h>
+
+/// \cond CLASSIMP
ClassImp(AliMpSubZone)
+/// \endcond
//_____________________________________________________________________________
AliMpSubZone::AliMpSubZone(AliMpVMotif* motif)
: TObject(),
- fMotif(motif)
+ fMotif(motif),
+ fSegments()
{
/// Standard constructor
}
//_____________________________________________________________________________
AliMpSubZone::AliMpSubZone()
: TObject(),
- fMotif(0)
+ fMotif(0),
+ fSegments()
{
/// Default constructor
}
-//_____________________________________________________________________________
-AliMpSubZone::AliMpSubZone(const AliMpSubZone& right)
- : TObject(right)
-{
-/// Protected copy constructor (not provided)
-
- Fatal("AliMpSubZone", "Copy constructor not provided.");
-}
-
//_____________________________________________________________________________
AliMpSubZone::~AliMpSubZone()
{
// Destructor
}
-//
-// operators
-//
-
-//_____________________________________________________________________________
-AliMpSubZone& AliMpSubZone::operator=(const AliMpSubZone& right)
-{
-/// Protected assignment operator (not provided)
-
- // check assignment to self
- if (this == &right) return *this;
-
- Fatal("operator =", "Assignment operator not provided.");
-
- return *this;
-}
-
//
// public methods
//
/// Return i-th row segment.
if (i<0 || i>=GetNofRowSegments()) {
- Warning("GetRowSegment", "Index outside range");
+ AliErrorStream() << "Index outside range" << endl;
return 0;
}