Belle II Software development
|
Predicate class to check for the containment of hits in a z0 tan lambda hough space part. More...
#include <HitInZ0TanLambdaBox.h>
Public Types | |
using | HoughBox = Z0TanLambdaBox |
Use a Z0TanLambdaBox. | |
Public Member Functions | |
Weight | operator() (const CDCRecoHit3D &recoHit, const HoughBox *z0TanLambdaBox) |
Checks if the wire hit is contained in a z0 tan lambda hough space. | |
Static Public Member Functions | |
static bool | compareDistances (const HoughBox &z0TanLambdaBox, const CDCRecoHit3D &lhsRecoHit, const CDCRecoHit3D &rhsRecoHit) |
Compares distances from two hits to the track represented by the given box. | |
static const char * | debugLine () |
ROOT-compatible formula for z(s) = z0 + tanlambda * s. | |
Predicate class to check for the containment of hits in a z0 tan lambda hough space part.
Note this part this code defines the performance of the search in the hough plain quite significantly and there is probably room for improvement.
Definition at line 25 of file HitInZ0TanLambdaBox.h.
using HoughBox = Z0TanLambdaBox |
Use a Z0TanLambdaBox.
Definition at line 29 of file HitInZ0TanLambdaBox.h.
|
inlinestatic |
Compares distances from two hits to the track represented by the given box.
The comparison is done based on reconstructed Z coordinates of hits and track Z position.
Definition at line 65 of file HitInZ0TanLambdaBox.h.
|
inlinestatic |
ROOT-compatible formula for z(s) = z0 + tanlambda * s.
Definition at line 83 of file HitInZ0TanLambdaBox.h.
|
inline |
Checks if the wire hit is contained in a z0 tan lambda hough space.
Returns 1.0 if it is contained, returns NAN if it is not contained.
Definition at line 35 of file HitInZ0TanLambdaBox.h.