]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Changing ownership of clusterfinder (Laurent)
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 2 Jul 2007 16:35:29 +0000 (16:35 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 2 Jul 2007 16:35:29 +0000 (16:35 +0000)
MUON/AliMUONClusterReconstructor.cxx

index 5640422e6a4144e4b2b38a050453aab7f2d1a0be..61cff9a18e692c200efaaf0f640f8e0dcbf34707 100644 (file)
@@ -52,6 +52,7 @@ AliMUONClusterReconstructor::AliMUONClusterReconstructor(AliMUONVClusterFinder*
   fClusterStore(0x0)
 {
     /// Standard Constructor
+    /// Note that we adopt clusterFinder
 
   if (!transformer && clusterFinder)
   {
@@ -66,6 +67,7 @@ AliMUONClusterReconstructor::AliMUONClusterReconstructor(AliMUONVClusterFinder*
 AliMUONClusterReconstructor::~AliMUONClusterReconstructor(void)
 {
   /// Destructor
+  delete fClusterFinder;
 }
 
 //______________________________________________________________________________
@@ -75,6 +77,8 @@ AliMUONClusterReconstructor::ClusterizeOneDE(Int_t detElemId,
 {
   /// Clusterize one detection element, which digits are in digitStore
   
+//  AliDebug(1,Form("detElemId=%d, %d digits",detElemId,digitStore.GetSize()));
+  
   if ( digitStore.IsEmpty() ) return;
   
   const AliMpVSegmentation* seg[2] =