Belle II Software development
ARICHHapdQA.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/ARICHHapdQA.h>
10
11using namespace Belle2;
12using namespace std;
13
14TGraph* ARICHHapdQA::getHapdLeakCurrent(unsigned int i) const
15{
16 if (i < m_leakCurrent.size()) return m_leakCurrent[i];
17 else return NULL;
18}
19
20
21void ARICHHapdQA::setHapdLeakCurrent(std::vector<TGraph*> leakCurrent)
22{
23 for (unsigned int i = 0; i < leakCurrent.size(); i++) m_leakCurrent.push_back(leakCurrent[i]);
24}
25
26
27TGraph* ARICHHapdQA::getHapdNoise(unsigned int i) const
28{
29 if (i < m_noise.size()) return m_noise[i];
30 else return NULL;
31}
32
33
34TH1S* ARICHHapdQA::getHapdHitCount(unsigned int i) const
35{
36 if (i < m_hitCount.size()) return m_hitCount[i];
37 else return NULL;
38}
39
40
41void ARICHHapdQA::setHapdHitCount(std::vector<TH1S*> hitCount)
42{
43 for (unsigned int i = 0; i < hitCount.size(); i++) m_hitCount.push_back(hitCount[i]);
44}
45
46
std::vector< TGraph * > m_noise
Noise level vs.
Definition: ARICHHapdQA.h:135
std::vector< TH1S * > m_hitCount
Hit count vs.
Definition: ARICHHapdQA.h:136
TH1S * getHapdHitCount(unsigned int i) const
Return Hit count vs.
Definition: ARICHHapdQA.cc:34
TGraph * getHapdLeakCurrent(unsigned int i) const
Return Leakeage Current as a function of bias voltage.
Definition: ARICHHapdQA.cc:14
void setHapdLeakCurrent(std::vector< TGraph * > leakCurrent)
set Leakeage Current as a function of bias voltage
Definition: ARICHHapdQA.cc:21
TGraph * getHapdNoise(unsigned int i) const
Return Noise level vs.
Definition: ARICHHapdQA.cc:27
void setHapdHitCount(std::vector< TH1S * > hitCount)
set Hit count vs.
Definition: ARICHHapdQA.cc:41
std::vector< TGraph * > m_leakCurrent
Leakege Current as a function of bias voltage.
Definition: ARICHHapdQA.h:133
Abstract base class for different kinds of events.
STL namespace.