Abstract base classes for describing one side of a mass constraint. More...
#include <Constraint_Intermed.h>
Public Member Functions | |
virtual std::unique_ptr< Constraint_Intermed > | clone () const =0 |
Constraint_Intermed () | |
virtual bool | has_labels (int ilabel, int jlabel) const =0 |
virtual void | print (std::ostream &s) const =0 |
virtual double | sum_mass_terms (const Fourvec_Event &ev) const =0 |
virtual | ~Constraint_Intermed () |
Abstract base classes for describing one side of a mass constraint.
Definition at line 96 of file Constraint_Intermed.h.
|
inline |
|
inlinevirtual |
Destructor.
Definition at line 112 of file Constraint_Intermed.h.
References clone(), ev, has_labels(), print(), alignCSCRings::s, and sum_mass_terms().
|
pure virtual |
Clone function to copy the instance.
Implemented in hitfit::Constraint_Intermed_Labels, and hitfit::Constraint_Intermed_Constant.
Referenced by ~Constraint_Intermed(), hitfit::Constraint_Intermed_Constant::~Constraint_Intermed_Constant(), and hitfit::Constraint_Intermed_Labels::~Constraint_Intermed_Labels().
|
pure virtual |
Check the instance for reference of ilabel and jlabel.
ilabel | The first label to test. |
jlabel | The second label to test. |
Implemented in hitfit::Constraint_Intermed_Labels, and hitfit::Constraint_Intermed_Constant.
Referenced by ~Constraint_Intermed(), hitfit::Constraint_Intermed_Constant::~Constraint_Intermed_Constant(), and hitfit::Constraint_Intermed_Labels::~Constraint_Intermed_Labels().
|
pure virtual |
Print out the instance to the output stream.
s | The output stream to which the instance is printed. |
Implemented in hitfit::Constraint_Intermed_Labels, and hitfit::Constraint_Intermed_Constant.
Referenced by hitfit::operator<<(), ~Constraint_Intermed(), hitfit::Constraint_Intermed_Constant::~Constraint_Intermed_Constant(), and hitfit::Constraint_Intermed_Labels::~Constraint_Intermed_Labels().
|
pure virtual |
Evaluate this half of the mass constraint, using the data in ev.
ev | The event for which the mass constraint is to be evaluated. |
Implemented in hitfit::Constraint_Intermed_Labels, and hitfit::Constraint_Intermed_Constant.
Referenced by ~Constraint_Intermed(), hitfit::Constraint_Intermed_Constant::~Constraint_Intermed_Constant(), and hitfit::Constraint_Intermed_Labels::~Constraint_Intermed_Labels().