Belle II Software
development
Toggle main menu visibility
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
x
z
Typedefs
a
b
c
d
e
g
i
k
l
m
n
p
r
s
t
u
v
w
Enumerations
Enumerator
c
d
f
p
t
v
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
Typedefs
Macros
ereco_eventsampler.cc
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
#include <string>
9
10
#include <stdio.h>
11
#include <stdlib.h>
12
13
#include "daq/expreco/ERecoEventSampler.h"
14
#include "daq/rfarm/manager/RFNSM.h"
15
16
using namespace
Belle2
;
17
using namespace
std
;
18
19
int
main(
int
argc,
char
** argv)
20
{
21
// Retrieve RingBuffer name[1], port number[2], Shmname[3], and id[4]
22
if
(argc < 2) {
23
printf(
"syntax : ereco_eventsampler configfile\n"
);
24
exit(-1);
25
}
26
27
RFConf
conf(argv[1]);
28
29
ERecoEventSampler
* es =
new
ERecoEventSampler
(argv[1]);
30
31
RFNSM
nsm(conf.getconf(
"eventsampler"
,
"nodename"
), es);
32
nsm.AllocMem(conf.getconf(
"system"
,
"nsmdata"
));
33
es->SetNodeInfo(nsm.GetNodeInfo());
34
35
36
es->server();
37
}
38
39
40
Belle2::ERecoEventSampler
Definition:
ERecoEventSampler.h:29
Belle2::RFConf
Definition:
RFConf.h:24
Belle2::RFNSM
Definition:
RFNSM.h:61
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:17
std
STL namespace.
daq
expreco
tools
ereco_eventsampler.cc
Generated on Thu Apr 10 2025 02:32:58 for Belle II Software by
1.9.6