CbmRoot
Loading...
Searching...
No Matches
reco/app/cbmreco_fairrun/Application.h
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#ifndef APP_CBMRECO_APPLICATION_H
6#define APP_CBMRECO_APPLICATION_H
7
8#include "CbmReco.h"
9#include "Monitor.hpp"
10#include "ProgramOptions.h"
11#include "log.hpp"
12
13#include <memory>
14
25 public:
27 explicit Application(ProgramOptions const& opt);
28
30 Application(const Application&) = delete;
31
33 void operator=(const Application&) = delete;
34
37
39 void Run();
40
41 private:
42 std::unique_ptr<cbm::Monitor> fMonitor;
44 std::unique_ptr<CbmReco> fCbmReco;
45};
46
47#endif
Main class of the "cbmreco_fairrun" application.
Application(ProgramOptions const &opt)
Standard constructor, initialize the application.
void Run()
Run the application.
std::unique_ptr< cbm::Monitor > fMonitor
The application's monitoring object.
void operator=(const Application &)=delete
Assignment operator forbidden.
std::unique_ptr< CbmReco > fCbmReco
CBM reconstruction steering class instance.
Application(const Application &)=delete
Copy constructor forbidden.
ProgramOptions const & fOpt
Program options object.
Program options class for the "cbmreco_fairrun" application.