Belle II Software  release-05-01-25
ARICHFebTest.cc
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2015 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Manca Mrvar *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #include <arich/dbobjects/ARICHFebTest.h>
12 
13 using namespace Belle2;
14 using namespace std;
15 
16 int ARICHFebTest::getDeadChannel(unsigned int i) const
17 {
18  if (i < m_deadChannel.size()) return m_deadChannel[i];
19  else return -1;
20 }
21 
22 float ARICHFebTest::getSlopeRough(unsigned int i) const
23 {
24  if (i < m_slopesRough.size()) return m_slopesRough[i];
25  else return -1;
26 }
27 
28 float ARICHFebTest::getSlopeFine(unsigned int i) const
29 {
30  if (i < m_slopesFine.size()) return m_slopesFine[i];
31  else return -1;
32 }
33 
Belle2::ARICHFebTest::getDeadChannel
int getDeadChannel(unsigned int i) const
Return a channel number from the list of dead channels.
Definition: ARICHFebTest.cc:16
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::ARICHFebTest::getSlopeRough
float getSlopeRough(unsigned int i) const
Return slope[mV/offset step] for i-th channel (rough settings)
Definition: ARICHFebTest.cc:22
Belle2::ARICHFebTest::getSlopeFine
float getSlopeFine(unsigned int i) const
Return slope[mV/offset step] for i-th channel (fine settings)
Definition: ARICHFebTest.cc:28