#include <FourMomentumKinematicConstraint.h>
Public Member Functions | |
virtual FourMomentumKinematicConstraint * | clone () const |
virtual std::pair < AlgebraicMatrix, AlgebraicVector > | derivative (const AlgebraicVector &exPoint) const |
virtual std::pair < AlgebraicMatrix, AlgebraicVector > | derivative (const std::vector< RefCountedKinematicParticle > &par) const |
virtual AlgebraicVector | deviations (int nStates) const |
FourMomentumKinematicConstraint (const AlgebraicVector &momentum, const AlgebraicVector &deviation) | |
virtual int | numberOfEquations () const |
virtual std::pair < AlgebraicVector, AlgebraicVector > | value (const AlgebraicVector &exPoint) const |
virtual std::pair < AlgebraicVector, AlgebraicVector > | value (const std::vector< RefCountedKinematicParticle > &par) const |
Public Member Functions inherited from KinematicConstraint | |
KinematicConstraint () | |
virtual | ~KinematicConstraint () |
Private Attributes | |
AlgebraicVector | dd |
AlgebraicVector | mm |
4-Momentum track constraint class provides a way to compute the matrix of derivatives and the vector of values for 4-Momentum constraint on for given KinematicParticle. Current version does not allow working with multiple tracks
Kirill Prokofiev March 2003 MultiState version: July 2004
Definition at line 17 of file FourMomentumKinematicConstraint.h.
FourMomentumKinematicConstraint::FourMomentumKinematicConstraint | ( | const AlgebraicVector & | momentum, |
const AlgebraicVector & | deviation | ||
) |
Constructor with desired 4-momentum vector and vector of deviations to be used forcovariance matrix as arguments
Definition at line 5 of file FourMomentumKinematicConstraint.cc.
Referenced by clone().
|
inlinevirtual |
Clone method
Implements KinematicConstraint.
Definition at line 56 of file FourMomentumKinematicConstraint.h.
References FourMomentumKinematicConstraint().
|
virtual |
Implements KinematicConstraint.
Definition at line 50 of file FourMomentumKinematicConstraint.cc.
References mathSSE::sqrt().
|
virtual |
Vector of values and matrix of derivatives calculated using current state as an expansion point
Implements KinematicConstraint.
Definition at line 86 of file FourMomentumKinematicConstraint.cc.
References mathSSE::sqrt().
|
virtual |
Returns vector of sigma squared associated to the KinematicParameters of refitted particles Initial deviations are given by user for the constraining parameters (mass, momentum components etc). In case of multiple states exactly the same values are added to every particle parameters
Implements KinematicConstraint.
Definition at line 102 of file FourMomentumKinematicConstraint.cc.
References dd.
|
virtual |
Returns number of constraint equations used for fitting. Method is relevant for proper NDF calculations.
Implements KinematicConstraint.
Definition at line 110 of file FourMomentumKinematicConstraint.cc.
|
virtual |
Vector of values and matrix of derivatives calculated at given 7*NumberOfStates expansion point
Implements KinematicConstraint.
Definition at line 31 of file FourMomentumKinematicConstraint.cc.
References mm, and mathSSE::sqrt().
|
virtual |
Methods making value and derivative matrix using current state parameters as expansion 7-point. Constraint can be made equaly for single and multiple states
Implements KinematicConstraint.
Definition at line 70 of file FourMomentumKinematicConstraint.cc.
References mm, and mathSSE::sqrt().
|
private |
Definition at line 62 of file FourMomentumKinematicConstraint.h.
Referenced by deviations(), and FourMomentumKinematicConstraint().
|
private |
Definition at line 61 of file FourMomentumKinematicConstraint.h.
Referenced by FourMomentumKinematicConstraint(), and value().