ParticleBase(Belle2::Particle *particle, const ParticleBase *mother, const ConstraintConfiguration *config)
default constructor
virtual ErrCode initCovariance(FitParams &) const override
init covariance matrix, do nothing, since the particle is just a feedthrough
int type() const override
get particle type
int posIndex() const override
take posIndex from daughter
virtual ErrCode initParticleWithMother(FitParams &) override
init particle that does need a mother vertex
virtual void addToConstraintList(constraintlist &alist, int depth) const override
add to constraint list
std::vector< Constraint > constraintlist
alias
int momIndex() const override
take momIndex from daughter
virtual int dim() const override
get dimension of constraint
Class to store reconstructed particles.
const ParticleBase * mother() const
getMother() / hasMother()
FeedthroughParticle(Belle2::Particle *particle, const ParticleBase *mother, const ConstraintConfiguration &config, bool forceFitAll)
Constructor.
virtual ErrCode initMotherlessParticle(FitParams &) override
init particle that does not need a mother vertex
Belle2::Particle * particle() const
get basf2 particle