 |
Belle II Software
release-05-01-25
|
12 #include <analysis/VertexFitting/TreeFitter/RecoParticle.h>
14 namespace TreeFitter {
17 class RecoKlong :
public RecoParticle {
42 virtual int dimM()
const override {
return 3; }
45 virtual bool hasEnergy()
const override {
return true; }
48 virtual int dim()
const override {
return 4; }
51 virtual int type()
const override {
return kRecoKlong ; }
56 alist.push_back(Constraint(
this, Constraint::klong, depth,
dimM())) ;
virtual int type() const override
type
virtual ~RecoKlong()
destructor
ErrCode initParams()
update or init params
ParticleBase(Belle2::Particle *particle, const ParticleBase *mother, const ConstraintConfiguration *config)
default constructor
Eigen::Matrix< double, 1, 4 > m_clusterPars
constrains measured params (x_c, y_c, z_c, E_c)
abstract errorocode be aware that the default is succes
virtual ErrCode initMotherlessParticle(FitParams &fitparams) override
init particle without mother
ErrCode projectRecoConstraint(const FitParams &fitparams, Projection &p) const override
project klong constraint
Class to store and manage fitparams (statevector)
RecoKlong(Belle2::Particle *bc, const ParticleBase *mother)
constructor
virtual ErrCode initParticleWithMother(FitParams &fitparams) override
init particle with mother
const int m_dim
dimension of residuals and 'width' of H
ErrCode initCovariance(FitParams &fitparams) const override
init covariance
int m_i3
another random index
std::vector< Constraint > constraintlist
alias
static bool useEnergy(Belle2::Particle &cand)
has energy in fit params?
Class to store reconstructed particles.
int m_i1
index with the highest momentum.
const ParticleBase * mother() const
getMother() / hasMother()
virtual int dim() const override
set the size of the particle in the statevector
Eigen::Matrix< double, 4, 4 > m_covariance
covariance (x_c,y_c,z_c,E_c) of measured pars
bool m_init
was initialized*
bool m_useEnergy
has energy ins statevector
virtual int dimM() const override
sets the size of the corresponding residual projection
virtual void addToConstraintList(constraintlist &alist, int depth) const override
add to list
class to store the projected residuals and the corresponding jacobian as well as the covariance matri...
virtual bool hasEnergy() const override
how should the energy be calculated ? from momentum or from E ?