Belle II Software development
KLMTimeConstants.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
14namespace Belle2 {
23 class KLMTimeConstants : public TObject {
24
25 public:
26
31
33 c_EKLM = 1,
34
36 c_BKLM = 2,
37
40
42 c_RPCZ = 4,
43
44 };
45
50 {
51 }
52
57 {
58 }
59
64 float getDelay(int cType) const;
65
71 void setDelay(float delay, int cType);
72
73 private:
74
77
80
82 float m_DelayRPCPhi = 0.0;
83
85 float m_DelayRPCZ = 0.0;
86
89
90 };
91
93}
Class to store KLM constants related to time.
@ c_BKLM
BKLM scintillator.
@ c_EKLM
EKLM scintillator.
float getDelay(int cType) const
Get effective light speed of scintillators.
float m_DelayRPCPhi
Delay (ns / cm) for RPC phi plane.
float m_DelayEKLMScintillators
Delay (ns / cm) for EKLM scintillators.
ClassDef(KLMTimeConstants, 1)
Class version.
KLMTimeConstants()
Constructor.
float m_DelayBKLMScintillators
Delay (ns / cm) for BKLM scintillators.
float m_DelayRPCZ
Delay (ns / cm) for RPC Z plane.
void setDelay(float delay, int cType)
Set effective light speed of scintillators.
Abstract base class for different kinds of events.