MINT2
IEventGenerator.h
Go to the documentation of this file.
1 #ifndef IEVENT_GENERATOR_HH
2 #define IEVENT_GENERATOR_HH
3 // author: Jonas Rademacker (Jonas.Rademacker@bristol.ac.uk)
4 // status: Mon 9 Feb 2009 19:17:54 GMT
5 
6 #include "Mint/counted_ptr.h"
7 
8 namespace MINT{
9 
10 template<typename RETURN_TYPE>
12  public:
14  virtual bool exhausted() const=0;
15  virtual bool ensureFreshEvents()=0; // will normally randomise the seed
16  virtual ~IEventGenerator(){}
17 };
18 
19 }//namespace MINT
20 #endif
21 //
virtual bool exhausted() const =0
virtual counted_ptr< RETURN_TYPE > newEvent()=0
virtual bool ensureFreshEvents()=0