Belle II Software development
ARICHB2LinkInfo.h
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#pragma once
10#include <TObject.h>
11
12namespace Belle2 {
21 class ARICHB2LinkInfo: public TObject {
22
23 public:
24
29
33 ARICHB2LinkInfo(int id, int address, int port): m_id(id), m_address(address), m_port(port) {};
34
39
44 int getB2LinkID() const {return m_id; }
45
50 void setB2LinkID(int id) {m_id = id; }
51
56 int getB2LinkAddress() const {return m_address; }
57
62 void setB2LinkAddress(int address) {m_address = address; }
63
68 int getB2LinkPort() const {return m_port; }
69
74 void setB2LinkPort(int port) {m_port = port; }
75
76
77 private:
78
79 int m_id;
81 int m_port;
84 };
86} // end namespace Belle2
List of Belle2Link boards.
ClassDef(ARICHB2LinkInfo, 1)
ClassDef.
int m_address
Belle2Link address.
int getB2LinkPort() const
Get Belle2Link port.
void setB2LinkID(int id)
Set Belle2Link identifier.
ARICHB2LinkInfo(int id, int address, int port)
Constructor.
int getB2LinkAddress() const
Get Belle2Link address.
int m_port
integer Belle2Link port
ARICHB2LinkInfo()
Default constructor.
void setB2LinkPort(int port)
Set Belle2Link port.
int m_id
Belle2Link Identifier.
int getB2LinkID() const
Get Belle2Link identifier.
~ARICHB2LinkInfo()
Destructor.
void setB2LinkAddress(int address)
Set Belle2Link address.
Abstract base class for different kinds of events.