Belle II Software  release-08-01-10
ARICHFebTest.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/dbobjects/ARICHFebTest.h>
10 
11 using namespace Belle2;
12 using namespace std;
13 
14 int ARICHFebTest::getDeadChannel(unsigned int i) const
15 {
16  if (i < m_deadChannel.size()) return m_deadChannel[i];
17  else return -1;
18 }
19 
20 float ARICHFebTest::getSlopeRough(unsigned int i) const
21 {
22  if (i < m_slopesRough.size()) return m_slopesRough[i];
23  else return -1;
24 }
25 
26 float ARICHFebTest::getSlopeFine(unsigned int i) const
27 {
28  if (i < m_slopesFine.size()) return m_slopesFine[i];
29  else return -1;
30 }
31 
float getSlopeFine(unsigned int i) const
Return slope[mV/offset step] for i-th channel (fine settings)
Definition: ARICHFebTest.cc:26
float getSlopeRough(unsigned int i) const
Return slope[mV/offset step] for i-th channel (rough settings)
Definition: ARICHFebTest.cc:20
int getDeadChannel(unsigned int i) const
Return a channel number from the list of dead channels.
Definition: ARICHFebTest.cc:14
Abstract base class for different kinds of events.