5#ifndef TrkVertexKinematicFitterUtils_MassConstraint_h
6#define TrkVertexKinematicFitterUtils_MassConstraint_h
50 std::vector<Amg::VectorX>& cart_coordList,
51 std::vector<int>& charges,
53 double b_fieldTesla)
const override final;
65 std::vector<Amg::VectorX>& cart_coordList,
66 std::vector<int>& charges,
68 double b_fieldTesla)
const override final;
double mass()
tells the mass value used for the constraint
virtual ~MassConstraint()=default
MassConstraint()=default
empty constructor
static constexpr int s_eqno
number of constraint-equations used by this type of constraint
virtual Amg::VectorX vectorOfValues(std::vector< Amg::VectorX > &cart_coordList, std::vector< int > &charges, Amg::Vector3D refPoint, double b_fieldTesla) const override final
method returning the vector of parameters values.
virtual Amg::MatrixX matrixOfDerivatives(std::vector< Amg::VectorX > &cart_coordList, std::vector< int > &charges, Amg::Vector3D refPoint, double b_fieldTesla) const override final
method returning the matrix of derivatives.
virtual int numberOfEquations() const override final
tells the number of equations needed for this type of constraint, that is 1
double m_mass
value of mass to be constrained in MeV
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
Eigen::Matrix< double, 3, 1 > Vector3D
Eigen::Matrix< double, Eigen::Dynamic, 1 > VectorX
Dynamic Vector - dynamic allocation.
Ensure that the ATLAS eigen extensions are properly loaded.