70 #ifndef HITFIT_CONSTRAINT_INTERMED_H 71 #define HITFIT_CONSTRAINT_INTERMED_H 121 virtual bool has_labels(
int ilabel,
int jlabel)
const = 0;
141 virtual void print(std::ostream&
s)
const = 0;
147 virtual std::unique_ptr<Constraint_Intermed>
clone()
const = 0;
198 bool has_labels(
int ilabel,
int jlabel)
const override;
218 void print(std::ostream&
s)
const override;
224 std::unique_ptr<Constraint_Intermed>
clone()
const override;
277 bool has_labels(
int ilabel,
int jlabel)
const override;
297 void print(std::ostream&
s)
const override;
303 std::unique_ptr<Constraint_Intermed>
clone()
const override;
366 #endif // not HITFIT_CONSTRAINT_INTERMED_H
Concrete class for one side of mass constraint equation of the type: .
std::unique_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 ...
Concrete class for one side of mass constraint equation of the type: .
virtual void print(std::ostream &s) const =0
std::unique_ptr< Constraint_Intermed > clone() const override
bool has_label(int label) const
double sum_mass_terms(const Fourvec_Event &ev) const override
Constraint_Intermed_Constant(double constant)
Constraint_Intermed_Labels(const std::vector< int > &labels)
bool has_labels(int ilabel, int jlabel) const override
virtual double sum_mass_terms(const Fourvec_Event &ev) const =0
void print(std::ostream &s) const override
void print(std::ostream &s) const override
virtual ~Constraint_Intermed()
std::vector< int > _labels
std::ostream & operator<<(std::ostream &s, const Constraint_Intermed &ci)
Output stream operator, print the content of this Constraint_Intermed to an output stream...
Abstract base classes for describing one side of a mass constraint.
std::unique_ptr< Constraint_Intermed > clone() const override
virtual std::unique_ptr< Constraint_Intermed > clone() const =0
bool has_labels(int ilabel, int jlabel) const override
~Constraint_Intermed_Labels() override
double sum_mass_terms(const Fourvec_Event &ev) const override
virtual bool has_labels(int ilabel, int jlabel) const =0
~Constraint_Intermed_Constant() override
Constraint_Intermed & operator=(const Constraint_Intermed &)