Belle II Software
release-08-01-10
b2hlt_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/hbasf2/apps/ZMQDistributor.h>
9
#include <framework/logging/Logger.h>
10
11
using namespace
Belle2
;
12
18
int
main
(
int
argc,
char
* argv[])
19
{
20
ZMQDistributor
distributor;
21
distributor.
initFromConsole
(
"b2hlt_distributor - first step in the HLT data transportation. Receives events via a "
22
"raw connection (e.g. from event builder) and sends them via a load-balanced connection to connected clients."
,
23
argc, argv);
24
distributor.
main
();
25
26
B2RESULT(
"Program terminated."
);
27
}
Belle2::ZMQDistributor
Standard distributor app: receive data via a raw connection (e.g.
Definition:
ZMQDistributor.h:33
Belle2::ZMQStandardApp::initFromConsole
void initFromConsole(const std::string &description, int argc, char *argv[])
Should be called before the main() function to initialize the connections using the paremeters given ...
Definition:
ZMQApp.details.h:21
Belle2::ZMQStandardApp::main
void main()
Start the main loop polling on the output and monitoring connections and eventually also on the input...
Definition:
ZMQApp.details.h:85
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
hbasf2
tools
b2hlt_distributor.cc
Generated on Mon Sep 23 2024 14:01:08 for Belle II Software by
1.9.1