Belle II Software  release-05-01-25
ARICHThParam.cc
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2010 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Luka Santelj *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #include <arich/dataobjects/ARICHThParam.h>
12 #include <arich/dataobjects/sa02board.h>
13 
14 using namespace std;
15 using namespace Belle2;
16 
17 double ARICHThParam::getVth() const
18 {
19  return m_th0 + m_index * m_dth;
20 }
21 
22 int ARICHThParam::getVal() const
23 {
24  double Vth = getVth();
25  return int((Vth - VTH_MIN) / VTH_STEP);
26 }
27 
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19