#include <TwoTrackMassKinematicConstraint.h>
Public Member Functions | |
TwoTrackMassKinematicConstraint * | clone () const override |
int | numberOfEquations () const override |
AlgebraicMatrix | parametersDerivative (const std::vector< KinematicState > &states, const GlobalPoint &point) const override |
AlgebraicMatrix | positionDerivative (const std::vector< KinematicState > &states, const GlobalPoint &point) const override |
TwoTrackMassKinematicConstraint (ParticleMass &ms) | |
AlgebraicVector | value (const std::vector< KinematicState > &states, const GlobalPoint &point) const override |
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.
References numberOfEquations(), parametersDerivative(), point, positionDerivative(), and value().
Referenced by clone().
|
inlineoverridevirtual |
Implements MultiTrackKinematicConstraint.
Definition at line 58 of file TwoTrackMassKinematicConstraint.h.
References TwoTrackMassKinematicConstraint().
|
overridevirtual |
Number of equations per track used for the fit
Implements MultiTrackKinematicConstraint.
Definition at line 128 of file TwoTrackMassKinematicConstraint.cc.
Referenced by TwoTrackMassKinematicConstraint().
|
overridevirtual |
Returns a matrix of derivatives of constraint equations w.r.t. particle parameters
Implements MultiTrackKinematicConstraint.
Definition at line 39 of file TwoTrackMassKinematicConstraint.cc.
References p1, p2, mathSSE::sqrt(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by TwoTrackMassKinematicConstraint().
|
overridevirtual |
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().
Referenced by TwoTrackMassKinematicConstraint().
|
overridevirtual |
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().
Referenced by TwoTrackMassKinematicConstraint().
|
private |
Definition at line 63 of file TwoTrackMassKinematicConstraint.h.
Referenced by Particle.Particle::__str__(), ZMuMuRochCorAnalyzer.DiMuon::__str__(), DiObject.DiMuon::__str__(), and value().