CbmRoot
Loading...
Searching...
No Matches
reco/app/cbmreco_fairrun/main.cxx
Go to the documentation of this file.
1/* Copyright (C) 2022 Johann Wolfgang Goethe-Universitaet Frankfurt, Frankfurt am Main
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Jan de Cuveland [committer] */
4
5#include "Application.h"
6#include "ProgramOptions.h"
7#include "log.hpp"
8
9int main(int argc, char* argv[])
10{
11 try {
12 ProgramOptions opt(argc, argv);
13 Application app(opt);
14 app.Run();
15 }
16 catch (std::exception const& e) {
17 L_(fatal) << e.what();
18 throw;
19 }
20
21 L_(info) << "exiting";
22 return EXIT_SUCCESS;
23}
#define L_(level)
Main class of the "cbmreco_fairrun" application.
void Run()
Run the application.
Program options class for the "cbmreco_fairrun" application.
int main(int argc, char *argv[])