1#ifndef __JACOUSTICS__JEVENTOVERLAP__
2#define __JACOUSTICS__JEVENTOVERLAP__
41 if (first .empty())
return false;
42 if (second.empty())
return false;
44 return (first.rbegin()->getToE() >= second. begin()->getToE() -
tmax_s &&
45 first. begin()->getToE() <= second.rbegin()->getToE() +
tmax_s);
Auxiliary classes and methods for acoustic position calibration.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Match of two events considering overlap in time and position.
bool operator()(const JEvent &first, const JEvent &second) const
Match criterion.
double getTmax() const
Get time window.
JEventOverlap(const double Tmax_s)
Constructor.