Diana Software
QTimeNeighbour.hh
Go to the documentation of this file.
1 
2 #ifndef _Q_TIME_NEIGHBOUR_HH_
3 #define _Q_TIME_NEIGHBOUR_HH_
4 
5 #include "QReaderNeighbour.hh"
6 #include "QEventLabel.hh"
7 
21 {
22 public:
28  void Init(const QReader& reader);
31  const QEvent& otherEvent);
32  bool GetWantsNeighbours(const QEvent& thisEvent);
33 
34 private:
35  double fWindowSizeMs;
38  long long fOffsetNs;
40 };
41 
43 #endif
#define Q_END_NAMESPACE
Definition: QDiana.hh:22
#define Q_BEGIN_NAMESPACE
Definition: QDiana.hh:20
label for QObject in the QEvent
Definition: QEventLabel.hh:23
diana event
Definition: QEvent.hh:46
Base class for diana event readers.
Definition: QReader.hh:50
Neighbours that are neighbours in time.
long long fOffsetNs
bool GetWantsNeighbours(const QEvent &thisEvent)
double fNeighbourDistanceMs
double fNeighbourOffsetMs
void Init(const QReader &reader)
Initialzation.
QReaderNeighbour::NeighbourInfo GetNeighbourInfo(const QEvent &thisEvent, const QEvent &otherEvent)
Get the neighbour info between two events.
QEventLabel fFiltVar