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 {
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
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 int m_index;
95 double m_dth;
96 double m_th0;
97 int m_nth;
100 };
101
103} // end namespace Belle2
104
105#endif
ARICHThParam class for storing photon hit information.
Definition: ARICHThParam.h:26
int getIndex() const
Get index.
Definition: ARICHThParam.h:65
double getDth() const
Get Dth.
Definition: ARICHThParam.h:70
~ARICHThParam()
Destructor.
Definition: ARICHThParam.h:57
void set(int index, double dth, double th0, int nth)
Set ARICH hit information.
Definition: ARICHThParam.h:48
ClassDef(ARICHThParam, 1)
the class title
double getVth() const
Get Vth.
Definition: ARICHThParam.cc:15
ARICHThParam(int index, double dth, double th0, int nth)
Constructor.
Definition: ARICHThParam.h:37
ARICHThParam()
Default constructor for ROOT IO.
Definition: ARICHThParam.h:31
int getNth() const
Get Nth.
Definition: ARICHThParam.h:85
double getTh0() const
Get Th0.
Definition: ARICHThParam.h:75
int getVal() const
Get value.
Definition: ARICHThParam.cc:20
Abstract base class for different kinds of events.