#include <PerigeeLinearizedTrackState.h>
Public Types | |
typedef ReferenceCountingPointer < LinearizedTrackState< 5 > > | RefCountedLinearizedTrackState |
Public Types inherited from LinearizedTrackState< 5 > | |
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 | compute3DImpactPoint () const |
void | computeChargedJacobians () const |
void | computeJacobians () const |
void | computeNeutralJacobians () const |
PerigeeLinearizedTrackState (const GlobalPoint &linP, const reco::TransientTrack &track, const TrajectoryStateOnSurface &tsos) | |
Friends | |
class | LinearizedTrackStateFactory |
Calculates and stores the ImpactPointMeasurement of the impact point (point of closest approach in 3D) to the given linearization point. (see V.Karimaki, HIP-1997-77 / EXP)
Computes the parameters of the trajectory state at the transverse point of closest approach (in the global transverse plane) to the linearization point, and the jacobiam matrices. (see R.Fruehwirth et al. Data Analysis Techniques in HEP Experiments Second Edition, Cambridge University Press 2000, or R.Fruehwirth et al. Vertex reconstruction and track bundling at the LEP collider using robust algorithms. Computer Physics Communications 96 (1996) 189-208).
Both are done `on-demand' to improve CPU performance.
This particular implementation works with "perigee" helix parametrization: see Billoir et al. NIM in PR A311(1992) 139-150
Definition at line 32 of file PerigeeLinearizedTrackState.h.
typedef ReferenceCountingPointer<LinearizedTrackState<5> > PerigeeLinearizedTrackState::RefCountedLinearizedTrackState |
Definition at line 41 of file PerigeeLinearizedTrackState.h.
|
inlineprivate |
Constructor with the linearization point and the track. Private, can only be used by LinearizedTrackFactory.
Definition at line 149 of file PerigeeLinearizedTrackState.h.
|
inlinevirtual |
Method returning the impact point measurement
Implements LinearizedTrackState< 5 >.
Definition at line 115 of file PerigeeLinearizedTrackState.h.
References theCharge.
Referenced by createRefittedTrackState().
|
inlinevirtual |
Definition at line 223 of file PerigeeLinearizedTrackState.cc.
References M_PI, and Parameters::parameters.
|
virtual |
Implements LinearizedTrackState< 5 >.
Definition at line 192 of file PerigeeLinearizedTrackState.cc.
References query::result.
|
private |
Method calculating the 3D impact point measurement
|
private |
Method calculating the track parameters and the Jacobians for charged particles.
Definition at line 229 of file PerigeeLinearizedTrackState.cc.
References abs, funct::cos(), reco::TransientTrack::field(), MagneticField::inInverseGeV(), M_PI, FreeTrajectoryState::momentum(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), FreeTrajectoryState::position(), funct::sin(), mathSSE::sqrt(), funct::tan(), theCharge, theConstantTerm, theExpandedParams, theLinPoint, theMomentumJacobian, thePositionJacobian, thePredState, TrajectoryStateClosestToPoint::theState(), PV3DBase< T, PVType, FrameType >::theta(), theTrack, X, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), detailsBasic3DVector::z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by computeJacobians().
|
private |
Method calculating the track parameters and the Jacobians.
Method returning the impact point measurement
Definition at line 64 of file PerigeeLinearizedTrackState.cc.
References abs, builder, computeChargedJacobians(), computeNeutralJacobians(), alignCSCRings::e, reco::TransientTrack::field(), MagneticField::inInverseGeV(), TrajectoryStateClosestToPoint::isValid(), jacobiansAvailable, FreeTrajectoryState::position(), theCharge, theLinPoint, thePredState, TrajectoryStateClosestToPoint::theState(), theTrack, theTSOS, and detailsBasic3DVector::z.
Referenced by constantTerm(), hasError(), isValid(), momentumJacobian(), parametersFromExpansion(), positionJacobian(), predictedState(), predictedStateError(), predictedStateMomentumError(), predictedStateMomentumParameters(), predictedStateParameters(), and predictedStateWeight().
|
private |
Method calculating the track parameters and the Jacobians for neutral particles.
Definition at line 332 of file PerigeeLinearizedTrackState.cc.
References funct::cos(), FreeTrajectoryState::momentum(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), FreeTrajectoryState::position(), funct::sin(), funct::tan(), theConstantTerm, theExpandedParams, theLinPoint, theMomentumJacobian, thePositionJacobian, thePredState, TrajectoryStateClosestToPoint::theState(), PV3DBase< T, PVType, FrameType >::theta(), X, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by computeJacobians().
|
virtual |
Method returning the constant term of the Taylor expansion of the measurement equation
Implements LinearizedTrackState< 5 >.
Definition at line 14 of file PerigeeLinearizedTrackState.cc.
References computeJacobians(), jacobiansAvailable, and theConstantTerm.
Referenced by TwoBodyDecayEstimator::constructMatrices(), and refittedParamFromEquation().
|
virtual |
Creates the correct refitted state according to the results of the track refit.
Definition at line 179 of file PerigeeLinearizedTrackState.cc.
References charge(), reco::TransientTrack::field(), theTrack, and PerigeeConversions::trajectoryStateClosestToPoint().
|
virtual |
Implements LinearizedTrackState< 5 >.
Definition at line 104 of file PerigeeLinearizedTrackState.cc.
References computeJacobians(), TrajectoryStateClosestToPoint::hasError(), jacobiansAvailable, and thePredState.
|
virtual |
Reimplemented from LinearizedTrackState< 5 >.
Definition at line 399 of file PerigeeLinearizedTrackState.cc.
References computeJacobians(), TrajectoryStateOnSurface::isValid(), jacobiansAvailable, and theTSOS.
|
inlinevirtual |
The point at which the track state has been linearized
Implements LinearizedTrackState< 5 >.
Definition at line 54 of file PerigeeLinearizedTrackState.h.
References theLinPoint.
Referenced by TwoBodyDecayEstimator::constructMatrices().
|
virtual |
Method returning the Momentum Jacobian from the Taylor expansion (Matrix B)
Method returning the Momentum Jacobian (Matrix B)
Implements LinearizedTrackState< 5 >.
Definition at line 32 of file PerigeeLinearizedTrackState.cc.
References computeJacobians(), jacobiansAvailable, and theMomentumJacobian.
Referenced by TwoBodyDecayEstimator::constructMatrices(), and refittedParamFromEquation().
bool PerigeeLinearizedTrackState::operator== | ( | LinearizedTrackState< 5 > & | other | ) | const |
Definition at line 148 of file PerigeeLinearizedTrackState.cc.
References theTrack, and track().
bool PerigeeLinearizedTrackState::operator== | ( | ReferenceCountingPointer< LinearizedTrackState< 5 > > & | other | ) | const |
Definition at line 159 of file PerigeeLinearizedTrackState.cc.
References theTrack, and track().
|
virtual |
Method returning the parameters of the Taylor expansion
Implements LinearizedTrackState< 5 >.
Definition at line 40 of file PerigeeLinearizedTrackState.cc.
References computeJacobians(), jacobiansAvailable, and theExpandedParams.
|
virtual |
Method returning the Position Jacobian from the Taylor expansion (Matrix A)
Method returning the Position Jacobian (Matrix A)
Implements LinearizedTrackState< 5 >.
Definition at line 23 of file PerigeeLinearizedTrackState.cc.
References computeJacobians(), jacobiansAvailable, and thePositionJacobian.
Referenced by TwoBodyDecayEstimator::constructMatrices(), and refittedParamFromEquation().
const TrajectoryStateClosestToPoint & PerigeeLinearizedTrackState::predictedState | ( | ) | const |
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).
Method returning the TrajectoryStateClosestToPoint at the point of closest approch to the z-axis (a.k.a. transverse impact point)
Definition at line 50 of file PerigeeLinearizedTrackState.cc.
References computeJacobians(), jacobiansAvailable, and thePredState.
Referenced by TwoBodyDecayLinearizationPointFinder::getLinearizationPoint(), and PerigeeMultiLTS::predictedState().
|
virtual |
Method returning the covariance matrix of the track state at the transverse impact point.
Implements LinearizedTrackState< 5 >.
Definition at line 136 of file PerigeeLinearizedTrackState.cc.
References computeJacobians(), PerigeeTrajectoryError::covarianceMatrix(), jacobiansAvailable, TrajectoryStateClosestToPoint::perigeeError(), and thePredState.
Referenced by TwoBodyDecayEstimator::constructMatrices().
|
virtual |
Method returning the momentum covariance matrix of the track state at the transverse impact point.
Implements LinearizedTrackState< 5 >.
Definition at line 142 of file PerigeeLinearizedTrackState.cc.
References computeJacobians(), PerigeeTrajectoryError::covarianceMatrix(), jacobiansAvailable, TrajectoryStateClosestToPoint::perigeeError(), and thePredState.
|
virtual |
Method returning the momentum part of the parameters of the track state at the linearization point.
Implements LinearizedTrackState< 5 >.
Definition at line 116 of file PerigeeLinearizedTrackState.cc.
References computeJacobians(), jacobiansAvailable, TrajectoryStateClosestToPoint::perigeeParameters(), PerigeeTrajectoryParameters::phi(), thePredState, PerigeeTrajectoryParameters::theta(), and PerigeeTrajectoryParameters::vector().
Referenced by TwoBodyDecayEstimator::constructMatrices(), and refittedParamFromEquation().
|
virtual |
Method returning the parameters of the track state at the transverse impact point.
Implements LinearizedTrackState< 5 >.
Definition at line 110 of file PerigeeLinearizedTrackState.cc.
References computeJacobians(), jacobiansAvailable, TrajectoryStateClosestToPoint::perigeeParameters(), thePredState, and PerigeeTrajectoryParameters::vector().
Referenced by TwoBodyDecayEstimator::constructMatrices().
|
virtual |
Method returning the weight matrix of the track state at the transverse impact point. The error variable is 0 in case of success.
Implements LinearizedTrackState< 5 >.
Definition at line 126 of file PerigeeLinearizedTrackState.cc.
References computeJacobians(), TrajectoryStateClosestToPoint::isValid(), jacobiansAvailable, TrajectoryStateClosestToPoint::perigeeError(), thePredState, and PerigeeTrajectoryError::weightMatrix().
|
virtual |
Method returning the parameters of the Taylor expansion evaluated with the refitted state.
Implements LinearizedTrackState< 5 >.
Definition at line 201 of file PerigeeLinearizedTrackState.cc.
References constantTerm(), M_PI, momentumJacobian(), positionJacobian(), and predictedStateMomentumParameters().
|
inline |
Definition at line 58 of file PerigeeLinearizedTrackState.h.
References theTSOS.
|
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< 5 >.
Definition at line 172 of file PerigeeLinearizedTrackState.cc.
|
inlinevirtual |
Implements LinearizedTrackState< 5 >.
Definition at line 56 of file PerigeeLinearizedTrackState.h.
References theTrack.
Referenced by TwoBodyDecayEstimator::constructMatrices(), operator==(), and TrimmedVertexFinder::vertices().
|
inlinevirtual |
Implements LinearizedTrackState< 5 >.
Definition at line 135 of file PerigeeLinearizedTrackState.h.
References theTSOS, and TrajectoryStateOnSurface::weight().
|
friend |
Friend class properly dealing with creation of reference-counted pointers to LinearizedTrack objects
Definition at line 40 of file PerigeeLinearizedTrackState.h.
|
private |
Definition at line 178 of file PerigeeLinearizedTrackState.h.
Referenced by computeJacobians().
|
mutableprivate |
Definition at line 171 of file PerigeeLinearizedTrackState.h.
Referenced by computeJacobians(), constantTerm(), hasError(), isValid(), momentumJacobian(), parametersFromExpansion(), positionJacobian(), predictedState(), predictedStateError(), predictedStateMomentumError(), predictedStateMomentumParameters(), predictedStateParameters(), and predictedStateWeight().
|
private |
Definition at line 181 of file PerigeeLinearizedTrackState.h.
Referenced by charge(), computeChargedJacobians(), and computeJacobians().
|
mutableprivate |
Definition at line 174 of file PerigeeLinearizedTrackState.h.
Referenced by computeChargedJacobians(), computeNeutralJacobians(), and constantTerm().
|
mutableprivate |
Definition at line 175 of file PerigeeLinearizedTrackState.h.
Referenced by computeChargedJacobians(), computeNeutralJacobians(), and parametersFromExpansion().
|
private |
Definition at line 168 of file PerigeeLinearizedTrackState.h.
Referenced by computeChargedJacobians(), computeJacobians(), computeNeutralJacobians(), and linearizationPoint().
|
mutableprivate |
Definition at line 172 of file PerigeeLinearizedTrackState.h.
Referenced by computeChargedJacobians(), computeNeutralJacobians(), and momentumJacobian().
|
mutableprivate |
Definition at line 172 of file PerigeeLinearizedTrackState.h.
Referenced by computeChargedJacobians(), computeNeutralJacobians(), and positionJacobian().
|
mutableprivate |
Definition at line 173 of file PerigeeLinearizedTrackState.h.
Referenced by computeChargedJacobians(), computeJacobians(), computeNeutralJacobians(), hasError(), predictedState(), predictedStateError(), predictedStateMomentumError(), predictedStateMomentumParameters(), predictedStateParameters(), and predictedStateWeight().
|
private |
Definition at line 169 of file PerigeeLinearizedTrackState.h.
Referenced by computeChargedJacobians(), computeJacobians(), createRefittedTrackState(), operator==(), and track().
|
private |
Definition at line 182 of file PerigeeLinearizedTrackState.h.
Referenced by computeJacobians(), isValid(), state(), and weightInMixture().