11#include <analysis/VertexFitting/TreeFitter/RecoParticle.h>
43 virtual int dimM()
const override {
return dim(); }
46 virtual bool hasEnergy()
const override {
return false; }
49 virtual int dim()
const override {
return m_dim; }
52 virtual int type()
const override {
return kRecoNeutral ; }
57 alist.push_back(
Constraint(
this, Constraint::neutralHadron, depth,
dimM())) ;
Class to store reconstructed particles.
EParticleSourceObject
particle source enumerators
class to manage the order of constraints and their filtering
abstract errorocode be aware that the default is success
Class to store and manage fitparams (statevector)
base class for all particles
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...
Eigen::Matrix< double, 4, 4 > m_covariance
covariance (x_c,y_c,z_c,E_c) of measured pars
ErrCode initCovariance(FitParams &fitparams) const override
init covariance
virtual int dim() const override
set the size of the particle in the statevector
RecoNeutral(Belle2::Particle *bc, const ParticleBase *mother)
constructor
ErrCode initParams()
update or init params
const float m_momentumScalingFactor
scale the momentum / energy by this correction factor
virtual int type() const override
type
const int m_dim
dimension of residuals and 'width' of H
virtual bool hasEnergy() const override
how should the energy be calculated ?
virtual void addToConstraintList(constraintlist &alist, int depth) const override
add to list
int m_i3
another random index
virtual int dimM() const override
sets the size of the corresponding residual projection
int m_i1
index with the highest momentum.
virtual ErrCode initParticleWithMother(FitParams &fitparams) override
init particle with mother
int m_i2
random other index
virtual ErrCode initMotherlessParticle(FitParams &fitparams) override
init particle without mother
bool m_init
was initialized
ErrCode projectRecoConstraint(const FitParams &fitparams, Projection &p) const override
project neutral particle constraint
const Belle2::Particle::EParticleSourceObject m_particleSource
(mdst) source of particle
virtual ~RecoNeutral()
destructor
const double m_mass
invariant mass
Eigen::Matrix< double, 1, 4 > m_clusterPars
constrains measured params (x_c, y_c, z_c, E_c)
RecoParticle(Belle2::Particle *bc, const ParticleBase *mother)
constructor