11#include <analysis/VertexFitting/TreeFitter/ParticleBase.h>
22 bool massconstraint =
false);
52 virtual int type()
const override {
return kComposite ; }
72 alist.push_back(
Constraint(
this, Constraint::composite, depth,
dimM())) ;
73 alist.push_back(
Constraint(
this, Constraint::geometric, depth, 3)) ;
75 alist.push_back(
Constraint(
this, Constraint::mass, depth, 1, 3));
Class to store reconstructed particles.
A class for composite particles, where the daughters must be ignored by the fitter.
int dimMeas() const
dimension of the measurement vector
virtual bool hasPosition() const override
return true FIXME
virtual ~Composite()
destructor
int dimM() const
get dimension of measurement
virtual int tauIndex() const override
get tau (lifetime) index in statevector
virtual int dim() const override
get dimension of constraint
void updateParams()
update changed params
virtual ErrCode projectConstraint(Constraint::Type, const FitParams &, Projection &) const override
project this constraint
bool m_massconstraint
flag
Eigen::Matrix< double, 7, 1 > m_params
column vector to store the measurement
virtual int momIndex() const override
get momentum index in statevector
Eigen::Matrix< double, -1, -1, 0, 7, 7 > m_covariance
only lower triangle filled!
virtual int type() const override
get ype
virtual bool hasEnergy() const override
return of this constraint/particle has an energy component
virtual void addToConstraintList(constraintlist &alist, int depth) const override
add this to list
virtual ErrCode initParticleWithMother(FitParams &fitparams) override
init particle in case it has a mother
virtual ErrCode initMotherlessParticle(FitParams &fitparams) override
init particle in case it has no mother
ErrCode projectComposite(const FitParams &fitparams, Projection &p) const
project this particle constraint
virtual int posIndex() const override
get position index in statevectof x,y,z,tau,px,py,pz
constraint configuration class
class to manage the order of constraints and their filtering
Type
type of constraints the order of these constraints is important: it is the order in which they are ap...
abstract errorocode be aware that the default is success
Class to store and manage fitparams (statevector)
base class for all particles
int index() const
get index
const ParticleBase * mother() const
getMother() / hasMother()
std::vector< Constraint > constraintlist
alias
class to store the projected residuals and the corresponding jacobian as well as the covariance matri...