Error fixed in output folder name
authorcoppedis <coppedis@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 2 May 2012 10:35:16 +0000 (10:35 +0000)
committercoppedis <coppedis@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 2 May 2012 10:35:16 +0000 (10:35 +0000)
PWGLF/FORWARD/macros/AddTaskZDCPbPb.C

index 8cbb770..f300582 100644 (file)
@@ -51,7 +51,7 @@ AliAnalysisTaskSE* AddTaskZDCPbPb(Bool_t  applyPS = kFALSE,
    
    AliAnalysisDataContainer *coutput  = mgr->CreateContainer("ZDChistos", TList::Class(),
                                        AliAnalysisManager::kOutputContainer,   
-                                       Form("%s:%s", mgr->GetCommonFileName(), outfname));
+                                       Form("%s:%s", mgr->GetCommonFileName(), outfname.Data()));
 
    mgr->ConnectInput  (task, 0, mgr->GetCommonInputContainer());
    mgr->ConnectOutput (task, 1, coutput);