Belle II Software
development
Toggle main menu visibility
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
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
v
w
x
z
Typedefs
a
b
c
d
e
g
i
k
l
m
n
p
r
s
t
u
v
w
Enumerations
Enumerator
c
d
f
p
t
v
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
w
z
Related Functions
b
c
d
g
i
o
r
s
t
Files
File List
File Members
All
Functions
Typedefs
Macros
ParticleWeightingBinLimits.h
1
/**************************************************************************
2
* basf2 (Belle II Analysis Software Framework) *
3
* Author: The Belle II Collaboration *
4
* *
5
* See git log for contributors and copyright holders. *
6
* This file is licensed under LGPL-3.0, see LICENSE.md. *
7
**************************************************************************/
8
9
#pragma once
10
#include <framework/logging/Logger.h>
11
12
namespace
Belle2
{
21
class
ParticleWeightingBinLimits
{
22
double
m_lowerLimit
;
23
double
m_upperLimit
;
24
public
:
25
29
ParticleWeightingBinLimits
() {};
30
36
ParticleWeightingBinLimits
(
double
ul,
double
ll)
37
{
38
if
(ul > ll) {
39
m_upperLimit
= ul;
40
m_lowerLimit
= ll;
41
}
else
if
(ul < ll) {
42
m_upperLimit
= ll;
43
m_lowerLimit
= ul;
44
45
}
else
{
46
B2FATAL(
"Trying to create bin with equal limits"
);
47
}
48
}
49
54
double
first
()
const
55
{
56
return
m_lowerLimit
;
57
}
58
63
double
second
()
const
64
{
65
return
m_upperLimit
;
66
}
67
};
69
}
// Belle2 namespace
Belle2::ParticleWeightingBinLimits
Just pair of numbers - min and max values of bin border.
Definition:
ParticleWeightingBinLimits.h:21
Belle2::ParticleWeightingBinLimits::ParticleWeightingBinLimits
ParticleWeightingBinLimits()
Constructor.
Definition:
ParticleWeightingBinLimits.h:29
Belle2::ParticleWeightingBinLimits::m_upperLimit
double m_upperLimit
upper limit
Definition:
ParticleWeightingBinLimits.h:23
Belle2::ParticleWeightingBinLimits::m_lowerLimit
double m_lowerLimit
lower limit
Definition:
ParticleWeightingBinLimits.h:22
Belle2::ParticleWeightingBinLimits::ParticleWeightingBinLimits
ParticleWeightingBinLimits(double ul, double ll)
Constructor.
Definition:
ParticleWeightingBinLimits.h:36
Belle2::ParticleWeightingBinLimits::second
double second() const
Highest bin border.
Definition:
ParticleWeightingBinLimits.h:63
Belle2::ParticleWeightingBinLimits::first
double first() const
Lowest bin border.
Definition:
ParticleWeightingBinLimits.h:54
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:17
analysis
dbobjects
include
ParticleWeightingBinLimits.h
Generated on Thu Apr 10 2025 02:29:24 for Belle II Software by
1.9.6