Belle II Software
release-06-00-14
rf_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/rfarm/manager/RFMaster.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
RFConf
conf(argv[1]);
17
18
RFMaster
* master =
new
RFMaster
(argv[1]);
19
// Creation of event server instance. evs contains the instance
20
// RFOutputServer& ots = RFOutputServer::Create ( argv[1] );
21
22
RFNSM
nsm(conf.getconf(
"master"
,
"nodename"
), master);
23
nsm.AllocMem(conf.getconf(
"system"
,
"nsmdata"
));
24
master->SetNodeInfo(nsm.GetNodeInfo());
25
master->Hook_Message_Handlers();
26
27
master->monitor_loop();
28
29
}
Belle2::RFConf
Definition:
RFConf.h:24
Belle2::RFMaster
Definition:
RFMaster.h:22
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
rfarm
manager
tools
rf_master_local.cc
Generated on Thu Jul 14 2022 07:56:33 for Belle II Software by
1.9.1