Belle II Software development
ARICHModuleTest.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/ARICHModuleTest.h>
10
11using namespace Belle2;
12using namespace std;
13
14int ARICHModuleTest::getDeadCh(unsigned int i) const
15{
16 if (i < m_deadCh.size()) return m_deadCh[i];
17 else return 0;
18}
19
20int ARICHModuleTest::getStrangeCh(unsigned int i) const
21{
22 if (i < m_deadCh.size()) return m_deadCh[i];
23 else return 0;
24}
25
26TGraph* ARICHModuleTest::getChipVdiffTH(unsigned int i) const
27{
28 if (i < 4) return m_chipVdiff_th[i];
29 else return NULL;
30}
31
32void ARICHModuleTest::setChipVdiffTH(unsigned int i, TGraph* chipVdiff_th)
33{
34 if (i < 4) m_chipVdiff_th[i] = chipVdiff_th;
35}
36
37TGraph* ARICHModuleTest::getChipLeakTH(unsigned int i) const
38{
39 if (i < 4) return m_chipLeak_th[i];
40 else return NULL;
41}
42
43void ARICHModuleTest::setChipLeakTH(unsigned int i, TGraph* chipLeak_th)
44{
45 if (i < 4) m_chipLeak_th[i] = chipLeak_th;
46}
47
48TGraph* ARICHModuleTest::getChipVdiff2Dx(unsigned int i) const
49{
50 if (i < 4) return m_chipVdiff_2Dx[i];
51 else return NULL;
52}
53
54void ARICHModuleTest::setChipVdiff2Dx(unsigned int i, TGraph* chipVdiff_2Dx)
55{
56 if (i < 4) m_chipVdiff_2Dx[i] = chipVdiff_2Dx;
57}
58
59TGraph* ARICHModuleTest::getChipLeak2Dx(unsigned int i) const
60{
61 if (i < 4) return m_chipLeak_2Dx[i];
62 else return NULL;
63}
64
65void ARICHModuleTest::setChipLeak2Dx(unsigned int i, TGraph* chipLeak_2Dx)
66{
67 if (i < 4) m_chipLeak_2Dx[i] = chipLeak_2Dx;
68}
69
70TGraph* ARICHModuleTest::getChipVdiff2Dy(unsigned int i) const
71{
72 if (i < 4) return m_chipVdiff_2Dy[i];
73 else return NULL;
74}
75
76void ARICHModuleTest::setChipVdiff2Dy(unsigned int i, TGraph* chipVdiff_2Dy)
77{
78 if (i < 4) m_chipVdiff_2Dy[i] = chipVdiff_2Dy;
79}
80
81TGraph* ARICHModuleTest::getChipLeak2Dy(unsigned int i) const
82{
83 if (i < 4) return m_chipLeak_2Dy[i];
84 else return NULL;
85}
86
87void ARICHModuleTest::setChipLeak2Dy(unsigned int i, TGraph* chipLeak_2Dy)
88{
89 if (i < 4) m_chipLeak_2Dy[i] = chipLeak_2Dy;
90}
91
void setChipLeak2Dx(unsigned int i, TGraph *chipLeak_2Dx)
Set leakage current during 2Dx scan.
void setChipLeak2Dy(unsigned int i, TGraph *chipLeak_2Dy)
Set leakage current during 2Dy scan.
void setChipVdiff2Dy(unsigned int i, TGraph *chipVdiff_2Dy)
Set Chip Vmon - Vset difference during 2Dx scan.
TGraph * m_chipVdiff_2Dx[4]
Chip Vmon - Vset difference during 2D x scan.
void setChipVdiffTH(unsigned int i, TGraph *chipVdiff_th)
Set Chip Vmon - Vset difference during treshold scan.
TGraph * m_chipLeak_2Dx[4]
Chip leakage current during 2D x scan.
TGraph * getChipVdiffTH(unsigned int i) const
Get Chip Vmon - Vset difference during treshold scan.
TGraph * m_chipVdiff_th[4]
Chip Vmon - Vset difference during treshold scan.
TGraph * m_chipLeak_2Dy[4]
Chip leakage current during 2D y scan.
TGraph * getChipLeakTH(unsigned int i) const
Get leakage current during treshold scan.
TGraph * m_chipLeak_th[4]
Chip leakage current during treshold scan.
void setChipLeakTH(unsigned int i, TGraph *chipLeak_th)
Set leakage current during treshold scan.
int getDeadCh(unsigned int i) const
Get a channel number from the list of dead channels.
std::vector< int > m_deadCh
List of dead channels (mapping: channels on HAPD)
TGraph * m_chipVdiff_2Dy[4]
Chip Vmon - Vset difference during 2D y scan.
TGraph * getChipLeak2Dx(unsigned int i) const
Get leakage current during 2Dx scan.
TGraph * getChipVdiff2Dy(unsigned int i) const
Get Chip Vmon - Vset difference during 2Dy scan.
TGraph * getChipVdiff2Dx(unsigned int i) const
Get Chip Vmon - Vset difference during 2Dx scan.
TGraph * getChipLeak2Dy(unsigned int i) const
Get leakage current during 2Dy scan.
void setChipVdiff2Dx(unsigned int i, TGraph *chipVdiff_2Dx)
Set Chip Vmon - Vset difference during 2Dx scan.
int getStrangeCh(unsigned int i) const
Get a channel number from the list of strange channels.
Abstract base class for different kinds of events.
STL namespace.