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