Belle II Software development
b2hlt_rawhistoserver.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/ZMQHistogramServer.h>
9#include <framework/logging/Logger.h>
10
11using namespace Belle2;
12
18int main(int argc, char* argv[])
19{
20 ZMQHistogramToRawServer histogramServer;
21 histogramServer.initFromConsole("b2hlt_rawhistoserver - final histogram server receiving DQM histograms from clients (confirmed connection) "
22 "merging them periodically and send them out to a legacy histogram server.", argc, argv);
23 histogramServer.main();
24
25 B2RESULT("Program terminated.");
26}
Non-Final histogram app: receive histogram messages from all clients and react with a confirmation me...
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 ...
void main()
Start the main loop polling on the output and monitoring connections and eventually also on the input...
Abstract base class for different kinds of events.