base class for all particles
virtual ErrCode initCovariance(FitParams &) const override
init covariance matrix, do nothing, since the particle is just a feedthrough
int posIndex() const override
take posIndex from daughter
std::vector< Belle2::Particle * > getDaughters() const
Returns a vector of pointers to daughter particles.
unsigned getNDaughters(void) const
Returns number of daughter particles.
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
Class to store reconstructed particles.
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
std::vector< ParticleBase * > m_daughters
daughter container
virtual ParticleBase * addDaughter(Belle2::Particle *, const ConstraintConfiguration &config, bool forceFitAll=false)
add daughter