Belle II Software development
ARICHMergerInfo.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#include <string>
12
13namespace Belle2 {
22 class ARICHMergerInfo: public TObject {
23 public:
28
32 ARICHMergerInfo(int id, int type): m_id(id), m_type(type), m_comment("") {};
33
37 ARICHMergerInfo(int id, int type, const std::string& comment): m_id(id), m_type(type), m_comment(comment) {};
38
43
47 int getMergerID() const {return m_id; }
48
52 void setMergerID(int id) {m_id = id; }
53
57 int getMergerType() const {return m_type; }
58
62 void setMergerType(int type) {m_type = type; }
63
67 std::string getMergerComment() const {return m_comment; }
68
72 void setMergerComment(const std::string& comment) {m_comment = comment; }
73
74 private:
75 int m_id;
76 int m_type;
77 std::string m_comment;
80 };
82} // end namespace Belle2
83
84
List of MergerBoards.
std::string m_comment
Optional comment.
void setMergerType(int type)
Set Merger Type.
int getMergerType() const
Get Merger Type.
int getMergerID() const
Get Merger Identifier.
ARICHMergerInfo(int id, int type)
Constructor.
ARICHMergerInfo(int id, int type, const std::string &comment)
Constructor.
void setMergerID(int id)
Set Merger Identifier.
~ARICHMergerInfo()
Destructor.
ClassDef(ARICHMergerInfo, 1)
ClassDef.
int m_type
Merger Type.
ARICHMergerInfo()
Default constructor.
int m_id
Merger Identifier.
void setMergerComment(const std::string &comment)
Set comment.
std::string getMergerComment() const
Get comment.
Abstract base class for different kinds of events.