]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpSubZone.cxx
- Added new functions:
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpSubZone.cxx
index 430123f78f1653c7c79f40e9531fc276a4e688d4..a4943644efbf394916c8115d6f0b93671fd283a7 100755 (executable)
@@ -14,7 +14,7 @@
  **************************************************************************/
 
 // $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
 }
@@ -44,43 +48,18 @@ AliMpSubZone::AliMpSubZone(AliMpVMotif* motif)
 //_____________________________________________________________________________
 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
 //
@@ -137,7 +116,7 @@ AliMpVRowSegment* AliMpSubZone::GetRowSegment(Int_t i) const
 /// Return i-th row segment.
 
   if (i<0 || i>=GetNofRowSegments()) {
-    Warning("GetRowSegment", "Index outside range");
+    AliErrorStream() << "Index outside range" << endl;
     return 0;
   }