Belle II Software development
hserver.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 <string>
9#include <stdio.h>
10#include <stdlib.h>
11
12#include <daq/dqm/HistoServer.h>
13
14using namespace Belle2;
15using namespace std;
16
17int main(int argc, char** argv)
18{
19 if (argc < 3) {
20 printf("Usage : hserver port mapfile\n");
21 exit(-1);
22 }
23 int port = atoi(argv[1]);
24 string file = string(argv[2]);
25
26 HistoServer hserv(port, file);
27
28 hserv.init();
29
30 hserv.server();
31
32}
33
34
Abstract base class for different kinds of events.
STL namespace.