|
ATLAS Offline Software
|
Go to the documentation of this file.
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;
85 #endif // TrkVertexKinematicFitterUtils_MassConstraint_h
virtual int numberOfEquations() const override final
tells the number of equations needed for this type of constraint, that is 1
Eigen::Matrix< double, Eigen::Dynamic, 1 > VectorX
Dynamic Vector - dynamic allocation.
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
static constexpr int s_eqno
number of constraint-equations used by this type of constraint
bool const RAWDATA *ch2 const
MassConstraint()=default
empty constructor
Concrete implementation of Trk::IKinematicConstraint to formulate a mass constraint in kinematic vert...
Ensure that the ATLAS eigen extensions are properly loaded.
Eigen::Matrix< double, 3, 1 > Vector3D
virtual ~MassConstraint()=default
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 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.
double m_mass
value of mass to be constrained in MeV
double mass()
tells the mass value used for the constraint