CbmRoot
Loading...
Searching...
No Matches
services/run_info/app/main.cxx
Go to the documentation of this file.
1
/* Copyright (C) 2025 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2
SPDX-License-Identifier: GPL-3.0-only
3
Authors: Sergei Zharko [committer] */
4
9
10
#include "
Application.h
"
11
12
#include <iostream>
13
14
using namespace
cbm::services::run_info
;
15
16
int
main
(
int
argc,
char
* argv[])
17
{
18
Application
app;
19
try
{
20
auto
info = app.ParseOptions(argc, argv);
21
if
(info.has_value()) {
22
app.Print(info.value());
23
}
24
}
25
catch
(
const
std::exception& err) {
26
std::cerr <<
"Error: "
<< err.what() << std::endl;
27
return
EXIT_FAILURE;
28
}
29
30
return
EXIT_SUCCESS;
31
}
Application
Main class of the "cbmreco_fairrun" application.
Definition
reco/app/cbmreco_fairrun/Application.h:24
cbm::services::run_info
Definition
services/run_info/app/Application.h:17
Application.h
The application class for the run_info service.
main
int main(int argc, char *argv[])
Definition
services/run_info/app/main.cxx:16
services
run_info
app
main.cxx
Generated on Mon Feb 3 2025 23:04:01 for CbmRoot by
1.12.0