KiTrack
1.7.0
|
Criterion: use the first 3 hits to extrapolate the location in xy for a given z of the last hit. More...
#include <Crit4_DistToExtrapolation.h>
Public Member Functions | |
Crit4_DistToExtrapolation (float distMin, float distMax) | |
virtual bool | areCompatible (Segment *parent, Segment *child) throw ( BadSegmentLength ) |
![]() | |
std::map< std::string, float > | getMapOfValues () |
void | setSaveValues (bool saveValues) |
Sets, whether the calculated values shall be saved in a map. | |
std::string | getName () |
std::string | getType () |
Additional Inherited Members | |
![]() | |
std::map< std::string, float > | _map_name_value |
bool | _saveValues |
std::string | _name |
std::string | _type |
Criterion: use the first 3 hits to extrapolate the location in xy for a given z of the last hit.
Then measure the distance from the extrapolation to the hit. (Also divide by the z distance to the last hit, in order to take into account that with farther distances the accuracy drops)
Crit4_DistToExtrapolation::Crit4_DistToExtrapolation | ( | float | distMin, |
float | distMax | ||
) |
distMax |
|
virtual |
Implements KiTrack::ICriterion.
References KiTrack::IHit::getX(), KiTrack::IHit::getY(), and KiTrack::IHit::getZ().