#include <MultiTrackMassKinematicConstraint.h>
Public Member Functions | |
MultiTrackMassKinematicConstraint * | clone () const override |
MultiTrackMassKinematicConstraint (const ParticleMass &theMass, const unsigned int nbrParticles) | |
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 |
AlgebraicVector | value (const std::vector< KinematicState > &states, const GlobalPoint &point) const override |
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 21 of file MultiTrackMassKinematicConstraint.h.
Referenced by clone().
|
inlineoverridevirtual |
Implements MultiTrackKinematicConstraint.
Definition at line 52 of file MultiTrackMassKinematicConstraint.h.
References MultiTrackMassKinematicConstraint().
|
inlineoverridevirtual |
Number of equations per track used for the fit
Implements MultiTrackKinematicConstraint.
Definition at line 50 of file MultiTrackMassKinematicConstraint.h.
|
overridevirtual |
Returns a matrix of derivatives of constraint equations w.r.t. particle parameters
Implements MultiTrackKinematicConstraint.
Definition at line 28 of file MultiTrackMassKinematicConstraint.cc.
References a, mps_fire::i, nPart, and point.
|
overridevirtual |
Returns a matrix of derivatives of constraint equations w.r.t. vertex position
Implements MultiTrackKinematicConstraint.
Definition at line 78 of file MultiTrackMassKinematicConstraint.cc.
References a, mps_fire::i, nPart, and point.
|
overridevirtual |
Returns a vector of values of constraint equations at the point where the input particles are defined.
Implements MultiTrackKinematicConstraint.
Definition at line 4 of file MultiTrackMassKinematicConstraint.cc.
References a, mps_fire::i, mass, nPart, and point.
|
private |
Definition at line 55 of file MultiTrackMassKinematicConstraint.h.
Referenced by Particle.Particle::__str__(), ZMuMuRochCorAnalyzer.DiMuon::__str__(), DiObject.DiMuon::__str__(), datamodel.Object::p4(), and value().
|
private |
Definition at line 56 of file MultiTrackMassKinematicConstraint.h.
Referenced by parametersDerivative(), positionDerivative(), and value().