Belle II Software  release-08-01-10
ARICHHapdInfo.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/ARICHHapdChipInfo.h>
10 #include <arich/dbobjects/ARICHHapdInfo.h>
11 
12 using namespace Belle2;
13 using namespace std;
14 
16 {
17  if (i < c_NumberOfChips) return m_HAPDChipInfo[i];
18  else return NULL;
19 }
20 
21 
22 void ARICHHapdInfo::setHapdChipInfo(unsigned int i, ARICHHapdChipInfo* chipInfo)
23 {
24  if (i < c_NumberOfChips) m_HAPDChipInfo[i] = chipInfo;
25 }
26 
Contains manufacturer data of one of the 4 photo sensors chips.
void setHapdChipInfo(unsigned int i, ARICHHapdChipInfo *chipInfo)
Set HapdChipInfo of the chip i.
ARICHHapdChipInfo * getHapdChipInfo(unsigned int i) const
Return HapdChipInfo of the chip i.
Abstract base class for different kinds of events.