17#ifndef __BaseSoftConstraint_H
18#define __BaseSoftConstraint_H
20#include "analysis/OrcaKinFit/BaseConstraint.h"
28 namespace OrcaKinFit {
Abstract base class for constraints of kinematic fits.
Abstract base class for soft constraints of kinematic fits.
virtual void add2ndDerivativesToMatrix(double *M, int idim) const =0
Adds second order derivatives to global covariance matrix M.
virtual double getChi2() const =0
Returns the chi2.
virtual void addToGlobalChi2DerVector(double *y, int idim) const =0
Add derivatives of chi squared to global derivative matrix.
virtual ~BaseSoftConstraint()
Virtual destructor.
Abstract base class for different kinds of events.