#include <VertexConstraint.h>
Inheritance diagram for VertexConstraint:
Public Member Functions | |
VertexConstraint (const VertexFitObject &vertex_, const TrackFitObject &track_, int ivertex_, int axis) | |
Constructor. | |
virtual | ~VertexConstraint () |
Virtual destructor. | |
virtual double | getValue () const |
Returns the value of the constraint. | |
virtual void | getDerivatives (int idim, double der[]) const |
virtual void | add1stDerivativesToMatrix (int idim, double *M) const |
Adds first order derivatives to global covariance matrix M. | |
virtual void | add2ndDerivativesToMatrix (int idim, double *M, double lambda) const |
Adds second order derivatives to global covariance matrix M. | |
virtual int | getGlobalNum () const |
Accesses position of constraint in global constraint list. | |
virtual void | setGlobalNum (int iglobal) |
Sets position of constraint in global constraint list. | |
Protected Attributes | |
int | globalNum |
Position of constraint in global constraint list. | |
const VertexFitObject * | vertex |
const TrackFitObject * | track |
int | ivertex |
ThreeVector | factor |
Author: Benno List, Jenny List
Definition at line 33 of file VertexConstraint.h.
|
Constructor.
Definition at line 11 of file VertexConstraint.C. References factor, ThreeVector::setValues(), track, and vertex. |
|
Virtual destructor.
Definition at line 33 of file VertexConstraint.C. |
|
Adds first order derivatives to global covariance matrix M.
Implements BaseConstraint. Definition at line 69 of file VertexConstraint.C. |
|
Adds second order derivatives to global covariance matrix M.
Implements BaseConstraint. Definition at line 74 of file VertexConstraint.C. |
|
Get first order derivatives. Call this with a predefined array "der" with the necessary number of entries! Implements BaseConstraint. Definition at line 51 of file VertexConstraint.C. References factor, TrackFitObject::getGlobalParNum(), VertexFitObject::getGlobalParNum(), TrackFitObject::getNPar(), VertexFitObject::getNPar(), TrackFitObject::getVertexDerivative(), VertexFitObject::getVertexDerivative(), TrackFitObject::isParamFixed(), VertexFitObject::isParamFixed(), ivertex, track, and vertex. |
|
Accesses position of constraint in global constraint list.
Implements BaseConstraint. Definition at line 56 of file VertexConstraint.h. References globalNum. |
|
Returns the value of the constraint.
Implements BaseConstraint. Definition at line 36 of file VertexConstraint.C. References factor, TrackFitObject::getVertex(), VertexFitObject::getVertex(), ivertex, track, and vertex. |
|
Sets position of constraint in global constraint list.
Implements BaseConstraint. Definition at line 58 of file VertexConstraint.h. References globalNum. |
|
Definition at line 68 of file VertexConstraint.h. Referenced by getDerivatives(), getValue(), and VertexConstraint(). |
|
Position of constraint in global constraint list.
Definition at line 63 of file VertexConstraint.h. Referenced by getGlobalNum(), and setGlobalNum(). |
|
Definition at line 67 of file VertexConstraint.h. Referenced by getDerivatives(), and getValue(). |
|
Definition at line 66 of file VertexConstraint.h. Referenced by getDerivatives(), getValue(), and VertexConstraint(). |
|
Definition at line 65 of file VertexConstraint.h. Referenced by getDerivatives(), getValue(), and VertexConstraint(). |