Diana Software
MRerunSequence.cc
Go to the documentation of this file.
1 #include "MRerunSequence.hh"
2 
4 
5 using namespace Diana;
6 
8  fTimesToRun = GetInt("TimesToRun",2,false);
9 }
10 
12 
14  if(GetIteration() < fTimesToRun) SetRunAgain(true);
15 }
16 
#define REGISTER_MODULE(clazz)
Definition: QDriver.hh:133
Just sets the flag to rerun the sequence some number of times.
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.
diana event
Definition: QEvent.hh:46
the Diana namespace is needed because sometimes we use Qt libraries, that use same class names of our...