]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpSector.cxx
- TExMap replaced with the new AliMpExMap type (Root persistent)
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpSector.cxx
index 6d5db82819a006ffd99ed36b178b103b2039e45b..a2f970188aaedcf96d0f431b78b61fdf3c93eff3 100755 (executable)
@@ -14,7 +14,7 @@
  **************************************************************************/
 
 // $Id$
-// $MpId: AliMpSector.cxx,v 1.9 2005/09/02 10:01:09 ivana Exp $
+// $MpId: AliMpSector.cxx,v 1.10 2005/09/26 16:12:23 ivana Exp $
 // Category: sector
 //
 // Class AliMpSector
@@ -41,7 +41,7 @@ ClassImp(AliMpSector)
 //_____________________________________________________________________________
 AliMpSector::AliMpSector(const TString& id, Int_t nofZones, Int_t nofRows, 
                          AliMpDirection direction, const TVector2& offset) 
-  : TObject(),
+  : TNamed("Sector", ""),
     fID(id),
     fOffset(offset),
     fZones(),
@@ -51,7 +51,8 @@ AliMpSector::AliMpSector(const TString& id, Int_t nofZones, Int_t nofRows,
 {
 /// Standard constructor
 
-  fMotifMap = new AliMpMotifMap();
+  fMotifMap = new AliMpMotifMap(true);
+  //fMotifMap = new AliMpMotifMap();
 
 #ifdef WITH_STL
   for (Int_t izone = 0; izone<nofZones; izone++) 
@@ -72,7 +73,7 @@ AliMpSector::AliMpSector(const TString& id, Int_t nofZones, Int_t nofRows,
 
 //_____________________________________________________________________________
 AliMpSector::AliMpSector(const AliMpSector& right) 
-  : TObject(right) 
+  : TNamed(right) 
 {
 /// Protected copy constructor (not provided) 
 
@@ -81,7 +82,7 @@ AliMpSector::AliMpSector(const AliMpSector& right)
 
 //_____________________________________________________________________________
 AliMpSector::AliMpSector() 
-  : TObject(),
+  : TNamed(),
     fID(""),    
     fOffset(TVector2(0., 0.)),
     fZones(),