Belle II Software
release-05-01-25
ereco_distributor.cc
1
//+
2
// File : ERecoDistributor.cc
3
// Description : Receive data from storage and distribute them to
4
// Processing nodes
5
//
6
// Author : Ryosuke Itoh, IPNS, KEK
7
// Date : 24 - June - 2013
8
//-
9
#include "daq/expreco/ERecoDistributor.h"
10
#include "daq/rfarm/manager/RFNSM.h"
11
12
#include <unistd.h>
13
14
#include <cstring>
15
16
using namespace
std;
17
using namespace
Belle2
;
18
19
int
main
(
int
argc,
char
** argv)
20
{
21
RFConf
conf(argv[1]);
22
23
// Creation of event server instance. evs contains the instance
24
// RFEventServer& evs = RFEventServer::Create(argv[1]);
25
26
ERecoDistributor
* evs =
new
ERecoDistributor
(argv[1]);
27
28
29
RFNSM
nsm(conf.getconf(
"distributor"
,
"nodename"
), evs);
30
nsm.AllocMem(conf.getconf(
"system"
,
"nsmdata"
));
31
evs->SetNodeInfo(nsm.GetNodeInfo());
32
33
evs->server();
34
35
}
Belle2::ERecoDistributor
Definition:
ERecoDistributor.h:30
main
int main(int argc, char **argv)
Run all tests.
Definition:
test_main.cc:77
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::RFNSM
Definition:
RFNSM.h:61
Belle2::RFConf
Definition:
RFConf.h:24
daq
expreco
tools
ereco_distributor.cc
Generated on Fri Nov 5 2021 03:49:10 for Belle II Software by
1.8.17