 |
Belle II Software
release-05-01-25
|
12 #include <analysis/VertexFitting/TreeFitter/ParticleBase.h>
14 namespace TreeFitter {
17 class RecoComposite :
public ParticleBase {
51 virtual int type()
const override {
return kRecoComposite ; }
57 virtual int tauIndex()
const override {
return index() + 3 ; }
60 virtual int momIndex()
const override {
return index() + 4 ; }
66 virtual bool hasPosition()
const override {
return true ; }
71 alist.push_back(
Constraint(
this, Constraint::composite, depth,
dimM())) ;
72 alist.push_back(
Constraint(
this, Constraint::geometric, depth, 3)) ;
78 Eigen::Matrix<double, 7, 1>
m_params;
virtual int type() const override
get ype
virtual int momIndex() const override
get momentum index in statevector
ParticleBase(Belle2::Particle *particle, const ParticleBase *mother, const ConstraintConfiguration *config)
default constructor
ErrCode projectRecoComposite(const FitParams &fitparams, Projection &p) const
project this particle constraint
abstract errorocode be aware that the default is succes
virtual ErrCode initMotherlessParticle(FitParams &fitparams) override
init particle in case it has no mother
virtual ErrCode initParticleWithMother(FitParams &fitparams) override
init particle in case it has a mother
Eigen::Matrix< double, -1, -1, 0, 7, 7 > m_covariance
only lower triangle filled!
Class to store and manage fitparams (statevector)
Eigen::Matrix< double, 7, 1 > m_params
column vector to store the measurement
virtual int posIndex() const override
get position index in statevectof 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
class to manage the order of contraints and their filtering
virtual ~RecoComposite()
destructor
virtual int dim() const override
get dimension of cosntraint
virtual int tauIndex() const override
get tau (lifetime) index in statevector
std::vector< Constraint > constraintlist
alias
void updateParams()
update chaed params
int dimM() const
get dimension of measurement
Class to store reconstructed particles.
const ParticleBase * mother() const
getMother() / hasMother()
virtual void addToConstraintList(constraintlist &alist, int depth) const override
add this to list
virtual bool hasPosition() const override
return true FIXME
RecoComposite(Belle2::Particle *bc, const ParticleBase *mother)
constructor
int dimMeas() const
dimension of the measurement vector
virtual bool hasEnergy() const override
return of this constraint/particle has an energy component
class to store the projected residuals and the corresponding jacobian as well as the covariance matri...
virtual ErrCode projectConstraint(Constraint::Type, const FitParams &, Projection &) const override
project this constraint