Belle II Software development
|
Predicate class to check for the containment of hits in a z0 tan lambda hough space part using a different algorithm than normal. More...
#include <HitInZ0TanLambdaBoxUsingZ.h>
Public Types | |
using | HoughBox = Z0TanLambdaBox |
Use a Z0TanLambdaBox. | |
Public Member Functions | |
Weight | operator() (const CDCRecoHit3D &recoHit, const HoughBox *z0TanLambdaBox) |
Return exp{-distance} with distance = distance between the trajectory constructed from the box parameters and the hit in the xy-plane. | |
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 using a different algorithm than normal.
Instead of calculating of the hit belongs to the box, it constructs a trajectory out if the box parameters (using its taln lambda and z0) and checks the distance from the hit to the trajectory. It returns e^{-distance}. 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 33 of file HitInZ0TanLambdaBoxUsingZ.h.
using HoughBox = Z0TanLambdaBox |
Use a Z0TanLambdaBox.
Definition at line 37 of file HitInZ0TanLambdaBoxUsingZ.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 74 of file HitInZ0TanLambdaBoxUsingZ.h.
|
inlinestatic |
ROOT-compatible formula for z(s) = z0 + tanlambda * s.
Definition at line 92 of file HitInZ0TanLambdaBoxUsingZ.h.
|
inline |
Return exp{-distance} with distance = distance between the trajectory constructed from the box parameters and the hit in the xy-plane.
Note that this is not a binary decision and must be used with some sort of cutoff (because otherwise all hits belong in all boxes).
Definition at line 44 of file HitInZ0TanLambdaBoxUsingZ.h.