Update with mods in AliMpSegFactory class
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 13 Jan 2006 10:17:21 +0000 (10:17 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 13 Jan 2006 10:17:21 +0000 (10:17 +0000)
MUON/AliMUONDisplay.cxx
MUON/AliMUONRawData.cxx

index 868311f50ae807a0773e95b4e689acf3c16d4dbb..b49cc98b1a8b84fc213edb61dc2d8a689fcae904 100644 (file)
@@ -937,7 +937,7 @@ void AliMUONDisplay::DrawView(Float_t theta, Float_t phi, Float_t psi)
       }
     }
     // Delete mapping segmentations created with factory
-    segFactory.Delete();
+    segFactory.DeleteSegmentations();
     
 //add clusters to the pad
     DrawClusters();
index c568ba4b600d9f8180162af3752c05bc844b13c8..4ffc6c16c56409ecd69e73928b6ad22101ffb14b 100644 (file)
@@ -138,7 +138,8 @@ AliMUONRawData::operator=(const AliMUONRawData& rhs)
 //__________________________________________________________________________
 AliMUONRawData::~AliMUONRawData(void)
 {
-  if (fSegFactory) fSegFactory->Clear();
+  if (fSegFactory) 
+    fSegFactory->DeleteSegmentations();
   delete fSegFactory;