Belle II Software  release-08-01-10
ARICHThParam.cc
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 #include <arich/dataobjects/ARICHThParam.h>
10 #include <arich/dataobjects/sa02board.h>
11 
12 using namespace std;
13 using namespace Belle2;
14 
15 double ARICHThParam::getVth() const
16 {
17  return m_th0 + m_index * m_dth;
18 }
19 
20 int ARICHThParam::getVal() const
21 {
22  double Vth = getVth();
23  return int((Vth - VTH_MIN) / VTH_STEP);
24 }
25 
Abstract base class for different kinds of events.