CMS 3D CMS Logo

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

Member Typedef Documentation

◆ FTS

Definition at line 17 of file TrajectoryStateClosestToPointBuilder.h.

◆ TSOS

Definition at line 16 of file TrajectoryStateClosestToPointBuilder.h.

Constructor & Destructor Documentation

◆ ~TrajectoryStateClosestToPointBuilder()

virtual TrajectoryStateClosestToPointBuilder::~TrajectoryStateClosestToPointBuilder ( )
inlinevirtual

Definition at line 19 of file TrajectoryStateClosestToPointBuilder.h.

19 {}

Member Function Documentation

◆ constructTSCP()

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

Definition at line 29 of file TrajectoryStateClosestToPointBuilder.h.

29  {
30  return TrajectoryStateClosestToPoint(originalFTS, referencePoint);
31  }

Referenced by TSCPBuilderNoMaterial::operator()().

◆ operator()() [1/2]

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

Implemented in TSCPBuilderNoMaterial.

◆ operator()() [2/2]

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

Implemented in TSCPBuilderNoMaterial.

◆ positionEqual()

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

Definition at line 26 of file TrajectoryStateClosestToPointBuilder.h.

26 { return ptA == ptB; }

Referenced by TSCPBuilderNoMaterial::operator()().

TrajectoryStateClosestToPoint
Definition: TrajectoryStateClosestToPoint.h:18