Belle II Software
release-08-00-10
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
a
b
c
e
f
g
n
p
s
v
z
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
Typedefs
Macros
des_ser_ROPC_main.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 <daq/rawdata/modules/DAQConsts.h>
9
#include "des_ser_ROPC_main.h"
10
//#include <daq/rawdata/modules/DesSerPrePC.h>
11
//#include <daq/rawdata/DesSerPrePC.h>
12
#include <daq/rawdata/DesSerPrePC.h>
13
//#define MAXEVTSIZE 400000000
14
15
using namespace
std;
16
using namespace
Belle2
;
17
18
19
//-----------------------------------------------------------------
20
// Implementation
21
//-----------------------------------------------------------------
22
23
int
main
(
int
argc,
char
** argv)
24
{
25
26
if
(argc != 5) {
27
28
printf(
"[FATAL] Usage : %s <COPPER hostname> <Use NSM(Network Shared Memory)? yes=1/no=0> <port # to eb0> <NSM nodename>"
, argv[0]);
29
;
30
exit(1);
31
}
32
33
string
host_recv = argv[1];
34
int
shmflag = atoi(argv[2]);
35
int
port_send = atoi(argv[3]);
36
string
nodename = argv[4];
37
38
string
host_send =
"0.0.0.0"
;
39
int
port_recv = 30000;
40
int
nodeid = 0;
41
DesSerPrePC
des_ser_prepc(host_recv, port_recv,
42
host_send, port_send, shmflag,
43
nodename, nodeid);
44
des_ser_prepc.DataAcquisition();
45
46
47
}
48
49
Belle2::DesSerPrePC
A class definition of an input module for Sequential ROOT I/O.
Definition:
DesSerPrePC.h:26
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:17
main
int main(int argc, char **argv)
Run all tests.
Definition:
test_main.cc:91
daq
ropc
des_ser_ROPC_main.cc
Generated on Fri Aug 9 2024 00:50:31 for Belle II Software by
1.9.1