 |
Belle II Software
release-05-01-25
|
12 #include <analysis/VertexFitting/TreeFitter/RecoResonance.h>
13 #include <analysis/VertexFitting/TreeFitter/FitParams.h>
15 namespace TreeFitter {
18 : RecoComposite(particle, mother) {}
22 return ErrCode(ErrCode::Status::success);
32 for (
int i = 0; i < 3; ++i) {
33 quickindexmap[i] = posindex + i;
35 for (
int i = 0; i < 4; ++i) {
36 quickindexmap[i + 3] = momindex + i;
40 for (
int row = 0; row <
dimM(); ++row) {
43 return ErrCode(ErrCode::Status::success);
50 case Constraint::resonance:
virtual ErrCode projectConstraint(Constraint::Type, const FitParams &, Projection &) const
project constraint.
virtual ErrCode projectConstraint(Constraint::Type, const FitParams &, Projection &) const override
project the constraint
ErrCode projectRecoComposite(const FitParams &fitparams, Projection &p) const
project this particle constraint
abstract errorocode be aware that the default is succes
virtual int type() const override
get type
Class to store and manage fitparams (statevector)
Eigen::Matrix< double, 7, 1 > m_params
column vector to store the measurement
Eigen::Matrix< double, -1, 1, 0, MAX_MATRIX_SIZE, 1 > & getStateVector()
getter for the fit parameters/statevector
virtual int momIndex() const override
get momentum index in statevector
virtual ErrCode initParticleWithMother(FitParams &fitparams) override
init particle in case it has a mother
virtual int posIndex() const override
get position index in statevector x,y,z,tau,px,py,pz
Type
type of constraints the order of these constraints is important: it is the order in which they are ap...
int index() const
get index
virtual std::string parname(int index) const override
parameter name
int dimM() const
get dimension of measurement
RecoResonance(Belle2::Particle *bc, const ParticleBase *mother)
constructor
virtual std::string parname(int index) const
get name of parameter i
Class to store reconstructed particles.
virtual ErrCode initMotherlessParticle(FitParams &fitparams) override
init particle in case it has no mother