Diana Software
MRerunSequence.hh
Go to the documentation of this file.
1 #ifndef _M_RERUN_SEQUENCE_HH_
2 #define _M_RERUN_SEQUENCE_HH_
3 
27 #include "QModule.hh"
28 
29 class MRerunSequence : public Diana::QModule {
30 
31 public:
32 
34  void Init(Diana::QEvent& ev);
35 
37  void Do(Diana::QEvent& ev);
38 
40  void Done();
41 
42 private:
43  unsigned int fTimesToRun;
44 
45 };
46 
47 #endif
48 
Just sets the flag to rerun the sequence some number of times.
unsigned int fTimesToRun
void Init(Diana::QEvent &ev)
Init method gets the number of times to run.
void Do(Diana::QEvent &ev)
Do method does nothing.
void Done()
Done method checks the iteration count and sets rerun.