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