Add in the UserCreateOutputObjects a set owner and post data for the output container...
authorgconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 11 Mar 2010 10:36:48 +0000 (10:36 +0000)
committergconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 11 Mar 2010 10:36:48 +0000 (10:36 +0000)
PWG4/PartCorrBase/AliAnalysisTaskParticleCorrelation.cxx

index ba9fb27d3528f223838a4ee1cc7e88de4410a5fe..76afbdfdc02d92fc0e65dede61d19a971e35aad1 100755 (executable)
@@ -92,7 +92,11 @@ void AliAnalysisTaskParticleCorrelation::UserCreateOutputObjects()
   //Histograms container
   OpenFile(1);
   fOutputContainer = fAna->GetOutputContainer();
+  fOutputContainer->SetOwner();
   if (DebugLevel() > 1) printf("AliAnalysisTaskParticleCorrelation::UserCreateOutputObjects() - End\n");
+  PostData(1,fOutputContainer);
+       
 }
 
 //_____________________________________________________