Belle II Software development
TOPSlowData.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
11#include <framework/datastore/RelationsObject.h>
12
13namespace Belle2 {
24 public:
25
30 {}
31
35 TOPSlowData(unsigned short scrodID, short type, short value):
36 m_scrodID(scrodID), m_type(type), m_value(value)
37 {}
38
43 unsigned getScrodID() const {return m_scrodID;}
44
49 int getType() const {return m_type;}
50
55 int getValue() const {return m_value;}
56
57 private:
58
59 unsigned short m_scrodID = 0;
60 short m_type = 0;
61 short m_value = 0;
66 };
67
69}
Defines interface for accessing relations of objects in StoreArray.
Class to store slow data unpacked from raw data.
Definition: TOPSlowData.h:23
unsigned short m_scrodID
SCROD ID.
Definition: TOPSlowData.h:59
short m_type
slow data type
Definition: TOPSlowData.h:60
TOPSlowData(unsigned short scrodID, short type, short value)
Full constructor.
Definition: TOPSlowData.h:35
TOPSlowData()
Default constructor.
Definition: TOPSlowData.h:29
short m_value
slow data value
Definition: TOPSlowData.h:61
unsigned getScrodID() const
Returns SCROD ID.
Definition: TOPSlowData.h:43
ClassDef(TOPSlowData, 1)
ClassDef.
int getValue() const
Returns slow data value.
Definition: TOPSlowData.h:55
int getType() const
Returns slow data type.
Definition: TOPSlowData.h:49
Abstract base class for different kinds of events.