1 #ifndef __JACOUSTICS__JEVENTOVERLAP__
2 #define __JACOUSTICS__JEVENTOVERLAP__
11 namespace JACOUSTICS {}
12 namespace JPP {
using namespace JACOUSTICS; }
14 namespace JACOUSTICS {
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);
JEventOverlap(const double Tmax_s)
Constructor.
then echo The file $DIR KM3NeT_00000001_00000000 root already please rename or remove it first
bool operator()(const JEvent &first, const JEvent &second) const
Match criterion.
double getTmax() const
Get time window.
Match of two events considering overlap in time.