CMS 3D CMS Logo

Public Types | Public Member Functions | Static Public Member Functions | Static Protected Member Functions

TrajectoryStateClosestToPointBuilder Class Reference

#include <TrajectoryStateClosestToPointBuilder.h>

Inheritance diagram for TrajectoryStateClosestToPointBuilder:
GCC11_FINAL< T >

List of all members.

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
virtual ~TrajectoryStateClosestToPointBuilder ()

Static Public Member Functions

static bool positionEqual (const GlobalPoint &ptB, const GlobalPoint &ptA)

Static Protected Member Functions

static
TrajectoryStateClosestToPoint 
constructTSCP (const FTS &originalFTS, const GlobalPoint &referencePoint)

Detailed Description

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 15 of file TrajectoryStateClosestToPointBuilder.h.


Member Typedef Documentation


Constructor & Destructor Documentation

virtual TrajectoryStateClosestToPointBuilder::~TrajectoryStateClosestToPointBuilder ( ) [inline, virtual]

Definition at line 21 of file TrajectoryStateClosestToPointBuilder.h.

{}

Member Function Documentation

static TrajectoryStateClosestToPoint TrajectoryStateClosestToPointBuilder::constructTSCP ( const FTS originalFTS,
const GlobalPoint referencePoint 
) [inline, static, protected]

Definition at line 35 of file TrajectoryStateClosestToPointBuilder.h.

    {return TrajectoryStateClosestToPoint(originalFTS, referencePoint);}
virtual TrajectoryStateClosestToPoint TrajectoryStateClosestToPointBuilder::operator() ( const TSOS originalTSOS,
const GlobalPoint referencePoint 
) const [pure virtual]
virtual TrajectoryStateClosestToPoint TrajectoryStateClosestToPointBuilder::operator() ( const FTS originalFTS,
const GlobalPoint referencePoint 
) const [pure virtual]
static bool TrajectoryStateClosestToPointBuilder::positionEqual ( const GlobalPoint ptB,
const GlobalPoint ptA 
) [inline, static]

Definition at line 29 of file TrajectoryStateClosestToPointBuilder.h.

                                                                            {
    return ptA==ptB;
  }