1 #ifndef __JTRIGGER__JMATCH3B__
2 #define __JTRIGGER__JMATCH3B__
16 namespace JPP {
using namespace JTRIGGER; }
33 template<
class JHit_t>
45 const double Tmax_ns = 0.0) :
90 virtual bool operator()(
const JHit_t& first,
const JHit_t& second)
const
92 x = first.getX() - second.getX();
93 y = first.getY() - second.getY();
94 z = first.getZ() - second.getZ();
96 t = fabs(first.getT() - second.getT());
virtual bool operator()(const JHit_t &first, const JHit_t &second) const
Match operator.
Function object interface for hit matching.
JMatch< JHit_t > * clone() const
Clone object.
Base class for match operations inside clusterize methods.
JMatch3B(const double road_width_m, const double Tmax_ns=0.0)
Constructor.
3D match criterion with road width.