]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
In AliMUONCluster:
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 7 Sep 2010 13:54:22 +0000 (13:54 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 7 Sep 2010 13:54:22 +0000 (13:54 +0000)
Reverting previous commit as it has unwanted side effects.

MUON/AliMUONCluster.cxx

index 92419876bd37769a904a705e5c0dd4ff733dcb86..a40d9fe005e2a2bec14e879359fced7c85bdbb0e 100644 (file)
@@ -144,17 +144,16 @@ AliMUONCluster::operator=(const AliMUONCluster& src)
 AliMUONCluster::~AliMUONCluster()
 {
   /// dtor : note that we're owner of our pads
-  //  fPads.Delete();
+//   fPads.Delete();
 }
 
 //_____________________________________________________________________________
 void
 AliMUONCluster::Clear(Option_t*)
 {
-  /// Clear our pad array.
-  /// We have to call the destructor of TObjArray to be sure that all
-  /// allocated memory is released.
-  fPads.~TObjArray();
+  /// Clear our pad array
+  fPads.Clear();
+//  fPads.Delete();
 }
 
 //_____________________________________________________________________________