Belle II Software development
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
15namespace Belle2 {
20
21
23
25
26 class ARICHThParam : public TObject {
27
28 public:
29
32 {
34 }
35
37 ARICHThParam(int index, double dth, double th0, int nth)
38 {
39 m_index = index;
40 m_dth = dth;
41 m_th0 = th0;
42 m_nth = nth;
43 }
44
48 void set(int index, double dth, double th0, int nth)
49 {
50 m_index = index;
51 m_dth = dth;
52 m_th0 = th0;
53 m_nth = nth;
54 }
55
58 {
60 }
61
65 int getIndex() const { return m_index; }
66
70 double getDth() const { return m_dth; }
71
75 double getTh0() const { return m_th0; }
76
80 double getVth() const;
81
85 int getNth() const { return m_nth; }
86
90 int getVal() const;
91
92 private:
93
94 double m_dth = -1;
95 double m_th0 = 0;
96 int m_index = -1;
97 int m_nth = 0;
99
100 };
101
103} // end namespace Belle2
104
105#endif
int getIndex() const
Get index.
double getDth() const
Get Dth.
~ARICHThParam()
Destructor.
void set(int index, double dth, double th0, int nth)
Set ARICH hit information.
double getVth() const
Get Vth.
ARICHThParam(int index, double dth, double th0, int nth)
Constructor.
ARICHThParam()
Default constructor for ROOT IO.
int getNth() const
Get Nth.
double getTh0() const
Get Th0.
ClassDef(ARICHThParam, 2)
the class title
int getVal() const
Get value.
Abstract base class for different kinds of events.