#include "AliEveMacroExecutor.h"
#include "AliEveMacro.h"
#include "AliEveEventManager.h"
+#include "AliSysInfo.h"
#include <TEveUtil.h>
#include <TList.h>
Long_t result = 0;
TInterpreter::EErrorCode error = TInterpreter::kNoError;
+ AliSysInfo::AddStamp(Form("%s_%s_before",mac->GetMacro().Data(), mac->GetFunc().Data()));
result = gInterpreter->ProcessLine(cmd, &error);
+ AliSysInfo::AddStamp(Form("%s_%s_after",mac->GetMacro().Data(), mac->GetFunc().Data()));
// Try to fix broken cint state? Code taken form pyroot.
if (G__get_return(0) > G__RETURN_NORMAL)
G__security_recover(0);
}
- if (error)
+ if (error != TInterpreter::kNoError)
{
mac->SetExecError();
Error("ExecMacros", "Executing %s::%s, CINT error ... hopefully recovered.",