Belle II Software
release-06-00-14
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
w
z
Typedefs
a
b
c
d
e
i
k
l
m
n
p
r
s
t
u
v
w
Enumerations
Enumerator
c
d
f
p
t
u
v
w
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
k
l
m
n
o
p
r
s
t
u
v
w
z
Related Functions
b
c
d
g
i
o
r
s
t
Files
File List
File Members
All
Functions
TRGTOPSlotTiming.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
#ifndef TRGTOPSLOTTIMING_H
10
#define TRGTOPSLOTTIMING_H
11
12
#include <TObject.h>
13
14
#include <vector>
15
#include <limits>
16
17
18
namespace
Belle2
{
24
static
const
int
intNaN
= std::numeric_limits<int>::quiet_NaN();
25
27
class
TRGTOPSlotTiming
:
public
TObject {
28
29
public
:
30
31
// Empty constructor
32
// Recommended for ROOT IO
33
TRGTOPSlotTiming
() :
34
m_slotId
(
intNaN
),
35
m_slotTiming
(
intNaN
),
36
m_slotSegment
(
intNaN
),
37
m_slotNHits
(
intNaN
),
38
m_slotLogL
(
intNaN
),
39
m_slotNErrors
(
intNaN
)
40
{}
41
43
explicit
TRGTOPSlotTiming
(
44
int
slotId
45
) :
46
m_slotId
(slotId),
47
m_slotTiming
(
intNaN
),
48
m_slotSegment
(
intNaN
),
49
m_slotNHits
(
intNaN
),
50
m_slotLogL
(
intNaN
),
51
m_slotNErrors
(0)
52
{}
53
55
TRGTOPSlotTiming
(
56
int
slotId,
57
int
slotTiming,
58
int
slotSegment,
59
int
slotNHits,
60
int
slotLogL,
61
int
slotNErrors
62
) :
63
m_slotId
(slotId),
64
m_slotTiming
(slotTiming),
65
m_slotSegment
(slotSegment),
66
m_slotNHits
(slotNHits),
67
m_slotLogL
(slotLogL),
68
m_slotNErrors
(slotNErrors)
69
{}
70
72
~TRGTOPSlotTiming
() {}
73
74
int
getSlotId()
const
{
return
m_slotId
; }
75
int
getSlotTiming()
const
{
return
m_slotTiming
; }
76
int
getSlotSegment()
const
{
return
m_slotSegment
;}
77
int
getSlotNHits()
const
{
return
m_slotNHits
; }
78
int
getSlotLogL()
const
{
return
m_slotLogL
; }
79
int
getSlotNErrors()
const
{
return
m_slotNErrors
;}
80
//int get() const { return m_;}
81
82
void
setSlotId(
int
slotId);
83
void
setSlotTiming(
int
slotTiming);
84
void
setSlotSegment(
int
slotSegment);
85
void
setSlotNHits(
int
slotNHits);
86
void
setSlotLogL(
int
slotLogL);
87
void
setSlotNErrors(
int
slotNErrors);
88
//void set(int );
89
90
private
:
91
93
int
m_slotId
;
95
int
m_slotTiming
;
97
int
m_slotSegment
;
99
int
m_slotNHits
;
101
int
m_slotLogL
;
103
int
m_slotNErrors
;
104
106
ClassDef
(
TRGTOPSlotTiming
, 2);
107
108
};
109
111
}
//end namespace Belle2
112
113
#endif
Belle2::TRGTOPSlotTiming
Example Detector.
Definition:
TRGTOPSlotTiming.h:27
Belle2::TRGTOPSlotTiming::ClassDef
ClassDef(TRGTOPSlotTiming, 2)
the class title
Belle2::TRGTOPSlotTiming::m_slotTiming
int m_slotTiming
slot timing
Definition:
TRGTOPSlotTiming.h:95
Belle2::TRGTOPSlotTiming::m_slotNHits
int m_slotNHits
slot N hits (timestamps)
Definition:
TRGTOPSlotTiming.h:99
Belle2::TRGTOPSlotTiming::TRGTOPSlotTiming
TRGTOPSlotTiming(int slotId, int slotTiming, int slotSegment, int slotNHits, int slotLogL, int slotNErrors)
Another Useful Constructor.
Definition:
TRGTOPSlotTiming.h:55
Belle2::TRGTOPSlotTiming::m_slotId
int m_slotId
slot Id (1 through 16)
Definition:
TRGTOPSlotTiming.h:93
Belle2::TRGTOPSlotTiming::TRGTOPSlotTiming
TRGTOPSlotTiming(int slotId)
A Useful Constructor.
Definition:
TRGTOPSlotTiming.h:43
Belle2::TRGTOPSlotTiming::m_slotSegment
int m_slotSegment
slot segment
Definition:
TRGTOPSlotTiming.h:97
Belle2::TRGTOPSlotTiming::~TRGTOPSlotTiming
~TRGTOPSlotTiming()
Destructor.
Definition:
TRGTOPSlotTiming.h:72
Belle2::TRGTOPSlotTiming::m_slotNErrors
int m_slotNErrors
slot errors
Definition:
TRGTOPSlotTiming.h:103
Belle2::TRGTOPSlotTiming::m_slotLogL
int m_slotLogL
slot logL
Definition:
TRGTOPSlotTiming.h:101
Belle2::intNaN
static const int intNaN
constant for integer NaN
Definition:
ECLBhabhaTCollectorModule.h:40
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:17
trg
top
dataobjects
include
TRGTOPSlotTiming.h
Generated on Thu Jul 14 2022 08:17:24 for Belle II Software by
1.9.1