Belle II Software development
|
Predicate class to check for the containment of axial and stereo hits in some hough space part. More...
#include <StereoHitContained.h>
Public Types | |
using | HoughBox = typename AInBox::HoughBox |
The hough box which represents the hough space part to be investigated. | |
Public Member Functions | |
Weight | operator() (const CDCSegment2D *segment2D, const HoughBox *houghBox) |
Checks if more than 66% of the hits in this segment are contained in the phi0 curv hough space Returns the sum of the individual hit weights in this case. | |
Weight | operator() (const CDCRecoHit2D *recoHit2D, const HoughBox *houghBox) |
Checks if the two dimensional reconstructed hit is contained in a phi0 curv hough space. | |
Weight | operator() (const CDCWireHit *wireHit, const HoughBox *houghBox) |
Checks if the wire hit is contained in a phi0 curv hough space. | |
Weight | operator() (CDCRLWireHit &rlTaggedWireHit, const HoughBox *houghBox) |
Checks if the wire hit is contained in a phi0 curv hough space. | |
ERightLeft | containsRightOrLeft (const HoughBox &houghBox, const CDCWire &wire, double driftLength, ERightLeft rlInfo=ERightLeft::c_Unknown) |
Checks if a wire hit at a drift length is contained in the hough space part It investigates both right left passage hypotheses. | |
bool | contains (const HoughBox &houghBox, const CDCWire &wire, double signedDriftLength) |
Checks if a wire hit at a signed drift length is contained in the hough space part. | |
void | setRLWeightGain (float rlWeightGain) |
Setter for the gain in weight for hits which rl passage could be uniquly resolved. | |
float | setRLWeightGain () const |
Getter for the gain in weight for hits which rl passage could be uniquly resolved. | |
Private Attributes | |
float | m_rlWeightGain = 0 |
Weight gain for a hit which right left passage hypotheses could be uniquely resolved. | |
Predicate class to check for the containment of axial and stereo hits in some hough space part.
The hough space is parameterised as a template parameter and is a basic objected that has been broadened by a sweep in the directions of interested.
Definition at line 35 of file StereoHitContained.h.
using HoughBox = typename AInBox::HoughBox |
The hough box which represents the hough space part to be investigated.
Definition at line 42 of file StereoHitContained.h.
Checks if a wire hit at a signed drift length is contained in the hough space part.
Definition at line 156 of file StereoHitContained.h.
|
inline |
Checks if a wire hit at a drift length is contained in the hough space part It investigates both right left passage hypotheses.
The evaluation can be limited by the optional rlInfo parameter, for instance when one passage hypothese could already be ruled out.
Definition at line 136 of file StereoHitContained.h.
|
inline |
Checks if the wire hit is contained in a phi0 curv hough space.
If the wire hit was already determined to be right or left of all tracks in a wider hough hough box up the hierarchy only evaluate for that orientation. If one of the right left passage hypothesis can be ruled out in this hough box signal so by tagging it. Note the that the CDCRLWireHit is obtained as non-const reference to be able to write back the new right left passage hypothesis. Returns 1.0 if it is contained, returns NAN if it is not contained. Accepts if either the right passage hypothesis or the left passage hypothesis is in the hough box.
Definition at line 111 of file StereoHitContained.h.
|
inline |
Checks if the two dimensional reconstructed hit is contained in a phi0 curv hough space.
Returns 1.0 if it is contained, returns NAN if it is not contained.
Definition at line 74 of file StereoHitContained.h.
|
inline |
Checks if more than 66% of the hits in this segment are contained in the phi0 curv hough space Returns the sum of the individual hit weights in this case.
Else returns NAN.
Definition at line 47 of file StereoHitContained.h.
|
inline |
Checks if the wire hit is contained in a phi0 curv hough space.
Returns 1.0 if it is contained, returns NAN if it is not contained. Accepts if either the right passage hypothesis or the left passage hypothesis is in the hough box.
Definition at line 90 of file StereoHitContained.h.
|
inline |
Getter for the gain in weight for hits which rl passage could be uniquly resolved.
Definition at line 178 of file StereoHitContained.h.
|
inline |
Setter for the gain in weight for hits which rl passage could be uniquly resolved.
Definition at line 174 of file StereoHitContained.h.
|
private |
Weight gain for a hit which right left passage hypotheses could be uniquely resolved.
Definition at line 183 of file StereoHitContained.h.