#include <EConstraint.h>
Inheritance diagram for EConstraint:
Public Member Functions | |
EConstraint (double ecm_) | |
Constructor. | |
virtual | ~EConstraint () |
Virtual destructor. | |
virtual double | getValue () const=0 |
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. | |
double | getEcm () const |
Accessor for the center of mass energy. | |
Protected Attributes | |
double | ecm |
The center of mass energy. |
Author: Jenny List Last update:
Definition at line 35 of file EConstraint.h.
|
Constructor.
Definition at line 25 of file EConstraint.C. |
|
Virtual destructor.
Definition at line 28 of file EConstraint.C. |
|
Adds first order derivatives to global covariance matrix M.
Reimplemented from ParticleConstraint. Definition at line 58 of file EConstraint.C. References ParticleConstraint::ConstFitObjectIterator, ParticleConstraint::fitobjects, ParticleFitObject::getDE(), ParticleConstraint::getGlobalNum(), ParticleFitObject::getGlobalParNum(), ParticleFitObject::getNPar(), and ParticleFitObject::isParamFixed(). |
|
Adds second order derivatives to global covariance matrix M.
Reimplemented from ParticleConstraint. Definition at line 78 of file EConstraint.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 44 of file EConstraint.C. References ParticleConstraint::fitobjects. |
|
Accessor for the center of mass energy.
Definition at line 63 of file EConstraint.h. References ecm. Referenced by getValue(). |
|
Returns the value of the constraint.
Implements ParticleConstraint. Definition at line 31 of file EConstraint.C. References ParticleConstraint::fitobjects, and getEcm(). |
|
The center of mass energy.
Definition at line 67 of file EConstraint.h. Referenced by getEcm(). |