KiTrack
1.7.0
|
Criterion: Check if two hits are compatible with a helix crossing the IP. More...
#include <Crit2_HelixWithIP.h>
Public Member Functions | |
Crit2_HelixWithIP (float ratioMin, float ratioMax) | |
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: Check if two hits are compatible with a helix crossing the IP.
The procedure is this: a circle is calculated from the two hits and the IP. The angle between the center of the circle and two hits is calles alpha here. alpha between IP and the first hit is proportional to the z-distance of the IP and the first hit in the same way alpha between the first and second hit should be proportional to the z-distance of those hits. The value calculated is
and is 1 for a perfect helix around the z - axis.
|
virtual |
Implements KiTrack::ICriterion.
References KiTrack::IHit::getX(), KiTrack::IHit::getY(), and KiTrack::IHit::getZ().