CbmRoot
Loading...
Searching...
No Matches
services/histserv/tester/main.cxx
Go to the documentation of this file.
1/* Copyright (C) 2023 Facility for Antiproton and Ion Research in Europe, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Pierre-Alain Loizeau [committer] */
4#include <Logger.h>
5
6#include "Application.h"
7#include "ProgramOptions.h"
8
10
11int main(int argc, char* argv[])
12{
13 LOG(info) << "***** Tester client for Histogram server without FairMQ *****";
14 try {
15 ProgramOptions opt(argc, argv);
16 Application app(opt);
17 app.Exec();
18 }
19 catch (std::exception const& e) {
20 LOG(error) << e.what() << "; terminating.";
21 return EXIT_FAILURE;
22 }
23
24 LOG(info) << "Histogram server without FairMQ: Tester client Program completed successfully; exiting.";
25 return EXIT_SUCCESS;
26}
Main class of the "cbmreco_fairrun" application.
Program options class for the "cbmreco_fairrun" application.
int main(int argc, char *argv[])