CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Static Protected Member Functions
TrajectoryStateClosestToPointBuilder Class Referenceabstract

#include <TrajectoryStateClosestToPointBuilder.h>

Inheritance diagram for TrajectoryStateClosestToPointBuilder:
TSCPBuilderNoMaterial

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

Definition at line 19 of file TrajectoryStateClosestToPointBuilder.h.

Definition at line 18 of file TrajectoryStateClosestToPointBuilder.h.

Constructor & Destructor Documentation

virtual TrajectoryStateClosestToPointBuilder::~TrajectoryStateClosestToPointBuilder ( )
inlinevirtual

Definition at line 21 of file TrajectoryStateClosestToPointBuilder.h.

21 {}

Member Function Documentation

static TrajectoryStateClosestToPoint TrajectoryStateClosestToPointBuilder::constructTSCP ( const FTS originalFTS,
const GlobalPoint referencePoint 
)
inlinestaticprotected
virtual TrajectoryStateClosestToPoint TrajectoryStateClosestToPointBuilder::operator() ( const FTS originalFTS,
const GlobalPoint referencePoint 
) const
pure virtual

Implemented in TSCPBuilderNoMaterial.

virtual TrajectoryStateClosestToPoint TrajectoryStateClosestToPointBuilder::operator() ( const TSOS originalTSOS,
const GlobalPoint referencePoint 
) const
pure virtual

Implemented in TSCPBuilderNoMaterial.

static bool TrajectoryStateClosestToPointBuilder::positionEqual ( const GlobalPoint ptB,
const GlobalPoint ptA 
)
inlinestatic

Definition at line 29 of file TrajectoryStateClosestToPointBuilder.h.

Referenced by TSCPBuilderNoMaterial::operator()().

29  {
30  return ptA==ptB;
31  }