TrackingTools
PatternTools
interface
TrajectoryStateClosestToPointBuilder.h
Go to the documentation of this file.
1
#ifndef TrajectoryStateClosestToPointBuilder_H
2
#define TrajectoryStateClosestToPointBuilder_H
3
4
#include "
TrackingTools/TrajectoryState/interface/TrajectoryStateOnSurface.h
"
5
#include "
TrackingTools/TrajectoryState/interface/TrajectoryStateClosestToPoint.h
"
6
14
class
TrajectoryStateClosestToPointBuilder
{
15
public
:
16
typedef
TrajectoryStateOnSurface
TSOS
;
17
typedef
FreeTrajectoryState
FTS
;
18
19
virtual
~TrajectoryStateClosestToPointBuilder
() {}
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
Generated for CMSSW Reference Manual by
1.8.16