8#ifndef _Belle2_NSMNode_hh
9#define _Belle2_NSMNode_hh
11#include <daq/slc/base/Date.h>
13#include "daq/slc/nsm/NSMState.h"
24 NSMNode(
const std::string& name =
"");
28 const std::string& getName()
const {
return m_name; }
29 int getId()
const {
return m_id; }
30 bool isUsed()
const {
return m_used; }
31 NSMState& getState() {
return m_state; }
32 const NSMState& getState()
const {
return m_state; }
33 void setName(
const std::string& name);
34 void setUsed(
bool used) { m_used = used; }
35 void setState(
const NSMState& state) { m_state = state; }
36 void setId(
int id) { m_id = id; }
37 int getDate()
const {
return m_date; }
38 void setDate(
int date) { m_date = date; }
39 void setDate(
const Date& date) { m_date = date.get(); }
Abstract base class for different kinds of events.