Belle II Software  release-05-02-19
ARICHHapdQA.cc
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2015 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Manca Mrvar *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #include <arich/dbobjects/ARICHHapdQA.h>
12 
13 using namespace Belle2;
14 using namespace std;
15 
16 TGraph* ARICHHapdQA::getHapdLeakCurrent(unsigned int i) const
17 {
18  if (i < m_leakCurrent.size()) return m_leakCurrent[i];
19  else return NULL;
20 }
21 
22 
23 void ARICHHapdQA::setHapdLeakCurrent(std::vector<TGraph*> leakCurrent)
24 {
25  for (unsigned int i = 0; i < leakCurrent.size(); i++) m_leakCurrent.push_back(leakCurrent[i]);
26 }
27 
28 
29 TGraph* ARICHHapdQA::getHapdNoise(unsigned int i) const
30 {
31  if (i < m_noise.size()) return m_noise[i];
32  else return NULL;
33 }
34 
35 
36 TH1S* ARICHHapdQA::getHapdHitCount(unsigned int i) const
37 {
38  if (i < m_hitCount.size()) return m_hitCount[i];
39  else return NULL;
40 }
41 
42 
43 void ARICHHapdQA::setHapdHitCount(std::vector<TH1S*> hitCount)
44 {
45  for (unsigned int i = 0; i < hitCount.size(); i++) m_hitCount.push_back(hitCount[i]);
46 }
47 
48 
Belle2::ARICHHapdQA::setHapdHitCount
void setHapdHitCount(std::vector< TH1S * > hitCount)
set Hit count vs.
Definition: ARICHHapdQA.cc:43
Belle2::ARICHHapdQA::getHapdNoise
TGraph * getHapdNoise(unsigned int i) const
Return Noise level vs.
Definition: ARICHHapdQA.cc:29
Belle2::ARICHHapdQA::setHapdLeakCurrent
void setHapdLeakCurrent(std::vector< TGraph * > leakCurrent)
set Leakeage Current as a function of bias voltage
Definition: ARICHHapdQA.cc:23
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::ARICHHapdQA::getHapdLeakCurrent
TGraph * getHapdLeakCurrent(unsigned int i) const
Return Leakeage Current as a function of bias voltage.
Definition: ARICHHapdQA.cc:16
Belle2::ARICHHapdQA::getHapdHitCount
TH1S * getHapdHitCount(unsigned int i) const
Return Hit count vs.
Definition: ARICHHapdQA.cc:36