17#ifndef __SOFTGAUSSMOMENTUMCONSTRAINT_H
18#define __SOFTGAUSSMOMENTUMCONSTRAINT_H
20#include "analysis/OrcaKinFit/SoftGaussParticleConstraint.h"
28 namespace OrcaKinFit {
30 class ParticleFitObject;
64 virtual double getValue()
const override;
Implements a soft constraint with chi^2=((efact*sum(E_i) + pxfact*sum(p_x,i)+pyfact*sum(p_y,...
virtual void getDerivatives(int idim, double der[]) const override
Get first order derivatives.
virtual double getValue() const override
Returns the value of the constraint function.
virtual bool secondDerivatives(int i, int j, double *derivatives) const override
Second derivatives with respect to the 4-vectors of Fit objects i and j; result false if all derivati...
virtual bool firstDerivatives(int i, double *derivatives) const override
First derivatives with respect to the 4-vector of Fit objects i; result false if all derivatives are ...
virtual ~SoftGaussMomentumConstraint()
Virtual destructor.
Abstract base class for constraints of kinematic fits.
std::vector< double > derivatives
The derivatives.
Abstract base class for different kinds of events.