Belle II Software  release-08-01-10
KLMTimeResolution.h
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 #pragma once
10 
11 /* KLM headers. */
12 #include <klm/dataobjects/KLMElementNumberDefinitions.h>
13 
14 /* ROOT headers. */
15 #include <TObject.h>
16 
17 /* C++ headers. */
18 #include <cstdint>
19 #include <map>
20 
21 namespace Belle2 {
30  class KLMTimeResolution : public TObject {
31 
32  public:
33 
38  {
39  }
40 
45  {
46  }
47 
52  float getTimeResolution(KLMChannelNumber channel) const;
53 
59  void setTimeResolution(KLMChannelNumber channel, float resolution);
60 
61  private:
62 
64  std::map<KLMChannelNumber, float> m_TimeResolution;
65 
68 
69  };
70 
72 }
Class to store KLM time resolution in the database.
std::map< KLMChannelNumber, float > m_TimeResolution
Time resolution.
float getTimeResolution(KLMChannelNumber channel) const
Get time resolution.
void setTimeResolution(KLMChannelNumber channel, float resolution)
Set time resolution.
ClassDef(Belle2::KLMTimeResolution, 1)
Class version.
uint16_t KLMChannelNumber
Channel number.
Abstract base class for different kinds of events.