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");
 
   40   TTask *
event    = 
new MyEvent(
"event",
"Process one event");
 
   41   TTask *geomInit = 
new MyGeomInit(
"geomInit",
"Geometry Initialisation");
 
   42   TTask *matInit  = 
new MyMaterialInit(
"matInit",
"Materials Initialisation");
 
   43   TTask *tracker  = 
new MyTracker(
"tracker",
"Tracker manager");
 
   44   TTask *tpc      = 
new MyRecTPC(
"tpc",
"TPC Reconstruction");
 
   45   TTask *its      = 
new MyRecITS(
"its",
"ITS Reconstruction");
 
   46   TTask *muon     = 
new MyRecMUON(
"muon",
"MUON Reconstruction");
 
   47   TTask *phos     = 
new MyRecPHOS(
"phos",
"PHOS Reconstruction");
 
   48   TTask *rich     = 
new MyRecRICH(
"rich",
"RICH Reconstruction");
 
   49   TTask *trd      = 
new MyRecTRD(
"trd",
"TRD Reconstruction");
 
   50   TTask *global   = 
new MyRecGlobal(
"global",
"Global Reconstruction");
 
   64   gROOT->GetListOfTasks()->Add(run);
 
   65   gROOT->GetListOfBrowsables()->Add(run);
 
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.