Belle II Software
development
ereco_distributor.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/expreco/ERecoDistributor.h"
9
#include "daq/rfarm/manager/RFNSM.h"
10
11
#include <unistd.h>
12
13
#include <cstring>
14
15
using namespace
std
;
16
using namespace
Belle2
;
17
18
int
main(
int
argc,
char
** argv)
19
{
20
if
(argc < 2) {
21
printf(
"Wrong number of arguments\n"
);
22
return
1;
23
}
24
RFConf
conf(argv[1]);
25
26
// Creation of event server instance. evs contains the instance
27
// RFEventServer& evs = RFEventServer::Create(argv[1]);
28
29
ERecoDistributor
* evs =
new
ERecoDistributor
(argv[1]);
30
31
32
RFNSM
nsm(conf.getconf(
"distributor"
,
"nodename"
), evs);
33
nsm.AllocMem(conf.getconf(
"system"
,
"nsmdata"
));
34
evs->SetNodeInfo(nsm.GetNodeInfo());
35
36
evs->server();
37
return
0;
38
}
Belle2::ERecoDistributor
Definition:
ERecoDistributor.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_distributor.cc
Generated on Fri Nov 8 2024 02:35:06 for Belle II Software by
1.9.6