#include <ParticleKinematicLinearizedTrackState.h>
Public Types | |
typedef ReferenceCountingPointer< LinearizedTrackState< 6 > > | RefCountedLinearizedTrackState |
Public Types inherited from LinearizedTrackState< 6 > | |
typedef ROOT::Math::SMatrix< double, N - 2, 3, ROOT::Math::MatRepStd< double, N - 2, 3 > > | AlgebraicMatrixM3 |
typedef ROOT::Math::SMatrix< double, N, 3, ROOT::Math::MatRepStd< double, N, 3 > > | AlgebraicMatrixN3 |
typedef ROOT::Math::SMatrix< double, N, N - 2, ROOT::Math::MatRepStd< double, N, N - 2 > > | AlgebraicMatrixNM |
typedef ROOT::Math::SMatrix< double, N - 2, N - 2, ROOT::Math::MatRepSym< double, N - 2 > > | AlgebraicSymMatrixMM |
typedef ROOT::Math::SMatrix< double, N, N, ROOT::Math::MatRepSym< double, N > > | AlgebraicSymMatrixNN |
typedef ROOT::Math::SMatrix< double, N+1, N+1, ROOT::Math::MatRepSym< double, N+1 > > | AlgebraicSymMatrixOO |
typedef ROOT::Math::SVector< double, N - 2 > | AlgebraicVectorM |
typedef ROOT::Math::SVector< double, N > | AlgebraicVectorN |
typedef ReferenceCountingPointer< RefittedTrackState< N > > | RefCountedRefittedTrackState |
Private Member Functions | |
void | computeChargedJacobians () const |
void | computeJacobians () const |
void | computeNeutralJacobians () const |
ParticleKinematicLinearizedTrackState (const GlobalPoint &linP, RefCountedKinematicParticle &prt) | |
Friends | |
class | ParticleKinematicLinearizedTrackStateFactory |
Definition at line 13 of file ParticleKinematicLinearizedTrackState.h.
typedef ReferenceCountingPointer<LinearizedTrackState<6> > ParticleKinematicLinearizedTrackState::RefCountedLinearizedTrackState |
Definition at line 16 of file ParticleKinematicLinearizedTrackState.h.
|
inline |
Definition at line 18 of file ParticleKinematicLinearizedTrackState.h.
References jacobiansAvailable.
Referenced by stateWithNewLinearizationPoint().
|
inlineprivate |
Constructor with the linearization point and the track. Private, can only be used by LinearizedTrackFactory.
Definition at line 115 of file ParticleKinematicLinearizedTrackState.h.
|
inlineoverride |
|
overridevirtual |
Implements LinearizedTrackState< 6 >.
Definition at line 140 of file ParticleKinematicLinearizedTrackState.cc.
|
private |
Method calculating the track parameters and the Jacobians for charged particles.
Definition at line 179 of file ParticleKinematicLinearizedTrackState.cc.
References funct::abs(), funct::cos(), KinematicState::globalMomentum(), KinematicState::globalPosition(), M_PI, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), S(), funct::sin(), mathSSE::sqrt(), funct::tan(), theConstantTerm, theExpandedParams, theLinPoint, theMomentumJacobian, thePositionJacobian, thePredState, PerigeeKinematicState::theState(), PV3DBase< T, PVType, FrameType >::theta(), X, PV3DBase< T, PVType, FrameType >::x(), BeamSpotPI::Y, PV3DBase< T, PVType, FrameType >::y(), z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by computeJacobians().
|
private |
Method calculating the track parameters and the Jacobians.
Definition at line 79 of file ParticleKinematicLinearizedTrackState.cc.
References funct::abs(), builder, computeChargedJacobians(), computeNeutralJacobians(), MillePedeFileConverter_cfg::e, jacobiansAvailable, theCharge, theLinPoint, and thePredState.
Referenced by constantTerm(), momentumJacobian(), parametersFromExpansion(), positionJacobian(), predictedStateError(), predictedStateMomentumError(), predictedStateMomentumParameters(), predictedStateParameters(), and predictedStateWeight().
|
private |
Method calculating the track parameters and the Jacobians for neutral particles.
Definition at line 278 of file ParticleKinematicLinearizedTrackState.cc.
References funct::cos(), KinematicState::globalMomentum(), KinematicState::globalPosition(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), funct::sin(), funct::tan(), theConstantTerm, theExpandedParams, theLinPoint, theMomentumJacobian, thePositionJacobian, thePredState, PerigeeKinematicState::theState(), PV3DBase< T, PVType, FrameType >::theta(), X, PV3DBase< T, PVType, FrameType >::x(), BeamSpotPI::Y, PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by computeJacobians().
|
overridevirtual |
Method returning the constant term of the Taylor expansion of measurement equation
Implements LinearizedTrackState< 6 >.
Definition at line 5 of file ParticleKinematicLinearizedTrackState.cc.
References computeJacobians(), jacobiansAvailable, and theConstantTerm.
Referenced by refittedParamFromEquation().
|
inlineoverridevirtual |
The point at which the track state has been linearized
Implements LinearizedTrackState< 6 >.
Definition at line 30 of file ParticleKinematicLinearizedTrackState.h.
References theLinPoint.
|
overridevirtual |
Method returning the Momentum Jacobian from the Taylor expansion (Matrix B)
Implements LinearizedTrackState< 6 >.
Definition at line 17 of file ParticleKinematicLinearizedTrackState.cc.
References computeJacobians(), jacobiansAvailable, and theMomentumJacobian.
Referenced by refittedParamFromEquation().
|
overridevirtual |
Method returning the parameters of the Taylor expansion
Implements LinearizedTrackState< 6 >.
Definition at line 23 of file ParticleKinematicLinearizedTrackState.cc.
References computeJacobians(), jacobiansAvailable, and theExpandedParams.
|
overridevirtual |
Method returning the Position Jacobian from the Taylor expansion (Matrix A)
Implements LinearizedTrackState< 6 >.
Definition at line 11 of file ParticleKinematicLinearizedTrackState.cc.
References computeJacobians(), jacobiansAvailable, and thePositionJacobian.
Referenced by refittedParamFromEquation().
|
overridevirtual |
Full predicted error matrix
Implements LinearizedTrackState< 6 >.
Definition at line 45 of file ParticleKinematicLinearizedTrackState.cc.
References computeJacobians(), ExtendedPerigeeTrajectoryError::covarianceMatrix(), jacobiansAvailable, PerigeeKinematicState::perigeeError(), and thePredState.
|
overridevirtual |
4x4 error matrix ofe xtended perigee mometum components
Implements LinearizedTrackState< 6 >.
Definition at line 124 of file ParticleKinematicLinearizedTrackState.cc.
References computeJacobians(), relativeConstraints::error, jacobiansAvailable, PerigeeKinematicState::perigeeError(), thePredState, and ExtendedPerigeeTrajectoryError::weightMatrix().
|
overridevirtual |
returns predicted 4-momentum in extended perigee parametrization
Implements LinearizedTrackState< 6 >.
Definition at line 113 of file ParticleKinematicLinearizedTrackState.cc.
References computeJacobians(), jacobiansAvailable, PerigeeKinematicState::perigeeParameters(), thePredState, and ExtendedPerigeeTrajectoryParameters::vector().
Referenced by refittedParamFromEquation().
|
overridevirtual |
Method returning the track state at the point of closest approach to the linearization point, in the transverse plane (a.k.a. transverse impact point). extended perigee predicted parameters
Implements LinearizedTrackState< 6 >.
Definition at line 29 of file ParticleKinematicLinearizedTrackState.cc.
References computeJacobians(), jacobiansAvailable, PerigeeKinematicState::perigeeParameters(), thePredState, and ExtendedPerigeeTrajectoryParameters::vector().
|
overridevirtual |
Full predicted weight matrix
Implements LinearizedTrackState< 6 >.
Definition at line 35 of file ParticleKinematicLinearizedTrackState.cc.
References computeJacobians(), relativeConstraints::error, mps_fire::i, jacobiansAvailable, PerigeeKinematicState::perigeeError(), thePredState, ExtendedPerigeeTrajectoryError::weightMatrix(), and z.
|
override |
Method returning the impact point measurement ‍/
ImpactPointMeasurement impactPointMeasurement() const;
TrackCharge charge() const override;
RefCountedKinematicParticle particle() const;
bool operator==(LinearizedTrackState<6>& other) const override;
bool hasError() const override;
RefCountedRefittedTrackState createRefittedTrackState(const GlobalPoint& vertexPosition, const AlgebraicVectorM& vectorParameters, const AlgebraicSymMatrix77& covarianceMatrix) const override;
/** Method returning the parameters of the Taylor expansion evaluated with the refitted state.
Definition at line 148 of file ParticleKinematicLinearizedTrackState.cc.
References constantTerm(), M_PI, momentumJacobian(), positionJacobian(), and predictedStateMomentumParameters().
|
overridevirtual |
Returns a new linearized state with respect to a new linearization point. A new object of the same type is returned, without change to the existing one.
Implements LinearizedTrackState< 6 >.
Definition at line 96 of file ParticleKinematicLinearizedTrackState.cc.
References part, and ParticleKinematicLinearizedTrackState().
|
overridevirtual |
Implements LinearizedTrackState< 6 >.
Definition at line 336 of file ParticleKinematicLinearizedTrackState.cc.
|
overridevirtual |
Implements LinearizedTrackState< 6 >.
Definition at line 138 of file ParticleKinematicLinearizedTrackState.cc.
|
friend |
Definition at line 15 of file ParticleKinematicLinearizedTrackState.h.
|
private |
Definition at line 140 of file ParticleKinematicLinearizedTrackState.h.
Referenced by computeJacobians().
|
mutableprivate |
Definition at line 142 of file ParticleKinematicLinearizedTrackState.h.
|
mutableprivate |
Definition at line 152 of file ParticleKinematicLinearizedTrackState.h.
|
mutableprivate |
Definition at line 143 of file ParticleKinematicLinearizedTrackState.h.
Referenced by computeJacobians(), constantTerm(), momentumJacobian(), parametersFromExpansion(), ParticleKinematicLinearizedTrackState(), positionJacobian(), predictedStateError(), predictedStateMomentumError(), predictedStateMomentumParameters(), predictedStateParameters(), and predictedStateWeight().
|
private |
Definition at line 139 of file ParticleKinematicLinearizedTrackState.h.
Referenced by stateWithNewLinearizationPoint().
|
private |
Definition at line 150 of file ParticleKinematicLinearizedTrackState.h.
Referenced by computeJacobians().
|
mutableprivate |
Definition at line 147 of file ParticleKinematicLinearizedTrackState.h.
Referenced by computeChargedJacobians(), computeNeutralJacobians(), and constantTerm().
|
mutableprivate |
Definition at line 148 of file ParticleKinematicLinearizedTrackState.h.
Referenced by computeChargedJacobians(), computeNeutralJacobians(), and parametersFromExpansion().
|
private |
Definition at line 138 of file ParticleKinematicLinearizedTrackState.h.
Referenced by computeChargedJacobians(), computeJacobians(), computeNeutralJacobians(), and linearizationPoint().
|
mutableprivate |
Definition at line 145 of file ParticleKinematicLinearizedTrackState.h.
Referenced by computeChargedJacobians(), computeNeutralJacobians(), and momentumJacobian().
|
mutableprivate |
Definition at line 144 of file ParticleKinematicLinearizedTrackState.h.
Referenced by computeChargedJacobians(), computeNeutralJacobians(), and positionJacobian().
|
mutableprivate |
Definition at line 146 of file ParticleKinematicLinearizedTrackState.h.
Referenced by computeChargedJacobians(), computeJacobians(), computeNeutralJacobians(), predictedStateError(), predictedStateMomentumError(), predictedStateMomentumParameters(), predictedStateParameters(), and predictedStateWeight().