26 gROOT->LoadMacro(dir +
"MyTasks.cxx+");
28 gROOT->ProcessLine(
"#define __RUN_TASKS__ 1");
29 gROOT->ProcessLine(
TString(
"#include \"") + dir +
"tasks.C\"");
30 gROOT->ProcessLine(
"runtasks()");
31 gROOT->ProcessLine(
"#undef __RUN_TASKS__");
39 TTask *run =
new MyRun(
"run",
"Process one run");
64 gROOT->GetListOfTasks()->Add(run);
65 gROOT->GetListOfBrowsables()->Add(run);
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
R__EXTERN TSystem * gSystem
Using a TBrowser one can browse all ROOT objects.
TString & ReplaceAll(const TString &s1, const TString &s2)
virtual const char * UnixPathName(const char *unixpathname)
Convert from a local pathname to a Unix pathname.
<div class="legacybox"><h2>Legacy Code</h2> TTask is a legacy interface: there will be no bug fixes n...
virtual void Add(TTask *task)
Add TTask to this.