Belle II Software  release-06-00-14
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 /* ROOT headers. */
12 #include <TObject.h>
13 
14 /* C++ headers. */
15 #include <cstdint>
16 #include <map>
17 
18 namespace Belle2 {
27  class KLMTimeResolution : public TObject {
28 
29  public:
30 
35  {
36  }
37 
42  {
43  }
44 
49  float getTimeResolution(uint16_t channel) const;
50 
56  void setTimeResolution(uint16_t channel, float resolution);
57 
58  private:
59 
61  std::map<uint16_t, float> m_TimeResolution ;
62 
65 
66  };
67 
69 }
Class to store KLM time resolution in the database.
std::map< uint16_t, float > m_TimeResolution
Time resolution.
void setTimeResolution(uint16_t channel, float resolution)
Set time resolution.
float getTimeResolution(uint16_t channel) const
Get time resolution.
ClassDef(Belle2::KLMTimeResolution, 1)
Class version.
Abstract base class for different kinds of events.