Belle II Software
release-06-02-00
ereco_eventprocessor.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
9
//#define DESY
10
11
#include "daq/expreco/ERecoEventProcessor.h"
12
#include "daq/rfarm/manager/RFNSM.h"
13
14
#include <unistd.h>
15
16
#include <cstring>
17
18
using namespace
std;
19
using namespace
Belle2
;
20
21
int
main
(
int
argc,
char
** argv)
22
{
23
RFConf
conf(argv[1]);
24
25
ERecoEventProcessor
* evproc =
new
ERecoEventProcessor
(argv[1]);
26
27
char
nodename[256];
28
strcpy(nodename,
"evp_"
);
29
gethostname(&nodename[4],
sizeof
(nodename));
30
31
RFNSM
nsm(nodename, evproc);
32
nsm.AllocMem(conf.getconf(
"system"
,
"nsmdata"
));
33
evproc->SetNodeInfo(nsm.GetNodeInfo());
34
35
evproc->server();
36
37
}
Belle2::ERecoEventProcessor
Definition:
ERecoEventProcessor.h:31
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_eventprocessor.cc
Generated on Thu Dec 28 2023 02:21:40 for Belle II Software by
1.9.1