CbmRoot
Loading...
Searching...
No Matches
analysis/common/analysis_tree_converter/app/main.cxx
Go to the documentation of this file.
1
/* Copyright (C) 2023 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2
SPDX-License-Identifier: GPL-3.0-only
3
Authors: Frederic Linz [committer], Volker Friese, Jan de Cuveland */
4
#include <Logger.h>
5
6
#include "
Application.h
"
7
#include "
ProgramOptions.h
"
8
9
using namespace
cbm::atconverter
;
10
11
int
main
(
int
argc,
char
* argv[])
12
{
13
LOG(info) <<
"***** CBM AnalysisTree Converter *****"
;
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) <<
"CBM AnalysisTree Converter: Program completed successfully; exiting."
;
25
return
EXIT_SUCCESS;
26
}
Application.h
ProgramOptions.h
main
int main(int argc, char *argv[])
Definition
analysis/common/analysis_tree_converter/app/main.cxx:11
cbm::atconverter::Application
Definition
analysis/common/analysis_tree_converter/app/Application.h:20
cbm::atconverter::Application::Exec
void Exec()
Run the application.
Definition
analysis/common/analysis_tree_converter/app/Application.cxx:25
cbm::atconverter::ProgramOptions
Definition
analysis/common/analysis_tree_converter/app/ProgramOptions.h:31
cbm::atconverter
Definition
analysis/common/analysis_tree_converter/app/Application.cxx:17
analysis
common
analysis_tree_converter
app
main.cxx
Generated on Sun Dec 22 2024 23:04:05 for CbmRoot by
1.12.0