11#include <analysis/VertexFitting/TreeFitter/InternalParticle.h>
14 class ConstraintConfiguration;
35 virtual int dim()
const override {
return 4; }
37 virtual int type()
const override {
return kResonance; }
46 virtual int tauIndex()
const override {
return -1; }
Class to store reconstructed particles.
constraint configuration class
abstract errorocode be aware that the default is success
Class to store and manage fitparams (statevector)
another unnecessary layer of abstraction
base class for all particles
Belle2::Particle * particle() const
get basf2 particle
virtual int posIndex() const
get vertex index (in statevector!)
int index() const
get index
const ParticleBase * mother() const
getMother() / hasMother()
class for resonances as internal particles
virtual ~Resonance()
destructor
virtual bool hasPosition() const override
does this class have position? NO
virtual std::string parname(int index) const override
parameter name
virtual int tauIndex() const override
get tau (lifetime) index in statevector
virtual int dim() const override
dimension (4)
virtual int momIndex() const override
get momentum index in statevector
virtual int type() const override
particle type
ErrCode initParticleWithMother(FitParams &fitparams) override
initialise a particle with a mother
ErrCode initMotherlessParticle(FitParams &fitparams) override
initialise a motherless particle
virtual int posIndex() const override
get position index in statevector x,y,z,tau,px,py,pz