]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONCluster.cxx
Update to ease RejectList creation by hand
[u/mrichter/AliRoot.git] / MUON / AliMUONCluster.cxx
index 92419876bd37769a904a705e5c0dd4ff733dcb86..df5f10b58e4e9c7ef878cde48d7802507d91d1bb 100644 (file)
@@ -40,6 +40,8 @@
 ///
 //-----------------------------------------------------------------------------
 
+using std::cout;
+using std::endl;
 /// \cond CLASSIMP
 ClassImp(AliMUONCluster)
 /// \endcond
@@ -144,17 +146,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();
 }
 
 //_____________________________________________________________________________