#include <MultiTrackMassKinematicConstraint.h>
Public Member Functions | |
virtual MultiTrackMassKinematicConstraint * | clone () const |
MultiTrackMassKinematicConstraint (const ParticleMass &theMass, const unsigned int nbrParticles) | |
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 |
virtual AlgebraicVector | value (const std::vector< KinematicState > &states, const GlobalPoint &point) const |
Public Member Functions inherited from MultiTrackKinematicConstraint | |
MultiTrackKinematicConstraint () | |
virtual | ~MultiTrackKinematicConstraint () |
Private Attributes | |
const ParticleMass | mass |
const unsigned int | nPart |
Constraint to force some of the particles in the fit to have a certain invariant mass.
Definition at line 13 of file MultiTrackMassKinematicConstraint.h.
|
inline |
Constructor
theMass | the mass to constrain the states |
nbrParticles | the number of particles to use (in case more than that number are present in the fit, the first will be used) |
Definition at line 22 of file MultiTrackMassKinematicConstraint.h.
Referenced by clone().
|
inlinevirtual |
Implements MultiTrackKinematicConstraint.
Definition at line 57 of file MultiTrackMassKinematicConstraint.h.
References MultiTrackMassKinematicConstraint().
|
inlinevirtual |
Number of equations per track used for the fit
Implements MultiTrackKinematicConstraint.
Definition at line 55 of file MultiTrackMassKinematicConstraint.h.
|
virtual |
Returns a matrix of derivatives of constraint equations w.r.t. particle parameters
Implements MultiTrackKinematicConstraint.
Definition at line 29 of file MultiTrackMassKinematicConstraint.cc.
References a, i, nPart, 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 75 of file MultiTrackMassKinematicConstraint.cc.
References a, i, nPart, 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 MultiTrackMassKinematicConstraint.cc.
References a, i, mass, nPart, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
|
private |
Definition at line 62 of file MultiTrackMassKinematicConstraint.h.
Referenced by value().
|
private |
Definition at line 63 of file MultiTrackMassKinematicConstraint.h.
Referenced by parametersDerivative(), positionDerivative(), and value().