CMS 3D CMS Logo

TrajectoryStateClosestToPointBuilder.h
Go to the documentation of this file.
1 #ifndef TrajectoryStateClosestToPointBuilder_H
2 #define TrajectoryStateClosestToPointBuilder_H
3 
6 
15 public:
18 
20 
21  virtual TrajectoryStateClosestToPoint operator()(const FTS& originalFTS, const GlobalPoint& referencePoint) const = 0;
22 
23  virtual TrajectoryStateClosestToPoint operator()(const TSOS& originalTSOS,
24  const GlobalPoint& referencePoint) const = 0;
25 
26  static bool positionEqual(const GlobalPoint& ptB, const GlobalPoint& ptA) { return ptA == ptB; }
27 
28 protected:
29  static TrajectoryStateClosestToPoint constructTSCP(const FTS& originalFTS, const GlobalPoint& referencePoint) {
30  return TrajectoryStateClosestToPoint(originalFTS, referencePoint);
31  }
32 };
33 #endif
TrajectoryStateOnSurface.h
TrajectoryStateClosestToPointBuilder
Definition: TrajectoryStateClosestToPointBuilder.h:14
TrajectoryStateClosestToPoint.h
TrajectoryStateClosestToPointBuilder::TSOS
TrajectoryStateOnSurface TSOS
Definition: TrajectoryStateClosestToPointBuilder.h:16
TrajectoryStateClosestToPointBuilder::positionEqual
static bool positionEqual(const GlobalPoint &ptB, const GlobalPoint &ptA)
Definition: TrajectoryStateClosestToPointBuilder.h:26
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
TrajectoryStateClosestToPointBuilder::operator()
virtual TrajectoryStateClosestToPoint operator()(const FTS &originalFTS, const GlobalPoint &referencePoint) const =0
Point3DBase< float, GlobalTag >
TrajectoryStateClosestToPointBuilder::constructTSCP
static TrajectoryStateClosestToPoint constructTSCP(const FTS &originalFTS, const GlobalPoint &referencePoint)
Definition: TrajectoryStateClosestToPointBuilder.h:29
TrajectoryStateClosestToPoint
Definition: TrajectoryStateClosestToPoint.h:18
FreeTrajectoryState
Definition: FreeTrajectoryState.h:27
TrajectoryStateClosestToPointBuilder::FTS
FreeTrajectoryState FTS
Definition: TrajectoryStateClosestToPointBuilder.h:17
TrajectoryStateClosestToPointBuilder::~TrajectoryStateClosestToPointBuilder
virtual ~TrajectoryStateClosestToPointBuilder()
Definition: TrajectoryStateClosestToPointBuilder.h:19