Belle II Software  release-06-02-00
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 using namespace Belle2;
13 
15  const KLMElectronicsChannel& channel) const
16 {
17  if (m_Copper < channel.m_Copper)
18  return true;
19  else if (m_Copper > channel.m_Copper)
20  return false;
21  if (m_Slot < channel.m_Slot)
22  return true;
23  else if (m_Slot > channel.m_Slot)
24  return false;
25  if (m_Lane < channel.m_Lane)
26  return true;
27  else if (m_Lane > channel.m_Lane)
28  return false;
29  if (m_Axis < channel.m_Axis)
30  return true;
31  else if (m_Axis > channel.m_Axis)
32  return false;
33  return m_Channel < channel.m_Channel;
34 }
35 
BKLM electronics channel.
bool operator<(const KLMElectronicsChannel &channel) const
Operator <.
Abstract base class for different kinds of events.