Belle II Software
release-05-01-25
KLMElectronicsChannel.cc
1
/**************************************************************************
2
* BASF2 (Belle Analysis Framework 2) *
3
* Copyright(C) 2019 Belle II Collaboration *
4
* *
5
* Author: The Belle II Collaboration *
6
* Contributors: Kirill Chilikin *
7
* *
8
* This software is provided "as is" without any warranty. *
9
**************************************************************************/
10
11
/* Own header. */
12
#include <klm/dbobjects/KLMElectronicsChannel.h>
13
14
using namespace
Belle2
;
15
16
bool
KLMElectronicsChannel::operator<
(
17
const
KLMElectronicsChannel
& channel)
const
18
{
19
if
(
m_Copper
< channel.m_Copper)
20
return
true
;
21
else
if
(
m_Copper
> channel.m_Copper)
22
return
false
;
23
if
(
m_Slot
< channel.m_Slot)
24
return
true
;
25
else
if
(
m_Slot
> channel.m_Slot)
26
return
false
;
27
if
(
m_Lane
< channel.m_Lane)
28
return
true
;
29
else
if
(
m_Lane
> channel.m_Lane)
30
return
false
;
31
if
(
m_Axis
< channel.m_Axis)
32
return
true
;
33
else
if
(
m_Axis
> channel.m_Axis)
34
return
false
;
35
return
m_Channel
< channel.m_Channel;
36
}
37
Belle2::KLMElectronicsChannel::m_Channel
int m_Channel
Channel.
Definition:
KLMElectronicsChannel.h:179
Belle2::KLMElectronicsChannel::m_Axis
int m_Axis
Axis.
Definition:
KLMElectronicsChannel.h:176
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::KLMElectronicsChannel::m_Copper
int m_Copper
Copper.
Definition:
KLMElectronicsChannel.h:167
Belle2::KLMElectronicsChannel::m_Lane
int m_Lane
Lane.
Definition:
KLMElectronicsChannel.h:173
Belle2::KLMElectronicsChannel
BKLM electronics channel.
Definition:
KLMElectronicsChannel.h:33
Belle2::KLMElectronicsChannel::m_Slot
int m_Slot
Slot.
Definition:
KLMElectronicsChannel.h:170
Belle2::KLMElectronicsChannel::operator<
bool operator<(const KLMElectronicsChannel &channel) const
Operator <.
Definition:
KLMElectronicsChannel.cc:16
klm
dbobjects
src
KLMElectronicsChannel.cc
Generated on Fri Nov 5 2021 03:55:11 for Belle II Software by
1.8.17