#include <TTVertexConstraint.h>
Inheritance diagram for TTVertexConstraint:


Public Member Functions | |
| TTVertexConstraint (const TrackFitObject &t0, int i0, const TrackFitObject &t1, int i1, int axis) | |
| Constructor. | |
| virtual | ~TTVertexConstraint () |
| 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 Member Functions | |
| virtual void | invalidateCache () const |
| Invalidates any cached values for the next event. | |
| virtual void | updateCache () const |
| Update the cached values. | |
Protected Attributes | |
| int | globalNum |
| Position of constraint in global constraint list. | |
| const TrackFitObject * | tracks [2] |
| int | vnumber [2] |
| ThreeVector | factor |
| double | sign [2] |
| bool | cachevalid |
|
||||||||||||||||||||||||
|
Constructor.
Definition at line 10 of file TTVertexConstraint.C. References factor, ThreeVector::setValues(), sign, tracks, and vnumber. |
|
|
Virtual destructor.
Definition at line 37 of file TTVertexConstraint.C. |
|
||||||||||||
|
Adds first order derivatives to global covariance matrix M.
Implements BaseConstraint. Definition at line 59 of file TTVertexConstraint.C. |
|
||||||||||||||||
|
Adds second order derivatives to global covariance matrix M.
Implements BaseConstraint. Definition at line 81 of file TTVertexConstraint.C. |
|
||||||||||||
|
Get first order derivatives. Call this with a predefined array "der" with the necessary number of entries! Implements BaseConstraint. Definition at line 47 of file TTVertexConstraint.C. References factor, TrackFitObject::getNPar(), sign, tracks, and vnumber. |
|
|
Accesses position of constraint in global constraint list.
Implements BaseConstraint. Definition at line 55 of file TTVertexConstraint.h. References globalNum. |
|
|
Returns the value of the constraint.
Implements BaseConstraint. Definition at line 40 of file TTVertexConstraint.C. References factor, TrackFitObject::getVertex(), sign, tracks, and vnumber. |
|
|
Invalidates any cached values for the next event.
Definition at line 131 of file TTVertexConstraint.C. References cachevalid. |
|
|
Sets position of constraint in global constraint list.
Implements BaseConstraint. Definition at line 57 of file TTVertexConstraint.h. References globalNum. |
|
|
Update the cached values.
Definition at line 135 of file TTVertexConstraint.C. References cachevalid. |
|
|
Definition at line 74 of file TTVertexConstraint.h. Referenced by invalidateCache(), and updateCache(). |
|
|
Definition at line 71 of file TTVertexConstraint.h. Referenced by getDerivatives(), getValue(), and TTVertexConstraint(). |
|
|
Position of constraint in global constraint list.
Definition at line 67 of file TTVertexConstraint.h. Referenced by getGlobalNum(), and setGlobalNum(). |
|
|
Definition at line 72 of file TTVertexConstraint.h. Referenced by getDerivatives(), getValue(), and TTVertexConstraint(). |
|
|
Definition at line 69 of file TTVertexConstraint.h. Referenced by getDerivatives(), getValue(), and TTVertexConstraint(). |
|
|
Definition at line 70 of file TTVertexConstraint.h. Referenced by getDerivatives(), getValue(), and TTVertexConstraint(). |
1.3.2