Belle II Software  release-08-01-10
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 
11 using namespace Belle2;
12 using namespace std;
13 
14 TGraph* ARICHHapdQA::getHapdLeakCurrent(unsigned int i) const
15 {
16  if (i < m_leakCurrent.size()) return m_leakCurrent[i];
17  else return NULL;
18 }
19 
20 
21 void 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 
27 TGraph* ARICHHapdQA::getHapdNoise(unsigned int i) const
28 {
29  if (i < m_noise.size()) return m_noise[i];
30  else return NULL;
31 }
32 
33 
34 TH1S* ARICHHapdQA::getHapdHitCount(unsigned int i) const
35 {
36  if (i < m_hitCount.size()) return m_hitCount[i];
37  else return NULL;
38 }
39 
40 
41 void 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 
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
Abstract base class for different kinds of events.