30 namespace OrcaKinFit {
34 class BaseHardConstraint;
35 class BaseSoftConstraint;
59 virtual std::vector<BaseFitObject*>* getFitObjects();
60 virtual std::vector<BaseHardConstraint*>* getConstraints();
61 virtual std::vector<BaseSoftConstraint*>* getSoftConstraints();
62 virtual double fit() = 0;
63 virtual int getError()
const = 0;
64 virtual double getProbability()
const = 0;
65 virtual double getChi2()
const = 0;
66 virtual int getDoF()
const = 0;
67 virtual int getIterations()
const = 0;
70 virtual bool initialize() = 0;
91 typedef std::vector <BaseFitObject*> FitObjectContainer;
92 typedef std::vector <BaseHardConstraint*> ConstraintContainer;
93 typedef std::vector <BaseSoftConstraint*> SoftConstraintContainer;
95 typedef FitObjectContainer::iterator FitObjectIterator;
96 typedef ConstraintContainer::iterator ConstraintIterator;
97 typedef SoftConstraintContainer::iterator SoftConstraintIterator;
99 FitObjectContainer fitobjects;
100 ConstraintContainer constraints;
101 SoftConstraintContainer softconstraints;
112 std::map<std::string, double> traceValues;
Abstract base class for constraints of kinematic fits.
Abstract base class for fitting engines of kinematic fits.
BaseFitter(const BaseFitter &rhs)
Copy constructor disabled.
virtual const double * getGlobalCovarianceMatrix(int &idim) const
double * cov
global covariance matrix of last fit problem
BaseFitter & operator=(const BaseFitter &rhs)
Assignment disabled.
bool covValid
Flag whether global covariance is valid.
int covDim
dimension of global covariance matrix
Abstract base class for constraints of kinematic fits.
Abstract base class for soft constraints of kinematic fits.
Abstract base class for trace objects of kinematic fits.
Abstract base class for different kinds of events.