set ownership of cuts container
authorgconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 24 Feb 2011 16:19:10 +0000 (16:19 +0000)
committergconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 24 Feb 2011 16:19:10 +0000 (16:19 +0000)
PWG4/PartCorrBase/AliAnalysisTaskParticleCorrelation.cxx
PWG4/PartCorrBase/AliAnalysisTaskParticleCorrelationM.cxx

index 37fa7df..eceb0ec 100755 (executable)
@@ -113,7 +113,7 @@ void AliAnalysisTaskParticleCorrelation::UserCreateOutputObjects()
   if (DebugLevel() > 1) printf("AliAnalysisTaskParticleCorrelation::UserCreateOutputObjects() - End\n");
  
   PostData(1,fOutputContainer);
-       
+
 }
 //_____________________________________________________
 void AliAnalysisTaskParticleCorrelation::LocalInit()
@@ -125,7 +125,7 @@ void AliAnalysisTaskParticleCorrelation::LocalInit()
        
        // Create cuts/param objects and publish to slot
        fCuts = fAna->GetListOfAnalysisCuts();
-       
+       fCuts ->SetOwner(kTRUE);
        // Post Data
        PostData(2, fCuts);
        
index cab8074..4a04d4a 100755 (executable)
@@ -130,7 +130,8 @@ void AliAnalysisTaskParticleCorrelationM::LocalInit()
        
        // Create cuts/param objects and publish to slot
        fCuts = fAna->GetListOfAnalysisCuts();
-       
+  fCuts ->SetOwner(kTRUE);
+
        // Post Data
        PostData(2, fCuts);