add output list
authorkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 10 Sep 2009 17:35:55 +0000 (17:35 +0000)
committerkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 10 Sep 2009 17:35:55 +0000 (17:35 +0000)
PWG4/macros/AddTaskESDfilter.C

index 698d1dd..f63a013 100644 (file)
@@ -55,7 +55,11 @@ AliAnalysisTaskESDfilter *AddTaskESDfilter(bool bUseKineFilter = true)
    if (bUseKineFilter) {\r
      mgr->ConnectInput  (kinefilter,  0, mgr->GetCommonInputContainer());\r
      mgr->ConnectOutput (kinefilter,  0, mgr->GetCommonOutputContainer());\r
-   }\r
+     AliAnalysisDataContainer *coutputEx = mgr->CreateContainer("cFilterList", TList::Class(),\r
+                                                               AliAnalysisManager::kOutputContainer,"pyxsec_hists.root");\r
+     mgr->ConnectOutput (kinefilter,  1,coutputEx);\r
+   }   \r
+\r
 \r
 \r
    return esdfilter;\r
@@ -71,7 +75,7 @@ AliESDtrackCuts *CreateCuts(Int_t iCut){
     esdTrackCuts->SetRequireTPCRefit(kTRUE);\r
     esdTrackCuts->SetMaxNsigmaToVertex(3);\r
     esdTrackCuts->SetRequireSigmaToVertex(kTRUE);\r
-    esdTrackCuts->SetAcceptKingDaughters(kFALSE);\r
+    esdTrackCuts->SetAcceptKinkDaughters(kFALSE);\r
   }\r
   \r
   return esdTrackCuts;\r