 |
Belle II Software
release-05-01-25
|
13 #include <analysis/VertexFitting/TreeFitter/ParticleBase.h>
14 #include <analysis/VertexFitting/TreeFitter/MergedConstraint.h>
15 #include <analysis/VertexFitting/TreeFitter/ConstraintConfiguration.h>
17 namespace TreeFitter {
21 class ConstraintConfiguration;
35 bool forceFitAll =
false
101 typedef std::map<Belle2::Particle*, const ParticleBase*>
ParticleMap ;
ParticleBase::constraintlist m_constraintlist
list of constraints
ErrCode initialize(FitParams &par)
initalize the chain
ParticleMap m_particleMap
the map from Belle2::Particles to TreeFitter::ParticleBase
const bool m_isOwner
internal class member to check if we own the chain
ErrCode filter(FitParams &par)
filter down the chain
const ParticleBase * cand()
get candidate
DecayChain()
empty constructor
abstract errorocode be aware that the default is succes
int tauIndex(Belle2::Particle *bc) const
get tau (i.e.
base class for all particles
Class to store and manage fitparams (statevector)
const ParticleBase * locate(Belle2::Particle *bc) const
convert Belle2::particle into particle base(fitter base particle)
int posIndex(Belle2::Particle *bc) const
get the vertex index of the particle in state vector
std::map< Belle2::Particle *, const ParticleBase * > ParticleMap
typedef for a map of a particle to a TreeFitter::ParticleBase
ErrCode filterWithReference(FitParams &par, const FitParams &ref)
filter with respect to a previous iteration for better stability
const ConstraintConfiguration m_config
config container
ParticleBase * mother()
get mother
double chiSquare(const FitParams &par) const
get the chi2 for the head of the chain
std::vector< Constraint > constraintlist
alias
const ParticleBase * m_cand
fit candidate (not same to mother in case of bs/be constraint)
Class to store reconstructed particles.
void removeConstraintFromList()
remove constraints from list
void initConstraintList()
init contraintlist
ParticleBase * m_headOfChain
head of decay tree
int m_dim
the dimension of constraint
int index(Belle2::Particle *bc) const
get the particle index
int momIndex() const
!NOT IMPLEMENTED
int dim() const
get dimension