Belle II Software
development
Toggle main menu visibility
Main Page
Topics
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
a
b
c
e
f
g
n
p
s
v
z
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 Symbols
b
c
d
g
i
o
r
s
t
Files
File List
File Members
All
Functions
Typedefs
Macros
KLMTimeResolution.cc
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
/* Own header. */
10
#include <klm/dbobjects/KLMTimeResolution.h>
11
12
/* C++ headers. */
13
#include <limits>
14
15
using namespace
Belle2
;
16
17
float
KLMTimeResolution::getTimeResolution
(
KLMChannelNumber
channel)
const
18
{
19
std::map<KLMChannelNumber, float>::const_iterator it;
20
it =
m_TimeResolution
.find(channel);
21
if
(it ==
m_TimeResolution
.end())
22
return
std::numeric_limits<float>::quiet_NaN();
23
return
it->second;
24
}
17
float
KLMTimeResolution::getTimeResolution
(
KLMChannelNumber
channel)
const
{
…
}
25
26
void
KLMTimeResolution::setTimeResolution
(
KLMChannelNumber
channel,
float
delay)
27
{
28
std::map<KLMChannelNumber, float>::iterator it;
29
it =
m_TimeResolution
.find(channel);
30
if
(it ==
m_TimeResolution
.end())
31
m_TimeResolution
.insert(std::pair<KLMChannelNumber, float>(channel, delay));
32
else
33
it->second = delay;
34
}
26
void
KLMTimeResolution::setTimeResolution
(
KLMChannelNumber
channel,
float
delay) {
…
}
Belle2::KLMTimeResolution::m_TimeResolution
std::map< KLMChannelNumber, float > m_TimeResolution
Time resolution.
Definition
KLMTimeResolution.h:64
Belle2::KLMTimeResolution::getTimeResolution
float getTimeResolution(KLMChannelNumber channel) const
Get time resolution.
Definition
KLMTimeResolution.cc:17
Belle2::KLMTimeResolution::setTimeResolution
void setTimeResolution(KLMChannelNumber channel, float resolution)
Set time resolution.
Definition
KLMTimeResolution.cc:26
Belle2::KLMChannelNumber
uint16_t KLMChannelNumber
Channel number.
Definition
KLMElementNumberDefinitions.h:36
Belle2
Abstract base class for different kinds of events.
Definition
MillepedeAlgorithm.h:17
klm
dbobjects
src
KLMTimeResolution.cc
Generated on Sat May 17 2025 03:01:14 for Belle II Software by
1.13.2