 |
Belle II Software
release-05-01-25
|
17 #ifndef __SOFTGAUSSMOMENTUMCONSTRAINT_H
18 #define __SOFTGAUSSMOMENTUMCONSTRAINT_H
20 #include "analysis/OrcaKinFit/SoftGaussParticleConstraint.h"
28 namespace OrcaKinFit {
30 class ParticleFitObject;
49 class SoftGaussMomentumConstraint :
public SoftGaussParticleConstraint {
64 virtual double getValue()
const override;
97 #endif // __SOFTGAUSSMOMENTUMCONSTRAINT_H
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 double getValue() const override
Returns the value of the constraint function.
Abstract base class for different kinds of events.
std::vector< double > derivatives
The derivatives.
virtual ~SoftGaussMomentumConstraint()
Virtual destructor.
virtual void getDerivatives(int idim, double der[]) const override
Get first order derivatives.
SoftGaussMomentumConstraint(double sigma_=0, double efact_=0, double pxfact_=0, double pyfact_=0, double pzfact_=0, double value_=0)
Constructor.
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...