Diana Software
QReaderNeighbour.hh
Go to the documentation of this file.
1 #ifndef _Q_READER_NEIGHBOR_HH_
2 #define _Q_READER_NEIGHBOR_HH_
3 
4 
5 #include <string>
6 #include "QDiana.hh"
8 
10 
11 class QReader;
12 class QEvent;
13 
15  public:
16 
21  };
22 
24 
25  virtual ~QReaderNeighbour() {}
26  void InitBase(const QReader& reader);
27 
28  virtual void Init(const QReader& reader) = 0;
29 
30  class NeighbourInfo {
31  public:
34  };
35 
36  virtual NeighbourInfo GetNeighbourInfoBase(const QEvent& thisEvent, const QEvent& otherEvent);
37 
38  virtual NeighbourInfo GetNeighbourInfo(const QEvent& thisEvent, const QEvent& otherEvent) = 0;
39 
40  virtual bool GetWantsNeighboursBase(const QEvent& thisEvent);
41  virtual bool GetWantsNeighbours(const QEvent& thisEvent);
42 
43  int GetFillStrategy() const { return fFillStrategy; }
44 
45  protected:
46 
48 
49  private:
50  std::string fName;
51 
52 };
53 
54 
56 
57 #endif
#define Q_END_NAMESPACE
Definition: QDiana.hh:22
#define Q_BEGIN_NAMESPACE
Definition: QDiana.hh:20
diana event
Definition: QEvent.hh:46
Simple base class for time profiling a module.
virtual ~QReaderNeighbour()
virtual void Init(const QReader &reader)=0
int GetFillStrategy() const
virtual bool GetWantsNeighbours(const QEvent &thisEvent)
virtual NeighbourInfo GetNeighbourInfoBase(const QEvent &thisEvent, const QEvent &otherEvent)
virtual NeighbourInfo GetNeighbourInfo(const QEvent &thisEvent, const QEvent &otherEvent)=0
void InitBase(const QReader &reader)
FillStrategies fFillStrategy
virtual bool GetWantsNeighboursBase(const QEvent &thisEvent)
Base class for diana event readers.
Definition: QReader.hh:50