]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Bug fix for merging (A Hansen)
authorhdalsgaa <hdalsgaa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 27 Aug 2011 10:11:04 +0000 (10:11 +0000)
committerhdalsgaa <hdalsgaa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 27 Aug 2011 10:11:04 +0000 (10:11 +0000)
PWG2/FORWARD/analysis2/AliFMDSharingFilter.cxx

index b93b2efcc4c1d7f400584f80fceac36e7dbd9d00..d576ab4270c1f0d4980ece7cc40ffc6e1ed6376b 100644 (file)
@@ -94,6 +94,9 @@ AliFMDSharingFilter::AliFMDSharingFilter(const char* title)
   // Parameters:
   //    title Title of object  - not significant 
   //
+  fRingHistos.SetName(GetName());
+  fRingHistos.SetOwner();
+  
   fRingHistos.Add(new RingHistos(1, 'I'));
   fRingHistos.Add(new RingHistos(2, 'I'));
   fRingHistos.Add(new RingHistos(2, 'O'));
@@ -1271,8 +1274,10 @@ AliFMDSharingFilter::RingHistos::Output(TList* dir)
   d->Add(fNeighborsAfter);
   d->Add(fHits);
   d->Add(fSum);
-
-  dir->Add(d);
+  
+  // Removed to avoid doubly adding the list which destroys 
+  // the merging
+  //dir->Add(d);
 }
 
 //____________________________________________________________________