1 #ifndef __JTRIGGER__JMATCH3B__
2 #define __JTRIGGER__JMATCH3B__
16 namespace JPP {
using namespace JTRIGGER; }
33 template<
class JHit_t>
35 public JClonable< JMatch<JHit_t>, JMatch3B<JHit_t> >
45 const double Tmax_ns = 0.0) :
89 x = first.getX() - second.getX();
90 y = first.getY() - second.getY();
91 z = first.getZ() - second.getZ();
93 t = fabs(first.getT() - second.getT());
virtual bool operator()(const JHit_t &first, const JHit_t &second) const override
Match operator.
double getIndexOfRefraction()
Get average index of refraction of water corresponding to group velocity.
then echo The file $DIR KM3NeT_00000001_00000000 root already please rename or remove it first
Base class for match operations for cluster and hit-preprocessing methods.
Template class for object cloning.
then usage $script[distance] fi case set_variable R
const double getInverseSpeedOfLight()
Get inverse speed of light.
double getTanThetaC()
Get average tangent of Cherenkov angle of water corresponding to group velocity.
JMatch3B(const double road_width_m, const double Tmax_ns=0.0)
Constructor.
double getSinThetaC()
Get average sine of Cherenkov angle of water corresponding to group velocity.
3D match criterion with road width.