#include <FourMomentumKinematicConstraint.h>
Public Member Functions | |
FourMomentumKinematicConstraint * | clone () const override |
std::pair< AlgebraicMatrix, AlgebraicVector > | derivative (const AlgebraicVector &exPoint) const override |
std::pair< AlgebraicMatrix, AlgebraicVector > | derivative (const std::vector< RefCountedKinematicParticle > &par) const override |
AlgebraicVector | deviations (int nStates) const override |
FourMomentumKinematicConstraint (const AlgebraicVector &momentum, const AlgebraicVector &deviation) | |
int | numberOfEquations () const override |
std::pair< AlgebraicVector, AlgebraicVector > | value (const AlgebraicVector &exPoint) const override |
std::pair< AlgebraicVector, AlgebraicVector > | value (const std::vector< RefCountedKinematicParticle > &par) const override |
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 4 of file FourMomentumKinematicConstraint.cc.
Referenced by clone().
|
inlineoverridevirtual |
Clone method
Implements KinematicConstraint.
Definition at line 51 of file FourMomentumKinematicConstraint.h.
References FourMomentumKinematicConstraint().
|
overridevirtual |
Implements KinematicConstraint.
Definition at line 51 of file FourMomentumKinematicConstraint.cc.
References l1ctLayer1_cff::dr, and mathSSE::sqrt().
|
overridevirtual |
Vector of values and matrix of derivatives calculated using current state as an expansion point
Implements KinematicConstraint.
Definition at line 92 of file FourMomentumKinematicConstraint.cc.
References l1ctLayer1_cff::dr, and mathSSE::sqrt().
|
overridevirtual |
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 110 of file FourMomentumKinematicConstraint.cc.
References dd.
|
overridevirtual |
Returns number of constraint equations used for fitting. Method is relevant for proper NDF calculations.
Implements KinematicConstraint.
Definition at line 119 of file FourMomentumKinematicConstraint.cc.
|
overridevirtual |
Vector of values and matrix of derivatives calculated at given 7*NumberOfStates expansion point
Implements KinematicConstraint.
Definition at line 29 of file FourMomentumKinematicConstraint.cc.
References mm, and mathSSE::sqrt().
|
overridevirtual |
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 74 of file FourMomentumKinematicConstraint.cc.
References mm, and mathSSE::sqrt().
|
private |
Definition at line 55 of file FourMomentumKinematicConstraint.h.
Referenced by deviations(), and FourMomentumKinematicConstraint().
|
private |
Definition at line 54 of file FourMomentumKinematicConstraint.h.
Referenced by FourMomentumKinematicConstraint(), and value().