Belle II Software  release-06-02-00
EKLMHitMCTime.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 <Rtypes.h>
13 
14 namespace Belle2 {
23  class EKLMHitMCTime {
24 
25  public:
26 
31  {
32  }
33 
37  virtual ~EKLMHitMCTime()
38  {
39  }
40 
45  void setMCTime(float t)
46  {
47  m_MCTime = t;
48  }
49 
54  float getMCTime() const
55  {
56  return m_MCTime;
57  }
58 
59  protected:
60 
62  float m_MCTime = -1;
63 
64  private:
65 
68 
69  };
70 
72 }
EKLMHitMCTime()
Constructor.
Definition: EKLMHitMCTime.h:30
ClassDef(Belle2::EKLMHitMCTime, 1)
Class version.
virtual ~EKLMHitMCTime()
Destructor.
Definition: EKLMHitMCTime.h:37
float getMCTime() const
Get MC time.
Definition: EKLMHitMCTime.h:54
void setMCTime(float t)
Set MC time.
Definition: EKLMHitMCTime.h:45
Abstract base class for different kinds of events.