#include <MomentumKinematicConstraint.h>
Public Member Functions | |
virtual MomentumKinematicConstraint * | 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 |
MomentumKinematicConstraint (const AlgebraicVector &momentum, const AlgebraicVector &dev) | |
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 |
Class constraining total 3-momentum of the particle (p_x,p_y,p_z) This constraint can not be implemented on multiple particles, without fitting the vertex. Current version supports one state refit only.
Kirill Prokofiev, October 2003 MultiState version: July 2004
Definition at line 16 of file MomentumKinematicConstraint.h.
MomentumKinematicConstraint::MomentumKinematicConstraint | ( | const AlgebraicVector & | momentum, |
const AlgebraicVector & | dev | ||
) |
Constructor with the 4-momentum vector as an argument
Definition at line 5 of file MomentumKinematicConstraint.cc.
Referenced by clone().
|
inlinevirtual |
Clone method
Implements KinematicConstraint.
Definition at line 52 of file MomentumKinematicConstraint.h.
References MomentumKinematicConstraint().
|
virtual |
Implements KinematicConstraint.
Definition at line 35 of file MomentumKinematicConstraint.cc.
|
virtual |
Vector of values and matrix of derivatives calculated using current state parameters as expansion point
Implements KinematicConstraint.
Definition at line 66 of file MomentumKinematicConstraint.cc.
References point.
|
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 79 of file MomentumKinematicConstraint.cc.
References dd.
|
virtual |
Returns number of constraint equations used for fitting. Method is relevant for proper NDF calculations.
Implements KinematicConstraint.
Definition at line 87 of file MomentumKinematicConstraint.cc.
|
virtual |
Vector of values and matrix of derivatives calculated at given expansion 7xNumberOfStates point
Implements KinematicConstraint.
Definition at line 18 of file MomentumKinematicConstraint.cc.
References mm.
|
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 53 of file MomentumKinematicConstraint.cc.
|
private |
Definition at line 58 of file MomentumKinematicConstraint.h.
Referenced by deviations(), and MomentumKinematicConstraint().
|
private |
Definition at line 57 of file MomentumKinematicConstraint.h.
Referenced by MomentumKinematicConstraint(), and value().