#include <TrajectoryStateClosestToPointBuilder.h>
Public Types | |
typedef FreeTrajectoryState | FTS |
typedef TrajectoryStateOnSurface | TSOS |
Public Member Functions | |
virtual TrajectoryStateClosestToPoint | operator() (const FTS &originalFTS, const GlobalPoint &referencePoint) const =0 |
virtual TrajectoryStateClosestToPoint | operator() (const TSOS &originalTSOS, const GlobalPoint &referencePoint) const =0 |
bool | positionEqual (const GlobalPoint &ptB, const GlobalPoint &ptA) const |
virtual | ~TrajectoryStateClosestToPointBuilder () |
Protected Member Functions | |
TrajectoryStateClosestToPoint | constructTSCP (const FTS &originalFTS, const GlobalPoint &referencePoint) const |
This class builds a TrajectoryStateClosestToPoint given an original TrajectoryStateOnSurface or FreeTrajectoryState. This new state is then defined at the point of closest approach to the reference point. In case the propagation was not successful, this state can be invalid.
Definition at line 14 of file TrajectoryStateClosestToPointBuilder.h.
Definition at line 18 of file TrajectoryStateClosestToPointBuilder.h.
Definition at line 17 of file TrajectoryStateClosestToPointBuilder.h.
virtual TrajectoryStateClosestToPointBuilder::~TrajectoryStateClosestToPointBuilder | ( | ) | [inline, virtual] |
Definition at line 20 of file TrajectoryStateClosestToPointBuilder.h.
{}
TrajectoryStateClosestToPoint TrajectoryStateClosestToPointBuilder::constructTSCP | ( | const FTS & | originalFTS, |
const GlobalPoint & | referencePoint | ||
) | const [inline, protected] |
Definition at line 37 of file TrajectoryStateClosestToPointBuilder.h.
Referenced by TSCPBuilderNoMaterial::operator()().
{return TrajectoryStateClosestToPoint(originalFTS, referencePoint);}
virtual TrajectoryStateClosestToPoint TrajectoryStateClosestToPointBuilder::operator() | ( | const TSOS & | originalTSOS, |
const GlobalPoint & | referencePoint | ||
) | const [pure virtual] |
Implemented in TSCPBuilderNoMaterial.
virtual TrajectoryStateClosestToPoint TrajectoryStateClosestToPointBuilder::operator() | ( | const FTS & | originalFTS, |
const GlobalPoint & | referencePoint | ||
) | const [pure virtual] |
Implemented in TSCPBuilderNoMaterial.
bool TrajectoryStateClosestToPointBuilder::positionEqual | ( | const GlobalPoint & | ptB, |
const GlobalPoint & | ptA | ||
) | const [inline] |
Definition at line 28 of file TrajectoryStateClosestToPointBuilder.h.
References PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by TSCPBuilderNoMaterial::operator()().