Belle II Software development
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
12using namespace Belle2;
13using namespace std;
14
16{
17 if (i < c_NumberOfChips) return m_HAPDChipInfo[i];
18 else return NULL;
19}
20
21
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.
@ c_NumberOfChips
number of HAPD Chips on the sensor
Definition: ARICHHapdInfo.h:29
ARICHHapdChipInfo * getHapdChipInfo(unsigned int i) const
Return HapdChipInfo of the chip i.
ARICHHapdChipInfo * m_HAPDChipInfo[4]
HapdChipInfo id of the i-th chip in the sensor.
Abstract base class for different kinds of events.
STL namespace.