19#ifndef __SOFTBWMASSCONSTRAINT_H
20#define __SOFTBWMASSCONSTRAINT_H
22#include "analysis/OrcaKinFit/SoftBWParticleConstraint.h"
31 namespace OrcaKinFit {
33 class ParticleFitObject;
49 class SoftBWMassConstraint :
public SoftBWParticleConstraint {
53 explicit SoftBWMassConstraint(
double gamma_,
55 double massmin_ = -std::numeric_limits<double>::infinity(),
56 double massmax_ = std::numeric_limits<double>::infinity()
59 virtual ~SoftBWMassConstraint();
62 virtual double getValue()
const override;
66 virtual void getDerivatives(
int idim,
71 virtual double getMass(
int flag = 1
75 virtual void setMass(
double mass_
84 virtual bool secondDerivatives(
int i,
89 virtual bool firstDerivatives(
int i,
Abstract base class for different kinds of events.