Go to the documentation of this file. 1 #ifndef __JTRIGGER__JMATCH3B__
2 #define __JTRIGGER__JMATCH3B__
33 template<
class JHit_t>
35 public JClonable< JMatch<JHit_t>, JMatch3B<JHit_t> >
45 const double Tmax_ns = 0.0) :
79 virtual bool operator()(
const JHit_t& first,
const JHit_t& second)
const
81 x = first.getX() - second.getX();
82 y = first.getY() - second.getY();
83 z = first.getZ() - second.getZ();
85 t = fabs(first.getT() - second.getT());
virtual bool operator()(const JHit_t &first, const JHit_t &second) const
Match operator.
JMatch3B(const double road_width_m, const double Tmax_ns=0.0)
Constructor.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
3D match criterion with road width.
Template class for object cloning.