Belle II Software
release-08-01-10
ereco_master_local.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/ERecoMaster.h"
9
#include "daq/rfarm/manager/RFNSM.h"
10
11
using namespace
std;
12
using namespace
Belle2
;
13
14
int
main
(
int
argc,
char
** argv)
15
{
16
if
(argc < 2) {
17
printf(
"Wrong number of arguments\n"
);
18
return
1;
19
}
20
21
RFConf
conf(argv[1]);
22
23
ERecoMaster
* master =
new
ERecoMaster
(argv[1]);
24
25
RFNSM
nsm(conf.getconf(
"master"
,
"nodename"
), master);
26
nsm.AllocMem(conf.getconf(
"system"
,
"nsmdata"
));
27
master->SetNodeInfo(nsm.GetNodeInfo());
28
master->Hook_Message_Handlers();
29
30
master->monitor_loop();
31
32
return
0;
33
}
Belle2::ERecoMaster
Definition:
ERecoMaster.h:22
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:91
daq
expreco
tools
ereco_master_local.cc
Generated on Mon Sep 23 2024 14:01:06 for Belle II Software by
1.9.1