X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=MUON%2Fmapping%2FAliMpSubZone.cxx;h=a4943644efbf394916c8115d6f0b93671fd283a7;hb=42d368d0397f5fc8ab30fe024e60664a87b00fb1;hp=430123f78f1653c7c79f40e9531fc276a4e688d4;hpb=dee1d5f18d249b20534cefbbba1f0a292b1c9a5d;p=u%2Fmrichter%2FAliRoot.git diff --git a/MUON/mapping/AliMpSubZone.cxx b/MUON/mapping/AliMpSubZone.cxx index 430123f78f1..a4943644efb 100755 --- a/MUON/mapping/AliMpSubZone.cxx +++ b/MUON/mapping/AliMpSubZone.cxx @@ -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 @@ -24,19 +24,23 @@ // Included in AliRoot: 2003/05/02 // Authors: David Guez, Ivana Hrivnacova; IPN Orsay -#include -#include - #include "AliMpSubZone.h" #include "AliMpVRowSegment.h" #include "AliMpVMotif.h" +#include "AliLog.h" + +#include + +/// \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; }