72 #ifndef HITFIT_CONSTRAINT_INTERMED_H
73 #define HITFIT_CONSTRAINT_INTERMED_H
128 virtual bool has_labels (
int ilabel,
int jlabel)
const = 0;
148 virtual void print (std::ostream&
s)
const = 0;
154 virtual std::unique_ptr<Constraint_Intermed>
clone ()
const = 0;
208 virtual bool has_labels (
int ilabel,
int jlabel)
const;
228 virtual void print (std::ostream&
s)
const;
234 virtual std::unique_ptr<Constraint_Intermed>
clone ()
const;
292 virtual bool has_labels (
int ilabel,
int jlabel)
const;
312 virtual void print (std::ostream&
s)
const;
318 virtual std::unique_ptr<Constraint_Intermed>
clone ()
const;
387 #endif // not HITFIT_CONSTRAINT_INTERMED_H
bool has_label(int label) const
virtual ~Constraint_Intermed_Constant()
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
virtual double sum_mass_terms(const Fourvec_Event &ev) const
virtual void print(std::ostream &s) const
Constraint_Intermed_Constant(double constant)
Constraint_Intermed_Labels(const std::vector< int > &labels)
virtual bool has_labels(int ilabel, int jlabel) const
virtual void print(std::ostream &s) const
virtual double sum_mass_terms(const Fourvec_Event &ev) const =0
virtual std::unique_ptr< Constraint_Intermed > clone() const
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...
virtual ~Constraint_Intermed_Labels()
Abstract base classes for describing one side of a mass constraint.
virtual std::unique_ptr< Constraint_Intermed > clone() const =0
virtual std::unique_ptr< Constraint_Intermed > clone() const
virtual double sum_mass_terms(const Fourvec_Event &ev) const
virtual bool has_labels(int ilabel, int jlabel) const =0
virtual bool has_labels(int ilabel, int jlabel) const
Constraint_Intermed & operator=(const Constraint_Intermed &)