Diana Software
QReaderEventGenerator.hh
Go to the documentation of this file.
1 #ifndef _Q_READER_EVENTGENERATOR_HH_
2 #define _Q_READER_EVENTGENERATOR_HH_
3 
14 #include <string>
15 #include "QDiana.hh"
16 
18 
19 class QReader;
20 class QEvent;
21 class QCachedEventList;
22 class QEventAssembler;
23 
25 {
26  public:
28 
29  void InitBase(const QReader& reader,QEventAssembler &eva);
30 
31  virtual void Init(const QReader& reader,QEventAssembler &eva) = 0;
32 
33  virtual void FillList(const QEvent& ev, QCachedEventList& list) = 0;
34 
35  private:
36  std::string fName;
37 };
38 
39 
41 
42 #endif
#define Q_END_NAMESPACE
Definition: QDiana.hh:22
#define Q_BEGIN_NAMESPACE
Definition: QDiana.hh:20
Visitor class of QEvent that provides full handling of QEvent.
diana event
Definition: QEvent.hh:46
Base class for event generators such as side pulses generators.
virtual void Init(const QReader &reader, QEventAssembler &eva)=0
virtual void FillList(const QEvent &ev, QCachedEventList &list)=0
void InitBase(const QReader &reader, QEventAssembler &eva)
Base class for diana event readers.
Definition: QReader.hh:50