Belle II Software
release-05-01-25
TRGGDLDBDelay.h
1
/**************************************************************************
2
* BASF2 (Belle Analysis Framework 2) *
3
* Copyright(C) 2010 - Belle II Collaboration *
4
* *
5
* Author: The Belle II Collaboration *
6
* Contributors: Benjamin Schwenker *
7
* *
8
* This software is provided "as is" without any warranty. *
9
**************************************************************************/
10
#pragma once
11
12
#include <TObject.h>
13
14
namespace
Belle2
{
29
class
TRGGDLDBDelay:
public
TObject {
30
public
:
31
33
TRGGDLDBDelay
():
m_ninbit
{0},
m_delay
{0} {}
35
TRGGDLDBDelay
(
const
TRGGDLDBDelay
& b): TObject(b)
36
{
37
m_ninbit
= b.m_ninbit;
38
for
(
int
i = 0; i < 320; i++) {
39
m_delay
[i] = b.m_delay[i];
40
}
41
}
43
TRGGDLDBDelay
&
operator=
(
const
TRGGDLDBDelay
& b)
44
{
45
m_ninbit
= b.m_ninbit;
46
for
(
int
i = 0; i < 320; i++) {
47
m_delay
[i] = b.m_delay[i];
48
}
49
return
*
this
;
50
}
51
52
void
setninbit(
int
i)
53
{
54
m_ninbit
= i;
55
}
56
void
setdelay(
int
i,
const
int
j)
57
{
58
m_delay
[i] = j;
59
}
60
61
int
getninbit()
const
62
{
63
return
m_ninbit
;
64
}
65
int
getdelay(
int
i)
const
66
{
67
return
m_delay
[i];
68
}
69
70
private
:
71
73
int
m_ninbit
;
74
76
int
m_delay
[320];
77
78
ClassDef
(
TRGGDLDBDelay
, 1);
79
};
80
82
}
// end of namespace Belle2
Belle2::TRGGDLDBDelay::ClassDef
ClassDef(TRGGDLDBDelay, 1)
ClassDef, must be the last term before the closing {}.
Belle2::TRGGDLDBDelay::m_delay
int m_delay[320]
Number of bins per sensor along u side.
Definition:
TRGGDLDBDelay.h:84
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::TRGGDLDBDelay::m_ninbit
int m_ninbit
Number of bit.
Definition:
TRGGDLDBDelay.h:81
Belle2::TRGGDLDBDelay::operator=
TRGGDLDBDelay & operator=(const TRGGDLDBDelay &b)
assignment operator
Definition:
TRGGDLDBDelay.h:51
Belle2::TRGGDLDBDelay
The payload class for delay of GDL input bit.
Definition:
TRGGDLDBDelay.h:37
Belle2::TRGGDLDBDelay::TRGGDLDBDelay
TRGGDLDBDelay()
Default constructor.
Definition:
TRGGDLDBDelay.h:41
trg
gdl
dbobjects
include
TRGGDLDBDelay.h
Generated on Fri Nov 5 2021 04:05:52 for Belle II Software by
1.8.17