#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 18 of file ParticleKinematicLinearizedTrackState.h.
|
inline |
Definition at line 20 of file ParticleKinematicLinearizedTrackState.h.
References jacobiansAvailable, and stateWithNewLinearizationPoint().
Referenced by stateWithNewLinearizationPoint().
|
inlineprivate |
Constructor with the linearization point and the track. Private, can only be used by LinearizedTrackFactory.
Definition at line 124 of file ParticleKinematicLinearizedTrackState.h.
References computeChargedJacobians(), computeJacobians(), and computeNeutralJacobians().
|
virtual |
Method returning the impact point measurement
Implements LinearizedTrackState< 6 >.
Definition at line 54 of file ParticleKinematicLinearizedTrackState.cc.
Referenced by createRefittedTrackState(), and linearizationPoint().
|
inlinevirtual |
Reimplemented from LinearizedTrackState< 6 >.
Definition at line 185 of file ParticleKinematicLinearizedTrackState.cc.
References M_PI, and metProducer_cfi::parameters.
Referenced by linearizationPoint().
|
virtual |
Implements LinearizedTrackState< 6 >.
Definition at line 151 of file ParticleKinematicLinearizedTrackState.cc.
Referenced by linearizationPoint().
|
private |
Method calculating the track parameters and the Jacobians for charged particles.
Definition at line 192 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(), DOFs::Y, PV3DBase< T, PVType, FrameType >::y(), z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by computeJacobians(), and ParticleKinematicLinearizedTrackState().
|
private |
Method calculating the track parameters and the Jacobians.
Definition at line 81 of file ParticleKinematicLinearizedTrackState.cc.
References funct::abs(), builder, computeChargedJacobians(), computeNeutralJacobians(), MillePedeFileConverter_cfg::e, jacobiansAvailable, stateWithNewLinearizationPoint(), theCharge, theLinPoint, and thePredState.
Referenced by constantTerm(), hasError(), momentumJacobian(), parametersFromExpansion(), ParticleKinematicLinearizedTrackState(), positionJacobian(), predictedStateError(), predictedStateMomentumError(), predictedStateMomentumParameters(), predictedStateParameters(), and predictedStateWeight().
|
private |
Method calculating the track parameters and the Jacobians for neutral particles.
Definition at line 299 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(), DOFs::Y, PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by computeJacobians(), and ParticleKinematicLinearizedTrackState().
|
virtual |
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 linearizationPoint(), and refittedParamFromEquation().
ParticleKinematicLinearizedTrackState::RefCountedRefittedTrackState ParticleKinematicLinearizedTrackState::createRefittedTrackState | ( | const GlobalPoint & | vertexPosition, |
const AlgebraicVectorM & | vectorParameters, | ||
const AlgebraicSymMatrix77 & | covarianceMatrix | ||
) | const |
Definition at line 109 of file ParticleKinematicLinearizedTrackState.cc.
References charge(), conversions_cfi::conversions, KinematicPerigeeConversions::kinematicState(), and lst.
Referenced by linearizationPoint().
|
virtual |
Implements LinearizedTrackState< 6 >.
Definition at line 69 of file ParticleKinematicLinearizedTrackState.cc.
References computeJacobians(), PerigeeKinematicState::isValid(), jacobiansAvailable, and thePredState.
Referenced by linearizationPoint().
|
inlinevirtual |
The point at which the track state has been linearized
Implements LinearizedTrackState< 6 >.
Definition at line 33 of file ParticleKinematicLinearizedTrackState.h.
References charge(), checkParameters(), components(), constantTerm(), createRefittedTrackState(), relativeConstraints::error, hasError(), momentumJacobian(), operator==(), trackingPlots::other, metProducer_cfi::parameters, parametersFromExpansion(), particle(), positionJacobian(), predictedStateError(), predictedStateMomentumError(), predictedStateMomentumParameters(), predictedStateParameters(), predictedStateWeight(), refittedParamFromEquation(), theLinPoint, track(), and weightInMixture().
|
virtual |
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 linearizationPoint(), and refittedParamFromEquation().
bool ParticleKinematicLinearizedTrackState::operator== | ( | LinearizedTrackState< 6 > & | other | ) | const |
Definition at line 60 of file ParticleKinematicLinearizedTrackState.cc.
References trackingPlots::other, and particle().
Referenced by linearizationPoint().
|
virtual |
Method returning the parameters of the Taylor expansion
Implements LinearizedTrackState< 6 >.
Definition at line 23 of file ParticleKinematicLinearizedTrackState.cc.
References computeJacobians(), jacobiansAvailable, and theExpandedParams.
Referenced by linearizationPoint().
RefCountedKinematicParticle ParticleKinematicLinearizedTrackState::particle | ( | ) | const |
Definition at line 57 of file ParticleKinematicLinearizedTrackState.cc.
References part.
Referenced by linearizationPoint(), and operator==().
|
virtual |
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 linearizationPoint(), and refittedParamFromEquation().
|
virtual |
Full predicted error matrix
Implements LinearizedTrackState< 6 >.
Definition at line 45 of file ParticleKinematicLinearizedTrackState.cc.
References computeJacobians(), ExtendedPerigeeTrajectoryError::covarianceMatrix(), jacobiansAvailable, PerigeeKinematicState::perigeeError(), and thePredState.
Referenced by linearizationPoint().
|
virtual |
4x4 error matrix ofe xtended perigee mometum components
Implements LinearizedTrackState< 6 >.
Definition at line 131 of file ParticleKinematicLinearizedTrackState.cc.
References computeJacobians(), relativeConstraints::error, jacobiansAvailable, PerigeeKinematicState::perigeeError(), thePredState, and ExtendedPerigeeTrajectoryError::weightMatrix().
Referenced by linearizationPoint().
|
virtual |
returns predicted 4-momentum in extended perigee parametrization
Implements LinearizedTrackState< 6 >.
Definition at line 120 of file ParticleKinematicLinearizedTrackState.cc.
References computeJacobians(), jacobiansAvailable, PerigeeKinematicState::perigeeParameters(), thePredState, and ExtendedPerigeeTrajectoryParameters::vector().
Referenced by linearizationPoint(), and refittedParamFromEquation().
|
virtual |
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().
Referenced by linearizationPoint().
|
virtual |
Full predicted weight matrix
Implements LinearizedTrackState< 6 >.
Definition at line 35 of file ParticleKinematicLinearizedTrackState.cc.
References computeJacobians(), mps_fire::i, jacobiansAvailable, PerigeeKinematicState::perigeeError(), thePredState, ExtendedPerigeeTrajectoryError::weightMatrix(), and z.
Referenced by linearizationPoint().
|
virtual |
Method returning the parameters of the Taylor expansion evaluated with the refitted state.
Implements LinearizedTrackState< 6 >.
Definition at line 161 of file ParticleKinematicLinearizedTrackState.cc.
References constantTerm(), M_PI, momentumJacobian(), positionJacobian(), and predictedStateMomentumParameters().
Referenced by linearizationPoint().
|
virtual |
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 102 of file ParticleKinematicLinearizedTrackState.cc.
References part, and ParticleKinematicLinearizedTrackState().
Referenced by computeJacobians(), and ParticleKinematicLinearizedTrackState().
|
virtual |
Implements LinearizedTrackState< 6 >.
Definition at line 362 of file ParticleKinematicLinearizedTrackState.cc.
Referenced by linearizationPoint().
|
virtual |
Implements LinearizedTrackState< 6 >.
Definition at line 146 of file ParticleKinematicLinearizedTrackState.cc.
Referenced by linearizationPoint().
|
friend |
Definition at line 17 of file ParticleKinematicLinearizedTrackState.h.
|
private |
Definition at line 147 of file ParticleKinematicLinearizedTrackState.h.
Referenced by computeJacobians().
|
mutableprivate |
Definition at line 149 of file ParticleKinematicLinearizedTrackState.h.
|
mutableprivate |
Definition at line 159 of file ParticleKinematicLinearizedTrackState.h.
|
mutableprivate |
Definition at line 150 of file ParticleKinematicLinearizedTrackState.h.
Referenced by computeJacobians(), constantTerm(), hasError(), momentumJacobian(), parametersFromExpansion(), ParticleKinematicLinearizedTrackState(), positionJacobian(), predictedStateError(), predictedStateMomentumError(), predictedStateMomentumParameters(), predictedStateParameters(), and predictedStateWeight().
|
private |
Definition at line 146 of file ParticleKinematicLinearizedTrackState.h.
Referenced by particle(), and stateWithNewLinearizationPoint().
|
private |
Definition at line 157 of file ParticleKinematicLinearizedTrackState.h.
Referenced by computeJacobians().
|
mutableprivate |
Definition at line 154 of file ParticleKinematicLinearizedTrackState.h.
Referenced by computeChargedJacobians(), computeNeutralJacobians(), and constantTerm().
|
mutableprivate |
Definition at line 155 of file ParticleKinematicLinearizedTrackState.h.
Referenced by computeChargedJacobians(), computeNeutralJacobians(), and parametersFromExpansion().
|
private |
Definition at line 145 of file ParticleKinematicLinearizedTrackState.h.
Referenced by computeChargedJacobians(), computeJacobians(), computeNeutralJacobians(), and linearizationPoint().
|
mutableprivate |
Definition at line 152 of file ParticleKinematicLinearizedTrackState.h.
Referenced by computeChargedJacobians(), computeNeutralJacobians(), and momentumJacobian().
|
mutableprivate |
Definition at line 151 of file ParticleKinematicLinearizedTrackState.h.
Referenced by computeChargedJacobians(), computeNeutralJacobians(), and positionJacobian().
|
mutableprivate |
Definition at line 153 of file ParticleKinematicLinearizedTrackState.h.
Referenced by computeChargedJacobians(), computeJacobians(), computeNeutralJacobians(), hasError(), predictedStateError(), predictedStateMomentumError(), predictedStateMomentumParameters(), predictedStateParameters(), and predictedStateWeight().