Added an output file for average cross section and number of trials from pyxsec.root...
[u/mrichter/AliRoot.git] / ANALYSIS / runAODFilterMC.C
index 513482c..20a686d 100644 (file)
@@ -96,6 +96,9 @@ void runAODFilterMC()
       if(bKineFilter){
        mgr->ConnectInput  (kinefilter,     0, cinput1  );
        mgr->ConnectOutput (kinefilter,     0, coutput1 );
+       AliAnalysisDataContainer *coutputEx = mgr->CreateContainer("cFilterList", TList::Class(),
+                                                                  AliAnalysisManager::kOutputContainer,"pyxsec_hists.root");
+       mgr->ConnectOutput (kinefilter,     1, coutputEx );
       }
 
        mgr->ConnectInput  (esdfilter,     0, cinput1  );