Belle II Software
release-08-01-10
|
Predicate class to check for the containment of hits in a p q hough space part. More...
#include <HitInQuadraticBox.h>
Public Types | |
using | HoughBox = PQBox |
Use a PQBox. | |
Public Member Functions | |
Weight | operator() (const CDCRecoHit3D &recoHit, const HoughBox *pqBox) |
Checks if the wire hit is contained in a p q hough space. More... | |
Static Public Member Functions | |
static bool | compareDistances (const HoughBox &pqBox, const CDCRecoHit3D &lhsRecoHit, const CDCRecoHit3D &rhsRecoHit) |
Compares distances from two hits to the track represented by the given box. More... | |
static const char * | debugLine () |
ROOT-compatible formula for z(s) = (p + 4q)*s - q/25 * s^2. | |
Predicate class to check for the containment of hits in a p q hough space part.
FIXME physical names of parameters? z(s) = 0 + (p + 4q)*s - q/25 * s^2 p - z coordinate of track in outer layers of CDC (in units of 100cm //CDC radius is 113) q - divergence of track from straight line in the middle of CDC (in units of 100cm) 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 28 of file HitInQuadraticBox.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 68 of file HitInQuadraticBox.h.
|
inline |
Checks if the wire hit is contained in a p q hough space.
Returns 1.0 if it is contained, returns NAN if it is not contained.
Definition at line 38 of file HitInQuadraticBox.h.