![]() |
Belle II Software release-09-00-03
|
this class does a lot of stuff: Build decaytree structure allowing to index particles and handle the filtering of constraints across the tree More...
#include <DecayChain.h>

Public Member Functions | |
| DecayChain () | |
| empty constructor | |
| DecayChain (Belle2::Particle *bc, const ConstraintConfiguration &config, bool forceFitAll=false) | |
| constructor | |
| ~DecayChain () | |
| destructor | |
| ErrCode | initialize (FitParams &par) |
| initialize the chain | |
| ErrCode | filter (FitParams &par) |
| filter down the chain | |
| ErrCode | filterWithReference (FitParams &par, const FitParams &ref) |
| filter with respect to a previous iteration for better stability | |
| int | dim () const |
| get dimension | |
| void | initConstraintList () |
| init contraintlist | |
| void | removeConstraintFromList () |
| remove constraints from list | |
| double | chiSquare (const FitParams &par) const |
| get the chi2 for the head of the chain | |
| ParticleBase * | mother () |
| get mother | |
| const ParticleBase * | cand () |
| get candidate | |
| const ParticleBase * | mother () const |
| get mother | |
| const ParticleBase * | locate (Belle2::Particle *bc) const |
| convert Belle2::particle into particle base(fitter base particle) | |
| int | index (Belle2::Particle *bc) const |
| get the particle index | |
| int | posIndex (Belle2::Particle *bc) const |
| get the vertex index of the particle in state vector | |
| int | momIndex (Belle2::Particle *bc) const |
| get momentum index of the particle in the state vector | |
| int | tauIndex (Belle2::Particle *bc) const |
| get tau (i.e. | |
| int | momIndex () const |
| !NOT IMPLEMENTED | |
Private Types | |
| typedef std::map< Belle2::Particle *, const ParticleBase * > | ParticleMap |
| typedef for a map of a particle to a TreeFitter::ParticleBase | |
Private Attributes | |
| int | m_dim |
| the dimension of constraint | |
| ParticleBase * | m_headOfChain |
| head of decay tree | |
| const ParticleBase * | m_cand |
| fit candidate (not same to mother in case of bs/be constraint) | |
| ParticleBase::constraintlist | m_constraintlist |
| list of constraints | |
| 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 | |
| const ConstraintConfiguration | m_config |
| config container | |
this class does a lot of stuff: Build decaytree structure allowing to index particles and handle the filtering of constraints across the tree
Definition at line 23 of file DecayChain.h.
|
private |
typedef for a map of a particle to a TreeFitter::ParticleBase
Definition at line 99 of file DecayChain.h.
|
inline |
empty constructor
Definition at line 28 of file DecayChain.h.
| DecayChain | ( | Belle2::Particle * | bc, |
| const ConstraintConfiguration & | config, | ||
| bool | forceFitAll = false |
||
| ) |
constructor
Definition at line 21 of file DecayChain.cc.
| ~DecayChain | ( | ) |
destructor
Definition at line 46 of file DecayChain.cc.
|
inline |
| double chiSquare | ( | const FitParams & | par | ) | const |
get the chi2 for the head of the chain
Definition at line 106 of file DecayChain.cc.
|
inline |
filter down the chain
Definition at line 81 of file DecayChain.cc.
filter with respect to a previous iteration for better stability
Definition at line 93 of file DecayChain.cc.
| int index | ( | Belle2::Particle * | bc | ) | const |
get the particle index
Definition at line 130 of file DecayChain.cc.
| void initConstraintList | ( | ) |
init contraintlist
Definition at line 53 of file DecayChain.cc.
initialize the chain
Definition at line 70 of file DecayChain.cc.
| const ParticleBase * locate | ( | Belle2::Particle * | bc | ) | const |
convert Belle2::particle into particle base(fitter base particle)
Definition at line 111 of file DecayChain.cc.
| int momIndex | ( | Belle2::Particle * | bc | ) | const |
get momentum index of the particle in the state vector
Definition at line 148 of file DecayChain.cc.
|
inline |
|
inline |
| int posIndex | ( | Belle2::Particle * | bc | ) | const |
get the vertex index of the particle in state vector
Definition at line 139 of file DecayChain.cc.
| void removeConstraintFromList | ( | ) |
remove constraints from list
Definition at line 61 of file DecayChain.cc.
| int tauIndex | ( | Belle2::Particle * | bc | ) | const |
get tau (i.e.
decay lifetime) index of the particle in the state vector
Definition at line 157 of file DecayChain.cc.
|
private |
fit candidate (not same to mother in case of bs/be constraint)
Definition at line 93 of file DecayChain.h.
|
private |
config container
Definition at line 108 of file DecayChain.h.
|
private |
list of constraints
Definition at line 96 of file DecayChain.h.
|
mutableprivate |
the dimension of constraint
Definition at line 89 of file DecayChain.h.
|
mutableprivate |
head of decay tree
Definition at line 91 of file DecayChain.h.
|
private |
internal class member to check if we own the chain
Definition at line 105 of file DecayChain.h.
|
private |
the map from Belle2::Particles to TreeFitter::ParticleBase
Definition at line 102 of file DecayChain.h.