Skip to content

Commit

Permalink
fix call to AddTask macro when running synchronously (in emulation)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrzewic committed Aug 23, 2016
1 parent 8881d80 commit edb3e4e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion HLT/global/physics/AliHLTAnalysisManagerComponent.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,9 @@ void* AliHLTAnalysisManagerComponent::AnalysisManagerInit(void*)
if (fAddTaskMacro.Length()>0)
{
HLTInfo("Executing the macro: %s\n",fAddTaskMacro.Data());
gROOT->Macro(fAddTaskMacro + "\\;");
TString addTaskMacro(fAddTaskMacro);
if (fQueueDepth!=0) { addTaskMacro+="\\;"; }
gROOT->Macro(addTaskMacro);
}

if (fAnalysisManager->InitAnalysis() == kFALSE)
Expand Down

0 comments on commit edb3e4e

Please sign in to comment.