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