1 #ifndef __JTRIGGER__JMATCH1D__
2 #define __JTRIGGER__JMATCH1D__
16 namespace JPP {
using namespace JTRIGGER; }
30 template<
class JHit_t>
42 const double Tmax_ns = 0.0) :
68 virtual bool operator()(
const JHit_t& first,
const JHit_t& second)
const
70 z = first.getZ() - second.getZ();
77 x = first.getX() - second.getX();
78 y = first.getY() - second.getY();
JMatch< JHit_t > * clone() const
Clone object.
JMatch1D(const double roadWidth_m, const double Tmax_ns=0.0)
Constructor.
Function object interface for hit matching.
virtual bool operator()(const JHit_t &first, const JHit_t &second) const
Match operator.
Base class for match operations inside clusterize methods.