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 37fa7df52c9944df12b7cbd8220d70a9d40de30c..eceb0ec0ee2bd590cd51e98cb74fdf4d94675d2b 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 cab8074570ec73ac34241124aa99b7752004fb49..4a04d4a837c29e7d31d53cd9e69d8aa33efed6a6 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);