17#ifndef __SOFTGAUSSMOMENTUMCONSTRAINT_H
18#define __SOFTGAUSSMOMENTUMCONSTRAINT_H
20#include "analysis/OrcaKinFit/SoftGaussParticleConstraint.h"
28 namespace OrcaKinFit {
64 virtual double getValue()
const override;
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.
SoftGaussMomentumConstraint(double sigma_=0, double efact_=0, double pxfact_=0, double pyfact_=0, double pzfact_=0, double value_=0)
Constructor.
std::vector< double > derivatives
The derivatives.
SoftGaussParticleConstraint(double sigma_)
Creates an empty SoftGaussParticleConstraint object.
Abstract base class for different kinds of events.