26 unsigned long long stime = thisHeader.
GetTime().GetStartRunUnix();
27 unsigned long long sothertime = otherHeader.GetTime().GetStartRunUnix();
30 if(stime != sothertime) {
39 long long othertime = otherHeader.GetTime().GetFromStartRunNs();
42 double diff = llabs(time-othertime);
45 int ochannel = otherEvent.
Get<
QPulseInfo>(
"DAQ",
"PulseInfo").GetChannelId();
#define Q_BEGIN_NAMESPACE
const std::string & GetString(const std::string &parname, const std::string &defVal, bool warnCfg=true) const
Get a string parameter from config file ( see GetDouble() )
double GetDouble(const std::string &parname, double defVal, bool warnCfg=true) const
Get a double parameter from config file.
const Q & GetByLabel(const QEventLabel &label) const
Get a QObject in read mode by label.
void Get(const char *owner, ReadHandle< Q > &handle) const
Get a QObject Handle in read mode.
Raw event: bolometer channel, trigger positions and types.
Base class for diana event readers.
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.