Belle II Software  release-08-01-10
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 
12 namespace Belle2 {
20  class ARICHB2LinkInfo: public TObject {
21  public:
22 
27 
31  ARICHB2LinkInfo(int id, int address, int port): m_id(id), m_address(address), m_port(port) {};
32 
37 
41  int getB2LinkID() const {return m_id; }
42 
46  void setB2LinkID(int id) {m_id = id; }
47 
51  int getB2LinkAddress() const {return m_address; }
52 
56  void setB2LinkAddress(int address) {m_address = address; }
57 
61  int getB2LinkPort() const {return m_port; }
62 
66  void setB2LinkPort(int port) {m_port = port; }
67 
68 
69  private:
70 
71  int m_id;
72  int m_address;
73  int m_port;
76  };
78 } // end namespace Belle2
List of Belle2Link Boards.
ClassDef(ARICHB2LinkInfo, 1)
ClassDef.
int m_address
Belle2Link address.
int getB2LinkPort() const
Return Belle2 Link port.
void setB2LinkID(int id)
Set Belle2 Link Identifier.
ARICHB2LinkInfo(int id, int address, int port)
Constructor.
int getB2LinkAddress() const
Return Belle2 Link Address.
int m_port
integer Belle2Link port
ARICHB2LinkInfo()
Default constructor.
void setB2LinkPort(int port)
Set Belle2 Link port.
int m_id
Belle2Link Identifier.
int getB2LinkID() const
Return Belle2 Link Identifier.
~ARICHB2LinkInfo()
Destructor.
void setB2LinkAddress(int address)
Set Belle2 Link Address.
Abstract base class for different kinds of events.