]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG2/RESONANCES/AliRsnAnalysisSE.cxx
few modifications on package, waiting for AOD compliance corrections
[u/mrichter/AliRoot.git] / PWG2 / RESONANCES / AliRsnAnalysisSE.cxx
index c17660717acffd4a076cedf41d633975642a77ec..69202e9e219ca577fa3b05ba4d045483b46d982c 100644 (file)
@@ -85,18 +85,19 @@ void AliRsnAnalysisSE::UserCreateOutputObjects()
   {
     mgr = (AliRsnPairMgr *) fPairMgrs.At(iMgr);
     if (!mgr) continue;
-    listTmp = new TList();
-    listTmp->SetName(mgr->GetName());
+    //listTmp = new TList();
+    //listTmp->SetName(mgr->GetName());
     for (Int_t i=0;i< mgr->GetPairs()->GetEntriesFast();i++)
     {
       def = (AliRsnPair *) mgr->GetPairs()->At(i);
       if (def)
       {
-        listTmp->Add(def->GenerateHistograms(mgr->GetName()));
+        //listTmp->Add(def->GenerateHistograms(mgr->GetName()));
+        def->GenerateHistograms(mgr->GetName(), fOutList);
         if (def->IsMixed()) fDoesMixing = kTRUE;
       }
     }
-    fOutList->Add(listTmp);
+    //fOutList->Add(listTmp);
   }
 
   TH1I *hUsed = new TH1I("hRsnUsed", "skipped and used events in this analysis", 2, 0, 2);