#include <MomentumKinematicConstraint.h>
Public Member Functions | |
MomentumKinematicConstraint * | 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 |
MomentumKinematicConstraint (const AlgebraicVector &momentum, const AlgebraicVector &dev) | |
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 |
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 15 of file MomentumKinematicConstraint.h.
MomentumKinematicConstraint::MomentumKinematicConstraint | ( | const AlgebraicVector & | momentum, |
const AlgebraicVector & | dev | ||
) |
Constructor with the 4-momentum vector as an argument
Definition at line 4 of file MomentumKinematicConstraint.cc.
Referenced by clone().
|
inlineoverridevirtual |
Clone method
Implements KinematicConstraint.
Definition at line 48 of file MomentumKinematicConstraint.h.
References MomentumKinematicConstraint().
|
overridevirtual |
Implements KinematicConstraint.
Definition at line 34 of file MomentumKinematicConstraint.cc.
References l1ctLayer1_cff::dr.
|
overridevirtual |
Vector of values and matrix of derivatives calculated using current state parameters as expansion point
Implements KinematicConstraint.
Definition at line 70 of file MomentumKinematicConstraint.cc.
References l1ctLayer1_cff::dr, and point.
|
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 85 of file MomentumKinematicConstraint.cc.
References dd.
|
overridevirtual |
Returns number of constraint equations used for fitting. Method is relevant for proper NDF calculations.
Implements KinematicConstraint.
Definition at line 94 of file MomentumKinematicConstraint.cc.
|
overridevirtual |
Vector of values and matrix of derivatives calculated at given expansion 7xNumberOfStates point
Implements KinematicConstraint.
Definition at line 15 of file MomentumKinematicConstraint.cc.
References mm.
|
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 55 of file MomentumKinematicConstraint.cc.
|
private |
Definition at line 52 of file MomentumKinematicConstraint.h.
Referenced by deviations(), and MomentumKinematicConstraint().
|
private |
Definition at line 51 of file MomentumKinematicConstraint.h.
Referenced by MomentumKinematicConstraint(), and value().