Belle II Software
release-05-01-25
TOPSlowData.h
1
/**************************************************************************
2
* BASF2 (Belle Analysis Framework 2) *
3
* Copyright(C) 2016 - Belle II Collaboration *
4
* *
5
* Author: The Belle II Collaboration *
6
* Contributors: Marko Staric *
7
* *
8
* This software is provided "as is" without any warranty. *
9
**************************************************************************/
10
11
#pragma once
12
13
#include <framework/datastore/RelationsObject.h>
14
15
namespace
Belle2
{
25
class
TOPSlowData :
public
RelationsObject
{
26
public
:
27
31
TOPSlowData
()
32
{}
33
37
TOPSlowData
(
unsigned
short
scrodID,
short
type,
short
value):
38
m_scrodID
(scrodID),
m_type
(type),
m_value
(value)
39
{}
40
45
unsigned
getScrodID
()
const
{
return
m_scrodID
;}
46
51
int
getType
()
const
{
return
m_type
;}
52
57
int
getValue
()
const
{
return
m_value
;}
58
59
private
:
60
61
unsigned
short
m_scrodID
= 0;
62
short
m_type
= 0;
63
short
m_value
= 0;
65
ClassDef
(
TOPSlowData
, 1);
68
};
69
71
}
Belle2::TOPSlowData::TOPSlowData
TOPSlowData()
Default constructor.
Definition:
TOPSlowData.h:39
Belle2::TOPSlowData::m_type
short m_type
slow data type
Definition:
TOPSlowData.h:70
Belle2::TOPSlowData
Class to store slow data unpacked from raw data.
Definition:
TOPSlowData.h:33
Belle2::TOPSlowData::getScrodID
unsigned getScrodID() const
Returns SCROD ID.
Definition:
TOPSlowData.h:53
Belle2::TOPSlowData::m_scrodID
unsigned short m_scrodID
SCROD ID.
Definition:
TOPSlowData.h:69
Belle2::TOPSlowData::ClassDef
ClassDef(TOPSlowData, 1)
ClassDef.
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::TOPSlowData::m_value
short m_value
slow data value
Definition:
TOPSlowData.h:71
Belle2::TOPSlowData::getValue
int getValue() const
Returns slow data value.
Definition:
TOPSlowData.h:65
Belle2::RelationsObject
RelationsInterface< TObject > RelationsObject
Provides interface for getting/adding relations to objects in StoreArrays.
Definition:
RelationsObject.h:443
Belle2::TOPSlowData::getType
int getType() const
Returns slow data type.
Definition:
TOPSlowData.h:59
top
dataobjects
include
TOPSlowData.h
Generated on Fri Nov 5 2021 03:58:57 for Belle II Software by
1.8.17