make container @ slot #1 owner
authorabercuci <abercuci@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 21 Jul 2011 11:24:13 +0000 (11:24 +0000)
committerabercuci <abercuci@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 21 Jul 2011 11:24:13 +0000 (11:24 +0000)
PWG1/TRD/AliTRDv0Monitor.cxx

index c57f9eb..4c808a0 100644 (file)
@@ -99,7 +99,7 @@ TObjArray* AliTRDv0Monitor::Histos()
   // Called once
   if(fContainer) return fContainer;
 
-  fContainer = new TObjArray(kNPlots);
+  fContainer = new TObjArray(kNPlots); fContainer->SetOwner();
   fContainer->SetName("V0Monitoring");
   
   const char *samplename[AliPID::kSPECIES] = {"electrons","muons","pions","kaons","protons"};