#include <TwoTrackMinimumDistanceLineLine.h>
Public Member Functions | |
bool | calculate (const GlobalTrajectoryParameters &, const GlobalTrajectoryParameters &) |
double | firstAngle () const |
std::pair< double, double > | pathLength () const |
std::pair< GlobalPoint, GlobalPoint > | points () const |
double | secondAngle () const |
Private Attributes | |
GlobalPoint | gPos |
GlobalPoint | hPos |
double | pathG |
double | pathH |
double | phiG |
double | phiH |
This is a helper class for TwoTrackMinimumDistance. No user should need direct access to this class. Exact solution.
Definition at line 17 of file TwoTrackMinimumDistanceLineLine.h.
bool TwoTrackMinimumDistanceLineLine::calculate | ( | const GlobalTrajectoryParameters & | theG, |
const GlobalTrajectoryParameters & | theH | ||
) |
Calculates the point of closest approach on the two tracks.
Definition at line 7 of file TwoTrackMinimumDistanceLineLine.cc.
References GlobalTrajectoryParameters::charge(), Vector3DBase< T, FrameTag >::dot(), gPos, hPos, MagneticField::inTesla(), PV3DBase< T, PVType, FrameType >::mag(), GlobalTrajectoryParameters::magneticField(), GlobalTrajectoryParameters::momentum(), pathG, pathH, PV3DBase< T, PVType, FrameType >::phi(), phiG, phiH, GlobalTrajectoryParameters::position(), and PV3DBase< T, PVType, FrameType >::z().
|
inline |
std::pair< double, double > TwoTrackMinimumDistanceLineLine::pathLength | ( | ) | const |
Definition at line 63 of file TwoTrackMinimumDistanceLineLine.cc.
std::pair< GlobalPoint, GlobalPoint > TwoTrackMinimumDistanceLineLine::points | ( | ) | const |
Definition at line 59 of file TwoTrackMinimumDistanceLineLine.cc.
|
inline |
|
private |
Definition at line 40 of file TwoTrackMinimumDistanceLineLine.h.
Referenced by calculate(), and points().
|
private |
Definition at line 40 of file TwoTrackMinimumDistanceLineLine.h.
Referenced by calculate(), and points().
|
private |
Definition at line 39 of file TwoTrackMinimumDistanceLineLine.h.
Referenced by calculate(), and pathLength().
|
private |
Definition at line 39 of file TwoTrackMinimumDistanceLineLine.h.
Referenced by calculate(), and pathLength().
|
private |
Definition at line 38 of file TwoTrackMinimumDistanceLineLine.h.
Referenced by calculate(), and firstAngle().
|
private |
Definition at line 38 of file TwoTrackMinimumDistanceLineLine.h.
Referenced by calculate(), and secondAngle().