source: branches/start/MagicSoft/Mars/mbase/MTaskList.h@ 9584

Last change on this file since 9584 was 454, checked in by harald, 24 years ago
Import the first sources of the MAGIC Analysis and Reconstruction Software. T. Bretz and H. Kornmayer 20.December 2000
File size: 691 bytes
Line 
1#ifndef MTASKLIST_H
2#define MTASKLIST_H
3
4#ifndef ROOT_TOrdCollection
5#include <TOrdCollection.h>
6#endif
7#ifndef MTASK_H
8#include "MTask.h"
9#endif
10
11class MParList;
12class MInputStreamID;
13
14class MTaskList : public MTask
15{
16private:
17 TOrdCollection fTasks; // Container for the ordered list of different tasks
18
19
20public:
21 MTaskList(const char *title=NULL);
22
23 MTaskList(MTaskList &ts);
24
25 Bool_t AddToList(MTask *task, const char *tType="All", MTask *where = NULL);
26
27 Bool_t PreProcess(MParList *pList);
28 Bool_t Process();
29 Bool_t PostProcess();
30
31 void Print(Option_t *t = NULL);
32
33 ClassDef(MTaskList, 1) // Collection of tasks to be performed in the eventloop
34};
35
36#endif
Note: See TracBrowser for help on using the repository browser.