set owner for tlist
authorsimones <simones@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 18 Jun 2012 14:04:28 +0000 (14:04 +0000)
committersimones <simones@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 18 Jun 2012 14:04:28 +0000 (14:04 +0000)
PWGLF/STRANGENESS/LambdaK0PbPb/AliAnalysisTaskV0ForRAA.cxx

index e5948a9..619a565 100644 (file)
@@ -491,7 +491,8 @@ void AliAnalysisTaskV0ForRAA::UserCreateOutputObjects(){
 
    fOutputContainer = new TList() ;
    fOutputContainer->SetName(GetName()) ;
-
+   fOutputContainer->SetOwner();
    Int_t mchist = 1;// for Data
    if((fMCMode && fMCTruthMode) || fMCTruthMode) mchist = 2;