From: cvetan Date: Wed, 23 Feb 2011 18:25:47 +0000 (+0000) Subject: Set ownership of objects in the output list. X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=1331753600b2891b1d09e5aba153cf0dbf0af7e7;p=u%2Fmrichter%2FAliRoot.git Set ownership of objects in the output list. --- diff --git a/PWG1/AliAnaVZEROQA.cxx b/PWG1/AliAnaVZEROQA.cxx index aed4a23315d..84c3f466cfc 100644 --- a/PWG1/AliAnaVZEROQA.cxx +++ b/PWG1/AliAnaVZEROQA.cxx @@ -172,6 +172,7 @@ void AliAnaVZEROQA::UserCreateOutputObjects() AliInfo("AliAnaVZEROQA::UserCreateOutputObjects"); // Create output container fListOfHistos = new TList(); + fListOfHistos->SetOwner(); fhAdcNoTimeA = CreateHisto1D("hAdcNoTimeA","ADC (no Leading Time) V0A",200,0,200,"ADC charge","Entries"); fhAdcWithTimeA = CreateHisto1D("hAdcWithTimeA","ADC ( with Leading Time) V0A",200,0,200,"ADC charge","Entries");