source: trunk/MagicSoft/Mars/mbase/MEvtLoop.h@ 600

Last change on this file since 600 was 599, checked in by tbretz, 24 years ago
*** empty log message ***
File size: 1.1 KB
Line 
1#ifndef MEVTLOOP_H
2#define MEVTLOOP_H
3
4/////////////////////////////////////////////////////////////////////////////
5// //
6// MEvtLoop //
7// //
8// Class to execute the tasks in a tasklist //
9// //
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef MAGIC_H
13#include "MAGIC.h"
14#endif
15
16class MParList;
17class MTaskList;
18
19class MEvtLoop
20{
21private:
22 MParList *fParlist;
23 MTaskList *fTaskList;
24
25public:
26 MEvtLoop();
27 virtual ~MEvtLoop();
28
29 void SetParList(MParList *p);
30
31 Bool_t PreProcess(const char *tlist="MTaskList");
32 void Process(Int_t maxcnt) const;
33 void PostProcess() const;
34
35 void Eventloop(Int_t maxcnt=-1, const char *tlist="MTaskList");
36
37 ClassDef(MEvtLoop, 1) // Class to execute the tasks in a tasklist
38};
39
40#endif
Note: See TracBrowser for help on using the repository browser.