34int main(
int argc,
char** argv)
36 LOGF(info,
"Welcome in O2 event visualisation tool (", o2_eve_version,
")");
38 if (!Options::Instance()->processCommandLine(argc, argv)) {
42 srand(
static_cast<unsigned int>(
time(
nullptr)));
48 std::array<const char*, 7> keys = {
"Gui.DefaultFont",
"Gui.MenuFont",
"Gui.MenuHiFont",
49 "Gui.DocFixedFont",
"Gui.DocPropFont",
"Gui.IconFont",
"Gui.StatusFont"};
50 for (
const auto&
key : keys) {
51 if (settings.Defined(
key)) {
52 gEnv->SetValue(
key, settings.GetValue(
key,
""));
57 auto app =
new TApplication(
"o2eve", &argc, argv);
61 LOGF(info,
"Initializing TEveManager");
62 if (!TEveManager::Create(kTRUE,
"FI")) {
63 LOGF(fatal,
"Could not create TEveManager!!");
74 TEveManager::Terminate();
77 LOGF(info,
"O2 event visualisation tool terminated properly");