Bug fix
authorcholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 10 May 2011 11:14:48 +0000 (11:14 +0000)
committercholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 10 May 2011 11:14:48 +0000 (11:14 +0000)
PWG2/FORWARD/analysis2/AddTaskFMDELoss.C

index 62447c2276f088753531b92f7f4c18bfcd87c4e7..125a420a5d59bd77652a7c514c3f406476de8555 100644 (file)
@@ -74,14 +74,21 @@ AddTaskFMDELoss(Bool_t mc, Bool_t useCent)
   AliFMDCorrELossFit::ELossFit::fgMaxChi2nu   = 10;
     
   // --- Make the output container and connect it --------------------
-  TString outputfile = AliAnalysisManager::GetCommonFileName();
+  TString outputfile = ;
   // outputfile += ":PWG2forwardDnDeta"; 
   // Form(":%s",pars->GetDndetaAnalysisName());
   AliAnalysisDataContainer* histOut = 
     mgr->CreateContainer("Forward", TList::Class(), 
-                        AliAnalysisManager::kOutputContainer,outputfile);
+                        AliAnalysisManager::kOutputContainer,
+                        AliAnalysisManager::GetCommonFileName());
+  AliAnalysisDataContainer *output = 
+    mgr->CreateContainer("ForwardResults", TList::Class(), 
+                        AliAnalysisManager::kParamContainer, 
+                        AliAnalysisManager::GetCommonFileName());
   mgr->ConnectInput(task, 0, mgr->GetCommonInputContainer());
   mgr->ConnectOutput(task, 1, histOut);
+  mgr->ConnectOutput(task, 2, output);
+
 
   return task;
 }