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
KLMElectronicsChannel.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/KLMElectronicsChannel.h>
11
12
/* KLM headers. */
13
#include <klm/rawdata/RawData.h>
14
15
using namespace
Belle2
;
16
17
bool
KLMElectronicsChannel::operator<
(
18
const
KLMElectronicsChannel
& channel)
const
19
{
20
if
(
m_Copper
< channel.m_Copper)
21
return
true
;
22
else
if
(
m_Copper
> channel.m_Copper)
23
return
false
;
24
if
(
m_Slot
< channel.m_Slot)
25
return
true
;
26
else
if
(
m_Slot
> channel.m_Slot)
27
return
false
;
28
if
(
m_Lane
< channel.m_Lane)
29
return
true
;
30
else
if
(
m_Lane
> channel.m_Lane)
31
return
false
;
32
if
(
m_Axis
< channel.m_Axis)
33
return
true
;
34
else
if
(
m_Axis
> channel.m_Axis)
35
return
false
;
36
return
m_Channel
< channel.m_Channel;
37
}
17
bool
KLMElectronicsChannel::operator<
( {
…
}
38
39
KLMElectronicsChannel
KLMElectronicsChannel::getAsic
()
const
40
{
41
int
asic = (
m_Channel
- 1) / KLM::c_NChannelsAsic;
42
return
KLMElectronicsChannel
(
m_Copper
,
m_Slot
,
m_Lane
,
m_Axis
, asic);
43
}
39
KLMElectronicsChannel
KLMElectronicsChannel::getAsic
()
const
{
…
}
Belle2::KLMElectronicsChannel::m_Copper
int m_Copper
Copper.
Definition
KLMElectronicsChannel.h:162
Belle2::KLMElectronicsChannel::m_Axis
int m_Axis
Axis.
Definition
KLMElectronicsChannel.h:171
Belle2::KLMElectronicsChannel::KLMElectronicsChannel
KLMElectronicsChannel()
Constructor.
Definition
KLMElectronicsChannel.h:30
Belle2::KLMElectronicsChannel::m_Channel
int m_Channel
Channel.
Definition
KLMElectronicsChannel.h:174
Belle2::KLMElectronicsChannel::m_Slot
int m_Slot
Slot.
Definition
KLMElectronicsChannel.h:165
Belle2::KLMElectronicsChannel::operator<
bool operator<(const KLMElectronicsChannel &channel) const
Operator <.
Definition
KLMElectronicsChannel.cc:17
Belle2::KLMElectronicsChannel::getAsic
KLMElectronicsChannel getAsic() const
Get ASIC.
Definition
KLMElectronicsChannel.cc:39
Belle2::KLMElectronicsChannel::m_Lane
int m_Lane
Lane.
Definition
KLMElectronicsChannel.h:168
Belle2
Abstract base class for different kinds of events.
Definition
MillepedeAlgorithm.h:17
klm
dbobjects
src
KLMElectronicsChannel.cc
Generated on Sat May 17 2025 03:01:13 for Belle II Software by
1.13.2