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.
class MyRun :
public TTask {
public:
MyRun() {;}
MyRun(
const char *
name,
const char *title);
virtual ~MyRun() {;}
};
class MyEvent :
public TTask {
public:
MyEvent() {;}
MyEvent(
const char *
name,
const char *title);
virtual ~MyEvent() {;}
};
class MyGeomInit :
public TTask {
public:
MyGeomInit() {;}
MyGeomInit(
const char *
name,
const char *title);
virtual ~MyGeomInit() {;}
};
class MyMaterialInit :
public TTask {
public:
MyMaterialInit() {;}
MyMaterialInit(
const char *
name,
const char *title);
virtual ~MyMaterialInit() {;}
};
class MyTracker :
public TTask {
public:
MyTracker() {;}
MyTracker(
const char *
name,
const char *title);
virtual ~MyTracker() {;}
};
class MyRecTPC :
public TTask {
public:
MyRecTPC() {;}
MyRecTPC(
const char *
name,
const char *title);
virtual ~MyRecTPC() {;}
};
class MyRecITS :
public TTask {
public:
MyRecITS() {;}
MyRecITS(
const char *
name,
const char *title);
virtual ~MyRecITS() {;}
};
class MyRecMUON :
public TTask {
public:
MyRecMUON() {;}
MyRecMUON(
const char *
name,
const char *title);
virtual ~MyRecMUON() {;}
};
class MyRecPHOS :
public TTask {
public:
MyRecPHOS() {;}
MyRecPHOS(
const char *
name,
const char *title);
virtual ~MyRecPHOS() {;}
};
class MyRecRICH :
public TTask {
public:
MyRecRICH() {;}
MyRecRICH(
const char *
name,
const char *title);
virtual ~MyRecRICH() {;}
};
class MyRecTRD :
public TTask {
public:
MyRecTRD() {;}
MyRecTRD(
const char *
name,
const char *title);
virtual ~MyRecTRD() {;}
};
class MyRecGlobal :
public TTask {
public:
MyRecGlobal() {;}
MyRecGlobal(
const char *
name,
const char *title);
virtual ~MyRecGlobal() {;}
};
MyRun::MyRun(
const char *
name,
const char *title)
{
}
{
printf("MyRun executing\n");
}
MyEvent::MyEvent(
const char *
name,
const char *title)
{
}
{
printf("MyEvent executing\n");
}
MyGeomInit::MyGeomInit(
const char *
name,
const char *title)
{
}
{
printf("MyGeomInit executing\n");
}
MyMaterialInit::MyMaterialInit(
const char *
name,
const char *title)
{
}
{
printf("MyMaterialInit executing\n");
}
MyTracker::MyTracker(
const char *
name,
const char *title)
{
}
{
printf("MyTracker executing\n");
}
MyRecTPC::MyRecTPC(
const char *
name,
const char *title)
{
}
{
printf("MyRecTPC executing\n");
}
MyRecITS::MyRecITS(
const char *
name,
const char *title)
{
}
{
printf("MyRecITS executing\n");
}
MyRecMUON::MyRecMUON(
const char *
name,
const char *title)
{
}
{
printf("MyRecMUON executing\n");
}
MyRecPHOS::MyRecPHOS(
const char *
name,
const char *title)
{
}
{
printf("MyRecPHOS executing\n");
}
MyRecRICH::MyRecRICH(
const char *
name,
const char *title)
{
}
{
printf("MyRecRICH executing\n");
}
MyRecTRD::MyRecTRD(
const char *
name,
const char *title)
{
}
{
printf("MyRecTRD executing\n");
}
MyRecGlobal::MyRecGlobal(
const char *
name,
const char *title)
{
}
{
printf("MyRecGlobal executing\n");
}
#define ClassDef(name, id)
TTask is a base class that can be used to build a complex tree of Tasks.
virtual void Exec(Option_t *option)
Dummy Execute.
- Author
- Rene Brun
Definition in file MyTasks.cxx.