Belle II Software  release-05-01-25
EKLMChannels Class Reference

Class to store EKLM alignment data in the database. More...

#include <EKLMChannels.h>

Inheritance diagram for EKLMChannels:
Collaboration diagram for EKLMChannels:

Public Member Functions

 EKLMChannels ()
 Constructor.
 
 ~EKLMChannels ()
 Destructor.
 
void setChannelData (uint16_t strip, EKLMChannelData *dat)
 Set channel data. More...
 
const EKLMChannelDatagetChannelData (uint16_t strip) const
 Get channel data. More...
 

Private Member Functions

 ClassDef (Belle2::EKLMChannels, 1)
 Class version.
 

Private Attributes

std::map< uint16_t, EKLMChannelDatam_Channels
 Channel data.
 

Detailed Description

Class to store EKLM alignment data in the database.

Definition at line 40 of file EKLMChannels.h.

Member Function Documentation

◆ getChannelData()

const EKLMChannelData * getChannelData ( uint16_t  strip) const

Get channel data.

Parameters
[in]stripStrip (channel) number.

Definition at line 34 of file EKLMChannels.cc.

35 {
36  std::map<uint16_t, EKLMChannelData>::const_iterator it;
37  it = m_Channels.find(strip);
38  if (it == m_Channels.end())
39  return nullptr;
40  return &(it->second);
41 }

◆ setChannelData()

void setChannelData ( uint16_t  strip,
EKLMChannelData dat 
)

Set channel data.

Parameters
[in]stripStrip (channel) number.
[in]datChannels data.

Definition at line 24 of file EKLMChannels.cc.


The documentation for this class was generated from the following files:
Belle2::EKLMChannels::m_Channels
std::map< uint16_t, EKLMChannelData > m_Channels
Channel data.
Definition: EKLMChannels.h:70