Belle II Software development
ARICHMergerInfo Class Reference

List of MergerBoards. More...

#include <ARICHMergerInfo.h>

Inheritance diagram for ARICHMergerInfo:

Public Member Functions

 ARICHMergerInfo ()
 Default constructor.
 
 ARICHMergerInfo (int id, int type)
 Constructor.
 
 ARICHMergerInfo (int id, int type, const std::string &comment)
 Constructor.
 
 ~ARICHMergerInfo ()
 Destructor.
 
int getMergerID () const
 Get Merger Identifier.
 
void setMergerID (int id)
 Set Merger Identifier.
 
int getMergerType () const
 Get Merger Type.
 
void setMergerType (int type)
 Set Merger Type.
 
std::string getMergerComment () const
 Get comment.
 
void setMergerComment (const std::string &comment)
 Set comment.
 

Private Member Functions

 ClassDef (ARICHMergerInfo, 1)
 ClassDef.
 

Private Attributes

int m_id
 Merger Identifier.
 
int m_type
 Merger Type.
 
std::string m_comment
 Optional comment.
 

Detailed Description

List of MergerBoards.

Definition at line 22 of file ARICHMergerInfo.h.

Constructor & Destructor Documentation

◆ ARICHMergerInfo() [1/3]

ARICHMergerInfo ( )
inline

Default constructor.

Definition at line 27 of file ARICHMergerInfo.h.

27: m_id(0), m_type(0), m_comment("") {};
std::string m_comment
Optional comment.
int m_type
Merger Type.
int m_id
Merger Identifier.

◆ ARICHMergerInfo() [2/3]

ARICHMergerInfo ( int  id,
int  type 
)
inline

Constructor.

Definition at line 32 of file ARICHMergerInfo.h.

32: m_id(id), m_type(type), m_comment("") {};

◆ ARICHMergerInfo() [3/3]

ARICHMergerInfo ( int  id,
int  type,
const std::string &  comment 
)
inline

Constructor.

Definition at line 37 of file ARICHMergerInfo.h.

37: m_id(id), m_type(type), m_comment(comment) {};

◆ ~ARICHMergerInfo()

~ARICHMergerInfo ( )
inline

Destructor.

Definition at line 42 of file ARICHMergerInfo.h.

42{};

Member Function Documentation

◆ getMergerComment()

std::string getMergerComment ( ) const
inline

Get comment.

Returns
comment

Definition at line 67 of file ARICHMergerInfo.h.

67{return m_comment; }

◆ getMergerID()

int getMergerID ( ) const
inline

Get Merger Identifier.

Returns
Merger Identifier

Definition at line 47 of file ARICHMergerInfo.h.

47{return m_id; }

◆ getMergerType()

int getMergerType ( ) const
inline

Get Merger Type.

Returns
Merger Type

Definition at line 57 of file ARICHMergerInfo.h.

57{return m_type; }

◆ setMergerComment()

void setMergerComment ( const std::string &  comment)
inline

Set comment.

Parameters
commentcomment

Definition at line 72 of file ARICHMergerInfo.h.

72{m_comment = comment; }

◆ setMergerID()

void setMergerID ( int  id)
inline

Set Merger Identifier.

Parameters
idMerger Identifier

Definition at line 52 of file ARICHMergerInfo.h.

52{m_id = id; }

◆ setMergerType()

void setMergerType ( int  type)
inline

Set Merger Type.

Parameters
typeMerger Type

Definition at line 62 of file ARICHMergerInfo.h.

62{m_type = type; }

Member Data Documentation

◆ m_comment

std::string m_comment
private

Optional comment.

Definition at line 77 of file ARICHMergerInfo.h.

◆ m_id

int m_id
private

Merger Identifier.

Definition at line 75 of file ARICHMergerInfo.h.

◆ m_type

int m_type
private

Merger Type.

Definition at line 76 of file ARICHMergerInfo.h.


The documentation for this class was generated from the following file: