Concrete class for one side of mass constraint equation of the type:
.
More...
#include <Constraint_Intermed.h>
Public Member Functions | |
std::unique_ptr< Constraint_Intermed > | clone () const override |
Constraint_Intermed_Constant (double constant) | |
Constraint_Intermed_Constant (const Constraint_Intermed_Constant &c) | |
bool | has_labels (int ilabel, int jlabel) const override |
void | print (std::ostream &s) const override |
double | sum_mass_terms (const Fourvec_Event &ev) const override |
~Constraint_Intermed_Constant () override | |
Public Member Functions inherited from hitfit::Constraint_Intermed | |
Constraint_Intermed () | |
virtual | ~Constraint_Intermed () |
Private Attributes | |
double | _c2 |
Concrete class for one side of mass constraint equation of the type:
.
Definition at line 158 of file Constraint_Intermed.h.
hitfit::Constraint_Intermed_Constant::Constraint_Intermed_Constant | ( | double | constant | ) |
Constructor.
constant | The mass constraint of the constraint equation. |
Definition at line 59 of file Constraint_Intermed.cc.
Referenced by clone().
|
inlineoverride |
hitfit::Constraint_Intermed_Constant::Constraint_Intermed_Constant | ( | const Constraint_Intermed_Constant & | c | ) |
Copy constructor.
c | The instance to be copied. |
Definition at line 68 of file Constraint_Intermed.cc.
|
overridevirtual |
Clone function to copy the instance.
Implements hitfit::Constraint_Intermed.
Definition at line 120 of file Constraint_Intermed.cc.
References Constraint_Intermed_Constant().
|
overridevirtual |
Check the instance for reference of ilabel and jlabel.
ilabel | The first label to test. |
jlabel | The second label to test. |
Implements hitfit::Constraint_Intermed.
Definition at line 77 of file Constraint_Intermed.cc.
|
overridevirtual |
Print out the instance to the output stream.
s | The output stream to which the instance is printed. |
Implements hitfit::Constraint_Intermed.
Definition at line 109 of file Constraint_Intermed.cc.
References alignCSCRings::s, and mathSSE::sqrt().
|
overridevirtual |
Evaluate this half of the mass constraint, using the data in ev.
ev | The event for which the mass constraint is to be evaluated. |
Implements hitfit::Constraint_Intermed.
Definition at line 94 of file Constraint_Intermed.cc.
|
private |
The mass constraint value.
Definition at line 231 of file Constraint_Intermed.h.