Belle II Software
release-05-02-19
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
k
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
u
v
w
x
z
Typedefs
a
b
c
d
e
h
i
l
m
n
p
r
s
t
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
EventSampler.h
1
#ifndef EVENT_SAMPLER_H
2
#define EVENT_SAMPLER_H
3
//+
4
// File : EventSampler.h
5
// Description : Fetch events from event processes and place them in a RingBuffer
6
//
7
// Author : Ryosuke Itoh, IPNS, KEK
8
// Date : 31 - Jul - 2017
9
//-
10
11
#include <string>
12
#include <vector>
13
14
#include <daq/dataflow/EvtSocket.h>
15
#include <framework/pcore/RingBuffer.h>
16
17
#define MAXEVTSIZE 80000000
18
19
namespace
Belle2
{
25
class
EventSampler
{
26
public
:
27
EventSampler
(std::vector<std::string> nodes,
int
port, std::string rbufname,
int
interval = 5000);
28
~
EventSampler
();
29
int
server();
// Loop
30
31
private
:
32
std::vector<EvtSocketSend*> m_socklist;
33
RingBuffer
* m_rbuf;
34
int
m_port;
35
int
m_force_exit;
36
int
m_interval;
37
};
39
}
40
#endif
Belle2::EventSampler
Definition:
EventSampler.h:25
Belle2::RingBuffer
Class to manage a Ring Buffer placed in an IPC shared memory.
Definition:
RingBuffer.h:36
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
daq
expreco
include
EventSampler.h
Generated on Tue Jan 4 2022 02:53:25 for Belle II Software by
1.8.17