Class to store reconstructed particles.
ParticleBase(Belle2::Particle *particle, const ParticleBase *mother, const ConstraintConfiguration *config=nullptr)
default constructor
const ParticleBase * mother() const
getMother() / hasMother()
virtual ErrCode projectRecoConstraint(const FitParams &fitparams, Projection &p) const =0
abstract projection
virtual std::string parname(int index) const override
name
virtual int dim() const override
this here sets the size in the state vector we are only interested in the momenta of photons,...
virtual ErrCode projectConstraint(Constraint::Type, const FitParams &, Projection &) const override
abstract abstract projection
virtual int momIndex() const override
get momentum index
virtual bool hasEnergy() const override
has an energy in the statevector?
virtual ErrCode initMotherlessParticle(FitParams &fitparams) override
init particle without mother
virtual int dimM() const =0
dimension of the constraint
RecoParticle(Belle2::Particle *bc, const ParticleBase *mother)
constructor