56 : _lhs (c._lhs->
clone ()),
57 _rhs (c._rhs->
clone ())
74 auto_ptr<Constraint_Intermed> ci = c.
_lhs->clone ();
78 auto_ptr<Constraint_Intermed> ci = c.
_rhs->clone ();
97 assert (i != string::npos);
101 auto_ptr<Constraint_Intermed> ci =
106 auto_ptr<Constraint_Intermed> ci =
128 if (_lhs->has_labels (ilabel, jlabel))
130 else if (_rhs->has_labels (ilabel, jlabel))
149 return _lhs->sum_mass_terms (ev) - _rhs->sum_mass_terms (ev);
175 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...