Belle II Software
release-06-00-14
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
RFConf
conf(argv[1]);
21
22
// Creation of event server instance. evs contains the instance
23
// RFEventServer& evs = RFEventServer::Create(argv[1]);
24
25
ERecoDistributor
* evs =
new
ERecoDistributor
(argv[1]);
26
27
28
RFNSM
nsm(conf.getconf(
"distributor"
,
"nodename"
), evs);
29
nsm.AllocMem(conf.getconf(
"system"
,
"nsmdata"
));
30
evs->SetNodeInfo(nsm.GetNodeInfo());
31
32
evs->server();
33
34
}
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
main
int main(int argc, char **argv)
Run all tests.
Definition:
test_main.cc:75
daq
expreco
tools
ereco_distributor.cc
Generated on Thu Jul 14 2022 07:55:51 for Belle II Software by
1.9.1