#include <PzConstraint.h>
Inheritance diagram for PzConstraint:
Public Member Functions | |
PzConstraint () | |
virtual | ~PzConstraint () |
virtual double | getValue () const=0 |
Returns the value of the constraint. | |
virtual void | getDerivatives (int idim, double der[]) const=0 |
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. |
Author: Jenny List, Benno List Last update:
Definition at line 35 of file PzConstraint.h.
|
Definition at line 30 of file PzConstraint.C. |
|
Definition at line 33 of file PzConstraint.C. |
|
Adds first order derivatives to global covariance matrix M.
Reimplemented from ParticleConstraint. Definition at line 63 of file PzConstraint.C. References ParticleConstraint::ConstFitObjectIterator, ParticleConstraint::fitobjects, ParticleFitObject::getDPz(), ParticleConstraint::getGlobalNum(), ParticleFitObject::getGlobalParNum(), ParticleFitObject::getNPar(), and ParticleFitObject::isParamFixed(). |
|
Adds second order derivatives to global covariance matrix M.
Reimplemented from ParticleConstraint. Definition at line 83 of file PzConstraint.C. References ParticleFitObject::addTo2ndDerivatives(), ParticleConstraint::ConstFitObjectIterator, and ParticleConstraint::fitobjects. |
|
Get first order derivatives. Call this with a predefined array "der" with the necessary number of entries!
Implements ParticleConstraint. Definition at line 49 of file PzConstraint.C. References ParticleConstraint::fitobjects. |
|
Returns the value of the constraint.
Implements ParticleConstraint. Definition at line 36 of file PzConstraint.C. References ParticleConstraint::fitobjects. |