11 #include <analysis/VertexFitting/TreeFitter/RecoResonance.h>
12 #include <analysis/VertexFitting/TreeFitter/FitParams.h>
14 namespace TreeFitter {
21 return ErrCode(ErrCode::Status::success);
31 for (
int i = 0; i < 3; ++i) {
32 quickindexmap[i] = posindex + i;
34 for (
int i = 0; i < 4; ++i) {
35 quickindexmap[i + 3] = momindex + i;
39 for (
int row = 0; row <
dimM(); ++row) {
42 return ErrCode(ErrCode::Status::success);
49 case Constraint::resonance:
Class to store reconstructed particles.
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)
Eigen::Matrix< double, -1, 1, 0, MAX_MATRIX_SIZE, 1 > & getStateVector()
getter for the fit parameters/statevector
base class for all particles
virtual std::string parname(int index) const
get name of parameter i
virtual ErrCode projectConstraint(Constraint::Type, const FitParams &, Projection &) const
project constraint.
int index() const
get index
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
ErrCode projectRecoComposite(const FitParams &fitparams, Projection &p) const
project this particle constraint
Eigen::Matrix< double, 7, 1 > m_params
column vector to store the measurement
virtual std::string parname(int index) const override
parameter name
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