Belle II Software
release-05-01-25
b2hlt_finalhistoserver.cc
1
/**************************************************************************
2
* BASF2 (Belle Analysis Framework 2) *
3
* Copyright(C) 2019 - Belle II Collaboration *
4
* *
5
* Author: The Belle II Collaboration *
6
* Contributors: Nils Braun *
7
* *
8
* This software is provided "as is" without any warranty. *
9
**************************************************************************/
10
#include <daq/hbasf2/apps/ZMQHistogramServer.h>
11
#include <framework/logging/Logger.h>
12
13
using namespace
Belle2
;
14
20
int
main
(
int
argc,
char
* argv[])
21
{
22
ZMQHistogramToFileServer
histogramServer;
23
histogramServer.
initFromConsole
(
"b2hlt_finalhistoserver - final histogram server receiving DQM histograms from clients (confirmed connection) "
24
"merging them periodically and storing them to a ROOT file as well as a shared memory file (optionally)."
, argc, argv);
25
histogramServer.
main
();
26
27
B2RESULT(
"Program terminated."
);
28
}
Belle2::ZMQHistogramToFileServer
Final histogram app: receive histogram messages from all clients and react with a confirmation messag...
Definition:
ZMQHistogramServer.h:40
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:59
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::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:29
daq
hbasf2
tools
b2hlt_finalhistoserver.cc
Generated on Fri Nov 5 2021 03:49:18 for Belle II Software by
1.8.17