 |
Belle II Software
release-05-01-25
|
13 #include <analysis/VertexFitting/TreeFitter/RecoComposite.h>
15 namespace TreeFitter {
18 class RecoResonance :
public RecoComposite {
35 virtual int dim()
const override {
return hasEnergy() ? 4 : 3;}
41 virtual int type()
const override {
return kRecoResonance; }
50 virtual int tauIndex()
const override {
return -1; }
58 list.push_back(
Constraint(
this, Constraint::resonance, depth,
dimM()));
virtual ErrCode projectConstraint(Constraint::Type, const FitParams &, Projection &) const override
project the constraint
ParticleBase(Belle2::Particle *particle, const ParticleBase *mother, const ConstraintConfiguration *config)
default constructor
virtual void addToConstraintList(constraintlist &list, int depth) const override
add to the list of constraints
abstract errorocode be aware that the default is succes
virtual int type() const override
get type
Class to store and manage fitparams (statevector)
virtual int dim() const override
dimenstion of the vector
virtual int momIndex() const override
get momentum index in statevector
virtual ErrCode initParticleWithMother(FitParams &fitparams) override
init particle in case it has a mother
virtual int posIndex() const override
get position index in statevector x,y,z,tau,px,py,pz
Type
type of constraints the order of these constraints is important: it is the order in which they are ap...
int index() const
get index
class to manage the order of contraints and their filtering
virtual int posIndex() const
get vertex index (in statevector!)
virtual std::string parname(int index) const override
parameter name
std::vector< Constraint > constraintlist
alias
int dimM() const
get dimension of measurement
RecoResonance(Belle2::Particle *bc, const ParticleBase *mother)
constructor
virtual ~RecoResonance()
destructor
Class to store reconstructed particles.
const ParticleBase * mother() const
getMother() / hasMother()
virtual ErrCode initMotherlessParticle(FitParams &fitparams) override
init particle in case it has no mother
virtual bool hasEnergy() const override
return of this constraint/particle has an energy component
virtual int tauIndex() const override
get tau (decay time) index in statevector