Belle II Software
release-08-01-10
|
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) | |
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.