Belle II Software  release-08-01-10
ARICHFEBoardInfo.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/ARICHAsicInfo.h>
10 #include <arich/dbobjects/ARICHFEBoardInfo.h>
11 
12 using namespace Belle2;
13 using namespace std;
14 
16 {
17  if (i < 4) return m_asicInfo[i];
18  else return NULL;
19 }
20 
21 
22 void ARICHFEBoardInfo::setAsicInfo(unsigned int i, ARICHAsicInfo* asicInfo)
23 {
24  if (i < 4) m_asicInfo[i] = asicInfo;
25 }
26 
27 std::string ARICHFEBoardInfo::getAsicPosition(unsigned int i) const
28 {
29  if (i < 4) return m_asicsFEB[i];
30  else return "";
31 }
32 
33 
34 void ARICHFEBoardInfo::setAsicPosition(unsigned int i, const std::string& asicsFEB)
35 {
36  if (i < 4) m_asicsFEB[i] = asicsFEB;
37 }
38 
Tested ASIC chips.
Definition: ARICHAsicInfo.h:25
void setAsicPosition(unsigned int i, const std::string &asicsFEB)
Set Asic position.
ARICHAsicInfo * getAsicInfo(unsigned int i) const
Get Asic Info.
void setAsicInfo(unsigned int i, ARICHAsicInfo *asic)
Set Asic Info.
std::string getAsicPosition(unsigned int i) const
Get Asic position.
Abstract base class for different kinds of events.