12#include <analysis/VertexFitting/TreeFitter/ErrCode.h>
104 std::string
name()
const;
class to manage the order of constraints and their filtering
Type m_type
type of constraint
bool isLinear() const
is this a linear constraint
Type
type of constraints the order of these constraints is important: it is the order in which they are ap...
std::string name() const
get name of constraint
unsigned int dim() const
get dimension of constraint
void setNIter(unsigned int d)
set max number of iterations for non lin constraint
bool operator==(const Constraint &rhs) const
operator
virtual ~Constraint()
destructor
int m_weight
weight of this constraint currently we set them all to unity
int m_depth
chi2 coming from the constraint
Constraint(Constraint::Type type)
constructor
unsigned int m_dim
dimension of constraint
int m_maxNIter
maximum number of iterations for non-linear constraints
virtual ErrCode filterWithReference(FitParams &fitpar, const FitParams &oldState)
filter this constraint
void setDim(unsigned int d)
set dimension of constraint
Constraint(const ParticleBase *node, Type type, int depth, unsigned int dim, int maxniter=1)
constructor
bool operator<(const Constraint &rhs) const
operator used to sort the constraints
unsigned int nIter() const
get maximum number of iterations for non in constraint
void setWeight(int w)
used to be able to weight the constraints
const ParticleBase * m_node
particle behind the constraint
virtual ErrCode filter(FitParams &fitpar)
filter this constraint
Type type() const
get type of constraint
virtual ErrCode project(const FitParams &fitpar, Projection &p) const
call the constraints projection function
abstract errorocode be aware that the default is success
Class to store and manage fitparams (statevector)
base class for all particles
class to store the projected residuals and the corresponding jacobian as well as the covariance matri...