#include <TSCPBuilderNoMaterial.h>
Public Member Functions | |
TrajectoryStateClosestToPoint | operator() (const FTS &originalFTS, const GlobalPoint &referencePoint) const override |
TrajectoryStateClosestToPoint | operator() (const TSOS &originalTSOS, const GlobalPoint &referencePoint) const override |
~TSCPBuilderNoMaterial () override | |
Public Member Functions inherited from TrajectoryStateClosestToPointBuilder | |
virtual | ~TrajectoryStateClosestToPointBuilder () |
Private Types | |
typedef Point3DBase< double, GlobalTag > | GlobalPointDouble |
typedef Vector3DBase< double, GlobalTag > | GlobalVectorDouble |
typedef std::pair< bool, FreeTrajectoryState > | PairBoolFTS |
Private Member Functions | |
PairBoolFTS | createFTSatTransverseImpactPoint (const FTS &originalFTS, const GlobalPoint &referencePoint) const |
PairBoolFTS | createFTSatTransverseImpactPointCharged (const FTS &originalFTS, const GlobalPoint &referencePoint) const |
PairBoolFTS | createFTSatTransverseImpactPointNeutral (const FTS &originalFTS, const GlobalPoint &referencePoint) const |
Additional Inherited Members | |
Public Types inherited from TrajectoryStateClosestToPointBuilder | |
typedef FreeTrajectoryState | FTS |
typedef TrajectoryStateOnSurface | TSOS |
Static Public Member Functions inherited from TrajectoryStateClosestToPointBuilder | |
static bool | positionEqual (const GlobalPoint &ptB, const GlobalPoint &ptA) |
Static Protected Member Functions inherited from TrajectoryStateClosestToPointBuilder | |
static TrajectoryStateClosestToPoint | constructTSCP (const FTS &originalFTS, const GlobalPoint &referencePoint) |
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 17 of file TSCPBuilderNoMaterial.h.
|
private |
Definition at line 26 of file TSCPBuilderNoMaterial.h.
|
private |
Definition at line 27 of file TSCPBuilderNoMaterial.h.
|
private |
Definition at line 28 of file TSCPBuilderNoMaterial.h.
|
inlineoverride |
Definition at line 19 of file TSCPBuilderNoMaterial.h.
|
private |
Definition at line 41 of file TSCPBuilderNoMaterial.cc.
References createFTSatTransverseImpactPointCharged(), createFTSatTransverseImpactPointNeutral(), alignCSCRings::e, and FreeTrajectoryState::transverseCurvature().
Referenced by operator()().
|
private |
Definition at line 54 of file TSCPBuilderNoMaterial.cc.
References anyDirection, FreeTrajectoryState::charge(), FreeTrajectoryState::curvilinearError(), HelixBarrelPlaneCrossingByCircle::direction(), FreeTrajectoryState::hasError(), MagneticField::inInverseGeV(), AnalyticalCurvilinearJacobian::jacobian(), PV3DBase< T, PVType, FrameType >::mag(), GlobalTrajectoryParameters::magneticField(), CurvilinearTrajectoryError::matrix(), FreeTrajectoryState::momentum(), FreeTrajectoryState::parameters(), HelixBarrelPlaneCrossingByCircle::pathLength(), HelixBarrelPlaneCrossingByCircle::position(), FreeTrajectoryState::position(), makeMuonMisalignmentScenario::rot, alignCSCRings::s, FreeTrajectoryState::transverseCurvature(), Vector3DBase< T, FrameTag >::unit(), X, PV3DBase< T, PVType, FrameType >::x(), Basic3DVector< T >::x(), BeamSpotPI::Y, PV3DBase< T, PVType, FrameType >::y(), Basic3DVector< T >::y(), PV3DBase< T, PVType, FrameType >::z(), and Basic3DVector< T >::z().
Referenced by createFTSatTransverseImpactPoint().
|
private |
Definition at line 121 of file TSCPBuilderNoMaterial.cc.
References FreeTrajectoryState::charge(), funct::cos(), FreeTrajectoryState::curvilinearError(), FreeTrajectoryState::hasError(), AnalyticalCurvilinearJacobian::jacobian(), GlobalTrajectoryParameters::magneticField(), CurvilinearTrajectoryError::matrix(), FreeTrajectoryState::momentum(), FreeTrajectoryState::parameters(), phi, PV3DBase< T, PVType, FrameType >::phi(), FreeTrajectoryState::position(), alignCSCRings::s, funct::sin(), funct::tan(), PV3DBase< T, PVType, FrameType >::theta(), theta(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by createFTSatTransverseImpactPoint().
|
overridevirtual |
Implements TrajectoryStateClosestToPointBuilder.
Definition at line 11 of file TSCPBuilderNoMaterial.cc.
References TrajectoryStateClosestToPointBuilder::constructTSCP(), createFTSatTransverseImpactPoint(), FreeTrajectoryState::position(), and TrajectoryStateClosestToPointBuilder::positionEqual().
|
overridevirtual |
Implements TrajectoryStateClosestToPointBuilder.
Definition at line 26 of file TSCPBuilderNoMaterial.cc.
References TrajectoryStateClosestToPointBuilder::constructTSCP(), createFTSatTransverseImpactPoint(), TrajectoryStateOnSurface::freeState(), TrajectoryStateOnSurface::globalPosition(), and TrajectoryStateClosestToPointBuilder::positionEqual().