55 : _lhs (c._lhs->
clone ()),
56 _rhs (c._rhs->
clone ())
73 auto_ptr<Constraint_Intermed> ci = c.
_lhs->clone ();
77 auto_ptr<Constraint_Intermed> ci = c.
_rhs->clone ();
96 assert (i != string::npos);
100 auto_ptr<Constraint_Intermed> ci =
105 auto_ptr<Constraint_Intermed> ci =
127 if (_lhs->has_labels (ilabel, jlabel))
129 else if (_rhs->has_labels (ilabel, jlabel))
148 return _lhs->sum_mass_terms (
ev) - _rhs->sum_mass_terms (
ev);
174 s << *c.
_lhs.get() <<
" = " << *c.
_rhs.get();
std::auto_ptr< Constraint_Intermed > _rhs
Represent a mass constraint equation. Mass constraints come in two varieties, either saying that the ...
std::auto_ptr< Constraint_Intermed > make_constraint_intermed(std::string s)
Represent an event for kinematic fitting as a collection of four-momenta. Each object is represented ...
std::auto_ptr< Constraint_Intermed > _lhs
double sum_mass_terms(const Fourvec_Event &ev) const
Constraint(std::string s)
Constraint & operator=(const Constraint &c)
Represent a mass constraint equation.
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
std::ostream & operator<<(std::ostream &s, const Constraint_Intermed &ci)
Output stream operator, print the content of this Constraint_Intermed to an output stream...
int has_labels(int ilabel, int jlabel) const
Represent one side of a mass constraint equation. Contains the abstract base class Constraint_Interme...