#include <TwoTrackMassKinematicConstraint.h>
Public Member Functions | |
virtual TwoTrackMassKinematicConstraint * | clone () const |
virtual int | numberOfEquations () const |
virtual AlgebraicMatrix | parametersDerivative (const std::vector< KinematicState > &states, const GlobalPoint &point) const |
virtual AlgebraicMatrix | positionDerivative (const std::vector< KinematicState > &states, const GlobalPoint &point) const |
TwoTrackMassKinematicConstraint (ParticleMass &ms) | |
virtual AlgebraicVector | value (const std::vector< KinematicState > &states, const GlobalPoint &point) const |
Public Member Functions inherited from MultiTrackKinematicConstraint | |
MultiTrackKinematicConstraint () | |
virtual | ~MultiTrackKinematicConstraint () |
Private Attributes | |
ParticleMass | mass |
Class implementing the total mass of 2 tracks constraint. I.e. 2 first particles out of four passed form a given mass
Warning: the tracks to constraint should be 1st and 2nd from the beginning of the vector.
Definition at line 21 of file TwoTrackMassKinematicConstraint.h.
|
inline |
Definition at line 24 of file TwoTrackMassKinematicConstraint.h.
Referenced by clone().
|
inlinevirtual |
Implements MultiTrackKinematicConstraint.
Definition at line 58 of file TwoTrackMassKinematicConstraint.h.
References TwoTrackMassKinematicConstraint().
|
virtual |
Number of equations per track used for the fit
Implements MultiTrackKinematicConstraint.
Definition at line 128 of file TwoTrackMassKinematicConstraint.cc.
|
virtual |
Returns a matrix of derivatives of constraint equations w.r.t. particle parameters
Implements MultiTrackKinematicConstraint.
Definition at line 39 of file TwoTrackMassKinematicConstraint.cc.
References reco::e1, reco::e2, p1, p2, mathSSE::sqrt(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
|
virtual |
Returns a matrix of derivatives of constraint equations w.r.t. vertex position
Implements MultiTrackKinematicConstraint.
Definition at line 98 of file TwoTrackMassKinematicConstraint.cc.
References p1, p2, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
|
virtual |
Returns a vector of values of constraint equations at the point where the input particles are defined.
Implements MultiTrackKinematicConstraint.
Definition at line 5 of file TwoTrackMassKinematicConstraint.cc.
References mass, p1, p2, mathSSE::sqrt(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
|
private |
Definition at line 63 of file TwoTrackMassKinematicConstraint.h.
Referenced by value().