Belle II Software  release-05-01-25
ARICHThParam.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2010 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Tomoyuki Konno
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #ifndef ARICHTHPARAM_H
12 #define ARICHTHPARAM_H
13 
14 // ROOT
15 #include <TObject.h>
16 
17 namespace Belle2 {
24 
28  class ARICHThParam : public TObject {
29 
30  public:
31 
33  ARICHThParam() : m_index(-1), m_dth(-1), m_th0(0), m_nth(0)
34  {
36  }
37 
38  ARICHThParam(int index, double dth, double th0, int nth)
39  {
40  m_index = index;
41  m_dth = dth;
42  m_th0 = th0;
43  m_nth = nth;
44  }
45 
46  void set(int index, double dth, double th0, int nth)
47  {
48  m_index = index;
49  m_dth = dth;
50  m_th0 = th0;
51  m_nth = nth;
52  }
53 
56  {
58  }
59 
60  int getIndex() const { return m_index; }
61  double getDth() const { return m_dth; }
62  double getTh0() const { return m_th0; }
63  double getVth() const;
64  int getNth() const { return m_nth; }
65  int getVal() const;
66 
67  private:
68 
69  int m_index;
70  double m_dth;
71  double m_th0;
72  int m_nth;
75  };
76 
78 } // end namespace Belle2
79 
80 #endif
Belle2::ARICHThParam::~ARICHThParam
~ARICHThParam()
Destructor.
Definition: ARICHThParam.h:63
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::ARICHThParam::ARICHThParam
ARICHThParam()
Default constructor for ROOT IO.
Definition: ARICHThParam.h:41
Belle2::ARICHThParam
ARICHThParam class for storing photon hit information.
Definition: ARICHThParam.h:36
Belle2::ARICHThParam::ClassDef
ClassDef(ARICHThParam, 1)
the class title