![]() |
Belle II Software release-09-00-03
|
this class More...
#include <FitManager.h>

Public Types | |
| enum | VertexStatus { Success = 0 , NonConverged , BadInput , Failed , UnFitted } |
| status flag of the fit-itereation (the step in the newton method) More... | |
Public Member Functions | |
| FitManager () | |
| constructor | |
| FitManager (Belle2::Particle *particle, const ConstraintConfiguration &config, double prec=0.01, bool updateDaughters=false, const bool useReferencing=false) | |
| constructor | |
| FitManager (const FitManager &other)=delete | |
| use default copy constructor | |
| FitManager & | operator= (const FitManager &other)=delete |
| use default assignment op | |
| ~FitManager () | |
| destructor does stuff | |
| bool | fit () |
| main fit function that uses the kalman filter | |
| bool | updateCand (Belle2::Particle &particle, const bool isTreeHead) const |
| update particles parameters with the fit results | |
| void | updateCand (const ParticleBase &pb, Belle2::Particle &cand, const bool isTreeHead) const |
| locate particle base for a belle2 particle and update the particle with the values from particle base | |
| void | updateTree (Belle2::Particle &particle, const bool isTreeHead) const |
| update the Belle2::Particles with the fit results | |
| void | getCovFromPB (const ParticleBase *pb, TMatrixFSym &returncov) const |
| extract cov from particle base | |
| std::tuple< double, double > | getLifeTime (Belle2::Particle &cand) const |
| get lifetime | |
| std::tuple< double, double > | getDecayLength (const ParticleBase *pb) const |
| get decay length | |
| std::tuple< double, double > | getDecayLength (const ParticleBase *pb, const FitParams &fitparams) const |
| get decay length | |
| std::tuple< double, double > | getDecayLength (Belle2::Particle &cand) const |
| get decay length | |
| Belle2::Particle * | particle () |
| getter for the head of the tree | |
Private Attributes | |
| Belle2::Particle * | m_particle |
| head of the tree | |
| DecayChain * | m_decaychain |
| the decay tree | |
| int | m_status |
| status of the current iteration | |
| double | m_chiSquare |
| chi2 of the current iteration | |
| double | m_prec |
| precision that is needed for status:converged (delta chi2) | |
| ErrCode | m_errCode |
| errorcode | |
| const bool | m_updateDaugthers |
| if this is set all daughters will be updated otherwise only the head of the tree | |
| int | m_ndf |
| number of degrees of freedom for this topology | |
| FitParams * | m_fitparams |
| parameters to be fitted | |
| bool | m_useReferencing |
| use referencing | |
| const ConstraintConfiguration | m_config |
| config container | |
this class
Definition at line 22 of file FitManager.h.
| enum VertexStatus |
status flag of the fit-itereation (the step in the newton method)
Definition at line 26 of file FitManager.h.
|
inline |
constructor
Definition at line 29 of file FitManager.h.
| FitManager | ( | Belle2::Particle * | particle, |
| const ConstraintConfiguration & | config, | ||
| double | prec = 0.01, |
||
| bool | updateDaughters = false, |
||
| const bool | useReferencing = false |
||
| ) |
constructor
Definition at line 24 of file FitManager.cc.
| ~FitManager | ( | ) |
destructor does stuff
Definition at line 45 of file FitManager.cc.
| bool fit | ( | ) |
main fit function that uses the kalman filter
Definition at line 51 of file FitManager.cc.
| void getCovFromPB | ( | const ParticleBase * | pb, |
| TMatrixFSym & | returncov | ||
| ) | const |
extract cov from particle base
Definition at line 127 of file FitManager.cc.
| std::tuple< double, double > getDecayLength | ( | Belle2::Particle & | cand | ) | const |
get decay length
Definition at line 336 of file FitManager.cc.
| std::tuple< double, double > getDecayLength | ( | const ParticleBase * | pb | ) | const |
get decay length
Definition at line 319 of file FitManager.cc.
| std::tuple< double, double > getDecayLength | ( | const ParticleBase * | pb, |
| const FitParams & | fitparams | ||
| ) | const |
get decay length
Definition at line 325 of file FitManager.cc.
| std::tuple< double, double > getLifeTime | ( | Belle2::Particle & | cand | ) | const |
get lifetime
Definition at line 276 of file FitManager.cc.
|
inline |
| bool updateCand | ( | Belle2::Particle & | particle, |
| const bool | isTreeHead | ||
| ) | const |
update particles parameters with the fit results
Definition at line 191 of file FitManager.cc.
| void updateCand | ( | const ParticleBase & | pb, |
| Belle2::Particle & | cand, | ||
| const bool | isTreeHead | ||
| ) | const |
locate particle base for a belle2 particle and update the particle with the values from particle base
Definition at line 202 of file FitManager.cc.
| void updateTree | ( | Belle2::Particle & | particle, |
| const bool | isTreeHead | ||
| ) | const |
update the Belle2::Particles with the fit results
Definition at line 262 of file FitManager.cc.
|
private |
chi2 of the current iteration
Definition at line 92 of file FitManager.h.
|
private |
config container
Definition at line 113 of file FitManager.h.
|
private |
the decay tree
Definition at line 86 of file FitManager.h.
|
private |
errorcode
Definition at line 98 of file FitManager.h.
|
private |
parameters to be fitted
Definition at line 107 of file FitManager.h.
|
private |
number of degrees of freedom for this topology
Definition at line 104 of file FitManager.h.
|
private |
head of the tree
Definition at line 83 of file FitManager.h.
|
private |
precision that is needed for status:converged (delta chi2)
Definition at line 95 of file FitManager.h.
|
private |
status of the current iteration
Definition at line 89 of file FitManager.h.
|
private |
if this is set all daughters will be updated otherwise only the head of the tree
Definition at line 101 of file FitManager.h.
|
private |
use referencing
Definition at line 110 of file FitManager.h.