Belle II Software  release-05-01-25
EKLMChannels.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2015 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 #pragma once
12 
13 /* KLM headers. */
14 #include <klm/dbobjects/eklm/EKLMChannelData.h>
15 
16 /* ROOT headers. */
17 #include <TObject.h>
18 
19 /* C++ headers. */
20 #include <cstdint>
21 #include <map>
22 
23 namespace Belle2 {
32  class EKLMChannels : public TObject {
33 
34  public:
35 
39  EKLMChannels();
40 
44  ~EKLMChannels();
45 
51  void setChannelData(uint16_t strip, EKLMChannelData* dat);
52 
57  const EKLMChannelData* getChannelData(uint16_t strip) const;
58 
59  private:
60 
62  std::map<uint16_t, EKLMChannelData> m_Channels;
63 
66 
67  };
68 
70 }
Belle2::EKLMChannelData
EKLM channel data.
Definition: EKLMChannelData.h:33
Belle2::EKLMChannels::getChannelData
const EKLMChannelData * getChannelData(uint16_t strip) const
Get channel data.
Definition: EKLMChannels.cc:34
Belle2::EKLMChannels::~EKLMChannels
~EKLMChannels()
Destructor.
Definition: EKLMChannels.cc:20
Belle2::EKLMChannels::ClassDef
ClassDef(Belle2::EKLMChannels, 1)
Class version.
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::EKLMChannels
Class to store EKLM alignment data in the database.
Definition: EKLMChannels.h:40
Belle2::EKLMChannels::m_Channels
std::map< uint16_t, EKLMChannelData > m_Channels
Channel data.
Definition: EKLMChannels.h:70
Belle2::EKLMChannels::setChannelData
void setChannelData(uint16_t strip, EKLMChannelData *dat)
Set channel data.
Definition: EKLMChannels.cc:24
Belle2::EKLMChannels::EKLMChannels
EKLMChannels()
Constructor.
Definition: EKLMChannels.cc:16