Belle II Software
release-05-01-25
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
a
b
c
d
e
h
i
l
m
n
p
r
s
t
v
w
Enumerations
Enumerator
c
d
f
p
t
u
v
w
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
k
l
m
n
o
p
r
s
t
u
v
z
Related Functions
b
c
d
g
i
o
r
s
t
Files
File List
File Members
All
Functions
Resonance.cc
1
/**************************************************************************
2
*
3
* BASF2 (Belle Analysis Framework 2) *
4
* Copyright(C) 2013 - Belle II Collaboration *
5
* *
6
* Author: The Belle II Collaboration *
7
* Contributor: Wouter Hulsbergen, Francesco Tenchini *
8
* *
9
* This software is provided "as is" without any warranty. *
10
**************************************************************************/
11
12
#include <analysis/VertexFitting/TreeFitter/Resonance.h>
13
14
namespace
TreeFitter {
15
16
Resonance::Resonance
(
Belle2::Particle
* particle,
17
const
ParticleBase* mother,
18
const
ConstraintConfiguration& config,
19
bool
forceFitAll) :
20
InternalParticle(particle, mother, config, forceFitAll) {}
21
22
ErrCode Resonance::initMotherlessParticle(FitParams& fitparams)
23
{
24
ErrCode status;
25
for
(
auto
daughter : m_daughters) {
26
status |= daughter->initMotherlessParticle(fitparams);
27
}
28
return
status;
29
}
30
31
ErrCode
Resonance::initParticleWithMother(
FitParams
& fitparams)
32
{
33
ErrCode
status;
34
for
(
auto
daughter : m_daughters) {
35
status |= daughter->initParticleWithMother(fitparams);
36
}
37
initMomentum(fitparams);
38
return
status;
39
}
40
41
Resonance::~Resonance() =
default
;
42
43
std::string Resonance::parname(
int
index)
const
44
{
45
return
ParticleBase::parname(index + 4);
46
}
47
48
}
TreeFitter::ErrCode
abstract errorocode be aware that the default is succes
Definition:
ErrCode.h:23
TreeFitter::FitParams
Class to store and manage fitparams (statevector)
Definition:
FitParams.h:29
TreeFitter::Resonance::Resonance
Resonance(Belle2::Particle *particle, const ParticleBase *mother, const ConstraintConfiguration &config, bool forceFitAll)
constructor
Definition:
Resonance.cc:25
Belle2::Particle
Class to store reconstructed particles.
Definition:
Particle.h:77
analysis
VertexFitting
TreeFitter
src
Resonance.cc
Generated on Fri Nov 5 2021 03:46:46 for Belle II Software by
1.8.17