Belle II Software development
KLMScintillatorFEEParameters Class Reference

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

#include <KLMScintillatorFEEParameters.h>

Inheritance diagram for KLMScintillatorFEEParameters:

Public Member Functions

 KLMScintillatorFEEParameters ()
 Constructor.
 
 ~KLMScintillatorFEEParameters ()
 Destructor.
 
void setFEEData (KLMChannelNumber strip, KLMScintillatorFEEData *data)
 Set scintillator FEE data.
 
const KLMScintillatorFEEDatagetFEEData (KLMChannelNumber strip) const
 Get scintillator FEE data.
 

Private Member Functions

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

Private Attributes

std::map< KLMChannelNumber, KLMScintillatorFEEDatam_FEEParameters
 Scintillator FEE parameters.
 

Detailed Description

Class to store EKLM alignment data in the database.

Definition at line 30 of file KLMScintillatorFEEParameters.h.

Constructor & Destructor Documentation

◆ KLMScintillatorFEEParameters()

Constructor.

Definition at line 14 of file KLMScintillatorFEEParameters.cc.

15{
16}

◆ ~KLMScintillatorFEEParameters()

Destructor.

Definition at line 18 of file KLMScintillatorFEEParameters.cc.

19{
20}

Member Function Documentation

◆ getFEEData()

const KLMScintillatorFEEData * getFEEData ( KLMChannelNumber  strip) const

Get scintillator FEE data.

Parameters
[in]stripStrip (channel) number.

Definition at line 33 of file KLMScintillatorFEEParameters.cc.

35{
36 std::map<KLMChannelNumber, KLMScintillatorFEEData>::const_iterator it;
37 it = m_FEEParameters.find(strip);
38 if (it == m_FEEParameters.end())
39 return nullptr;
40 return &(it->second);
41}
std::map< KLMChannelNumber, KLMScintillatorFEEData > m_FEEParameters
Scintillator FEE parameters.

◆ setFEEData()

void setFEEData ( KLMChannelNumber  strip,
KLMScintillatorFEEData data 
)

Set scintillator FEE data.

Parameters
[in]stripStrip (channel) number.
[in]dataScintillator FEE data.

Definition at line 22 of file KLMScintillatorFEEParameters.cc.

24{
25 std::map<KLMChannelNumber, KLMScintillatorFEEData>::iterator it;
26 it = m_FEEParameters.find(strip);
27 if (it == m_FEEParameters.end())
28 m_FEEParameters.insert(std::pair<KLMChannelNumber, KLMScintillatorFEEData>(strip, *data));
29 else
30 it->second = *data;
31}

Member Data Documentation

◆ m_FEEParameters

std::map<KLMChannelNumber, KLMScintillatorFEEData> m_FEEParameters
private

Scintillator FEE parameters.

Definition at line 60 of file KLMScintillatorFEEParameters.h.


The documentation for this class was generated from the following files: