Belle II Software  release-08-01-10
ARICHThParam.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 #ifndef ARICHTHPARAM_H
10 #define ARICHTHPARAM_H
11 
12 // ROOT
13 #include <TObject.h>
14 
15 namespace Belle2 {
23 
26  class ARICHThParam : public TObject {
27 
28  public:
29 
31  ARICHThParam() : m_index(-1), m_dth(-1), m_th0(0), m_nth(0)
32  {
34  }
35 
36  ARICHThParam(int index, double dth, double th0, int nth)
37  {
38  m_index = index;
39  m_dth = dth;
40  m_th0 = th0;
41  m_nth = nth;
42  }
43 
44  void set(int index, double dth, double th0, int nth)
45  {
46  m_index = index;
47  m_dth = dth;
48  m_th0 = th0;
49  m_nth = nth;
50  }
51 
54  {
56  }
57 
58  int getIndex() const { return m_index; }
59  double getDth() const { return m_dth; }
60  double getTh0() const { return m_th0; }
61  double getVth() const;
62  int getNth() const { return m_nth; }
63  int getVal() const;
64 
65  private:
66 
67  int m_index;
68  double m_dth;
69  double m_th0;
70  int m_nth;
73  };
74 
76 } // end namespace Belle2
77 
78 #endif
ARICHThParam class for storing photon hit information.
Definition: ARICHThParam.h:26
~ARICHThParam()
Destructor.
Definition: ARICHThParam.h:53
ClassDef(ARICHThParam, 1)
the class title
ARICHThParam()
Default constructor for ROOT IO.
Definition: ARICHThParam.h:31
Abstract base class for different kinds of events.