![]() |
![]() |
#include <ClosestApproachOnHelices.h>
Public Member Functions | |
virtual bool | calculate (const TrajectoryStateOnSurface &sta, const TrajectoryStateOnSurface &stb)=0 |
virtual bool | calculate (const FreeTrajectoryState &sta, const FreeTrajectoryState &stb)=0 |
virtual ClosestApproachOnHelices * | clone () const =0 |
ClosestApproachOnHelices () | |
virtual GlobalPoint | crossingPoint () const =0 |
virtual float | distance () const =0 |
virtual std::pair< GlobalPoint, GlobalPoint > | points () const =0 |
virtual bool | status () const =0 |
virtual | ~ClosestApproachOnHelices () |
Abstract interface for classes which compute the points of closest approach of 2 helices.
For a pair of states, the calculate methods have to be called before any of the other methods. This will do all calculations needed to get the result. It returns a status which says whether the calculation was successful. This should be checked before getting the result. If the status is false and the results querried, an exception will be thrown.
Definition at line 21 of file ClosestApproachOnHelices.h.
ClosestApproachOnHelices::ClosestApproachOnHelices | ( | ) | [inline] |
Definition at line 25 of file ClosestApproachOnHelices.h.
{}
virtual ClosestApproachOnHelices::~ClosestApproachOnHelices | ( | ) | [inline, virtual] |
Definition at line 27 of file ClosestApproachOnHelices.h.
{}
virtual bool ClosestApproachOnHelices::calculate | ( | const TrajectoryStateOnSurface & | sta, |
const TrajectoryStateOnSurface & | stb | ||
) | [pure virtual] |
Implemented in TangentApproachInRPhi, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.
virtual bool ClosestApproachOnHelices::calculate | ( | const FreeTrajectoryState & | sta, |
const FreeTrajectoryState & | stb | ||
) | [pure virtual] |
Implemented in TangentApproachInRPhi, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.
virtual ClosestApproachOnHelices* ClosestApproachOnHelices::clone | ( | ) | const [pure virtual] |
Implemented in GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, TangentApproachInRPhi, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.
virtual GlobalPoint ClosestApproachOnHelices::crossingPoint | ( | ) | const [pure virtual] |
Crossing point of the 2 helices, computed as an average of the points of closest approach. The average can be weighted or not, depending on the implementation.
Implemented in TangentApproachInRPhi, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.
virtual float ClosestApproachOnHelices::distance | ( | ) | const [pure virtual] |
Distance between the points of closest approach
Implemented in TangentApproachInRPhi, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.
virtual std::pair<GlobalPoint, GlobalPoint> ClosestApproachOnHelices::points | ( | ) | const [pure virtual] |
Points of closest approach on the 2 helices
Implemented in TangentApproachInRPhi, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.
virtual bool ClosestApproachOnHelices::status | ( | ) | const [pure virtual] |
Implemented in TangentApproachInRPhi, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.