Go to the documentation of this file.
66 unique_ptr<Constraint_Intermed> ci =
c._lhs->clone();
70 unique_ptr<Constraint_Intermed> ci =
c._rhs->clone();
116 if (_lhs->has_labels(ilabel, jlabel))
118 else if (_rhs->has_labels(ilabel, jlabel))
136 return _lhs->sum_mass_terms(
ev) - _rhs->sum_mass_terms(
ev);
161 s << *
c._lhs.get() <<
" = " << *
c._rhs.get();
Represent a mass constraint equation.
std::unique_ptr< Constraint_Intermed > _rhs
Represent an event for kinematic fitting as a collection of four-momenta. Each object is represented ...
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
std::unique_ptr< Constraint_Intermed > make_constraint_intermed(std::string s)
std::ostream & operator<<(std::ostream &s, const Constraint_Intermed &ci)
Output stream operator, print the content of this Constraint_Intermed to an output stream.
Represent a mass constraint equation. Mass constraints come in two varieties, either saying that the ...
Constraint & operator=(const Constraint &c)
Constraint(std::string s)
Represent one side of a mass constraint equation. Contains the abstract base class Constraint_Interme...
std::unique_ptr< T, impl::DeviceDeleter > unique_ptr
double sum_mass_terms(const Fourvec_Event &ev) const
std::unique_ptr< Constraint_Intermed > _lhs
int has_labels(int ilabel, int jlabel) const