Last change
on this file since 7462 was 447, checked in by harald, 24 years ago |
Bringing the sources for the octobertest under CVS controll.
(november, 3rd, 2000)
|
-
Property svn:executable
set to
*
|
File size:
599 bytes
|
Line | |
---|
1 | #ifndef MTASK_H
|
---|
2 | #define MTASK_H
|
---|
3 |
|
---|
4 | #include "Magic.h"
|
---|
5 |
|
---|
6 | #include "TOrdCollection.h"
|
---|
7 |
|
---|
8 | class MParList;
|
---|
9 |
|
---|
10 | class MTask : public TObject
|
---|
11 | {
|
---|
12 | private:
|
---|
13 | char *fID; //! type of raw event which should be processed by this task
|
---|
14 |
|
---|
15 | public:
|
---|
16 | ~MTask()
|
---|
17 | {
|
---|
18 | if (fID)
|
---|
19 | delete fID;
|
---|
20 | }
|
---|
21 |
|
---|
22 | virtual Bool_t PreProcess(MParList *pList);
|
---|
23 | virtual Bool_t Process();
|
---|
24 | virtual Bool_t PostProcess();
|
---|
25 |
|
---|
26 | void SetEventType(const char *evt);
|
---|
27 |
|
---|
28 | const char *GetEventType() const
|
---|
29 | {
|
---|
30 | return (const char*) fID;
|
---|
31 | }
|
---|
32 |
|
---|
33 | ClassDef(MTask, 1) // Base (abstract) class for a task
|
---|
34 | };
|
---|
35 |
|
---|
36 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.