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 868311f..b49cc98 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 c568ba4..4ffc6c1 100644 (file)
@@ -138,7 +138,8 @@ AliMUONRawData::operator=(const AliMUONRawData& rhs)
 //__________________________________________________________________________
 AliMUONRawData::~AliMUONRawData(void)
 {
-  if (fSegFactory) fSegFactory->Clear();
+  if (fSegFactory) 
+    fSegFactory->DeleteSegmentations();
   delete fSegFactory;