12 #include <analysis/VertexFitting/TreeFitter/RecoComposite.h>
14 namespace TreeFitter {
40 virtual int type()
const override {
return kRecoResonance; }
49 virtual int tauIndex()
const override {
return -1; }
57 list.push_back(
Constraint(
this, Constraint::resonance, depth,
dimM()));
Class to store reconstructed particles.
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
virtual int posIndex() const
get vertex index (in statevector!)
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...
A class for composite particles.
int dimM() const
get dimension of measurement
virtual bool hasEnergy() const override
return of this constraint/particle has an energy component
virtual ~RecoResonance()
destructor
virtual std::string parname(int index) const override
parameter name
virtual int tauIndex() const override
get tau (decay time) index in statevector
virtual int dim() const override
dimension of the vector
virtual ErrCode projectConstraint(Constraint::Type, const FitParams &, Projection &) const override
project the constraint
virtual int momIndex() const override
get momentum index in statevector
virtual int type() const override
get type
RecoResonance(Belle2::Particle *bc, const ParticleBase *mother)
constructor
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
virtual int posIndex() const override
get position index in statevector x,y,z,tau,px,py,pz
virtual void addToConstraintList(constraintlist &list, int depth) const override
add to the list of constraints