Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
MyTasks.cxx File Reference

Detailed Description

A set of classes deriving from TTask.

See macro tasks.C to see an example of use The Exec function of each class prints one line when it is called.

#include "TTask.h"
class MyRun : public TTask {
public:
MyRun() {;}
MyRun(const char *name, const char *title);
virtual ~MyRun() {;}
void Exec(Option_t *option="");
ClassDef(MyRun,1) // Run Reconstruction task
};
class MyEvent : public TTask {
public:
MyEvent() {;}
MyEvent(const char *name, const char *title);
virtual ~MyEvent() {;}
void Exec(Option_t *option="");
ClassDef(MyEvent,1) // Event Reconstruction task
};
class MyGeomInit : public TTask {
public:
MyGeomInit() {;}
MyGeomInit(const char *name, const char *title);
virtual ~MyGeomInit() {;}
void Exec(Option_t *option="");
ClassDef(MyGeomInit,1) // Geometry initialisation task
};
class MyMaterialInit : public TTask {
public:
MyMaterialInit() {;}
MyMaterialInit(const char *name, const char *title);
virtual ~MyMaterialInit() {;}
void Exec(Option_t *option="");
ClassDef(MyMaterialInit,1) // Materials initialisation task
};
class MyTracker : public TTask {
public:
MyTracker() {;}
MyTracker(const char *name, const char *title);
virtual ~MyTracker() {;}
void Exec(Option_t *option="");
ClassDef(MyTracker,1) // Main Reconstruction task
};
class MyRecTPC : public TTask {
public:
MyRecTPC() {;}
MyRecTPC(const char *name, const char *title);
virtual ~MyRecTPC() {;}
void Exec(Option_t *option="");
ClassDef(MyRecTPC,1) // TPC Reconstruction
};
class MyRecITS : public TTask {
public:
MyRecITS() {;}
MyRecITS(const char *name, const char *title);
virtual ~MyRecITS() {;}
void Exec(Option_t *option="");
ClassDef(MyRecITS,1) // ITS Reconstruction
};
class MyRecMUON : public TTask {
public:
MyRecMUON() {;}
MyRecMUON(const char *name, const char *title);
virtual ~MyRecMUON() {;}
void Exec(Option_t *option="");
ClassDef(MyRecMUON,1) // MUON Reconstruction
};
class MyRecPHOS : public TTask {
public:
MyRecPHOS() {;}
MyRecPHOS(const char *name, const char *title);
virtual ~MyRecPHOS() {;}
void Exec(Option_t *option="");
ClassDef(MyRecPHOS,1) // PHOS Reconstruction
};
class MyRecRICH : public TTask {
public:
MyRecRICH() {;}
MyRecRICH(const char *name, const char *title);
virtual ~MyRecRICH() {;}
void Exec(Option_t *option="");
ClassDef(MyRecRICH,1) // RICH Reconstruction
};
class MyRecTRD : public TTask {
public:
MyRecTRD() {;}
MyRecTRD(const char *name, const char *title);
virtual ~MyRecTRD() {;}
void Exec(Option_t *option="");
ClassDef(MyRecTRD,1) // TRD Reconstruction
};
class MyRecGlobal : public TTask {
public:
MyRecGlobal() {;}
MyRecGlobal(const char *name, const char *title);
virtual ~MyRecGlobal() {;}
void Exec(Option_t *option="");
ClassDef(MyRecGlobal,1) // Global Reconstruction
};
////////////////////////////////////////////////////////////////////////////////
MyRun::MyRun(const char *name, const char *title)
:TTask(name,title)
{
}
void MyRun::Exec(Option_t * /*option*/)
{
printf("MyRun executing\n");
}
////////////////////////////////////////////////////////////////////////////////
MyEvent::MyEvent(const char *name, const char *title)
:TTask(name,title)
{
}
void MyEvent::Exec(Option_t * /*option*/)
{
printf("MyEvent executing\n");
}
////////////////////////////////////////////////////////////////////////////////
MyGeomInit::MyGeomInit(const char *name, const char *title)
:TTask(name,title)
{
}
void MyGeomInit::Exec(Option_t * /*option*/)
{
printf("MyGeomInit executing\n");
}
////////////////////////////////////////////////////////////////////////////////
MyMaterialInit::MyMaterialInit(const char *name, const char *title)
:TTask(name,title)
{
}
void MyMaterialInit::Exec(Option_t * /*option*/)
{
printf("MyMaterialInit executing\n");
}
////////////////////////////////////////////////////////////////////////////////
MyTracker::MyTracker(const char *name, const char *title)
:TTask(name,title)
{
}
void MyTracker::Exec(Option_t * /*option*/)
{
printf("MyTracker executing\n");
}
////////////////////////////////////////////////////////////////////////////////
MyRecTPC::MyRecTPC(const char *name, const char *title)
:TTask(name,title)
{
}
void MyRecTPC::Exec(Option_t * /*option*/)
{
printf("MyRecTPC executing\n");
}
////////////////////////////////////////////////////////////////////////////////
MyRecITS::MyRecITS(const char *name, const char *title)
:TTask(name,title)
{
}
void MyRecITS::Exec(Option_t * /*option*/)
{
printf("MyRecITS executing\n");
}
////////////////////////////////////////////////////////////////////////////////
MyRecMUON::MyRecMUON(const char *name, const char *title)
:TTask(name,title)
{
}
void MyRecMUON::Exec(Option_t * /*option*/)
{
printf("MyRecMUON executing\n");
}
////////////////////////////////////////////////////////////////////////////////
MyRecPHOS::MyRecPHOS(const char *name, const char *title)
:TTask(name,title)
{
}
void MyRecPHOS::Exec(Option_t * /*option*/)
{
printf("MyRecPHOS executing\n");
}
////////////////////////////////////////////////////////////////////////////////
MyRecRICH::MyRecRICH(const char *name, const char *title)
:TTask(name,title)
{
}
void MyRecRICH::Exec(Option_t * /*option*/)
{
printf("MyRecRICH executing\n");
}
////////////////////////////////////////////////////////////////////////////////
MyRecTRD::MyRecTRD(const char *name, const char *title)
:TTask(name,title)
{
}
void MyRecTRD::Exec(Option_t * /*option*/)
{
printf("MyRecTRD executing\n");
}
////////////////////////////////////////////////////////////////////////////////
MyRecGlobal::MyRecGlobal(const char *name, const char *title)
:TTask(name,title)
{
}
void MyRecGlobal::Exec(Option_t * /*option*/)
{
printf("MyRecGlobal executing\n");
}
const char Option_t
Definition RtypesCore.h:66
#define ClassDef(name, id)
Definition Rtypes.h:325
char name[80]
Definition TGX11.cxx:110
TTask is a base class that can be used to build a complex tree of Tasks.
Definition TTask.h:35
virtual void Exec(Option_t *option)
Dummy Execute.
Definition TTask.cxx:259
Author
Rene Brun

Definition in file MyTasks.cxx.