CbmRoot
Loading...
Searching...
No Matches
reco/offline/app/Application.h
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: Volker Friese [committer] */
4
11#ifndef CBM_RECO_OFFLINE_APP_APPLICATION_H
12#define CBM_RECO_OFFLINE_APP_APPLICATION 1
13
14#include "ProgramOptions.h"
15#include "Run.h"
16
17namespace cbm::reco::offline
18{
19
21
22
23 public:
26 explicit Application(ProgramOptions const& opt);
27
29 Application(const Application&) = delete;
30
32 void operator=(const Application&) = delete;
33
35 ~Application() = default;
36
38 void Exec();
39
40 private:
41 const std::string& OutputFile() const;
42 const std::string& RawFile() const;
43 const std::string& ParFile() const;
44 const std::string& SetupTag() const;
45 const std::string& ConfigFile() const;
46
47
48 private:
50 Run fRun = {};
51 };
52
53} // namespace cbm::reco::offline
54
55#endif /* CBM_RECO_OFFLINE_APP_APPLICATION */
const std::string & OutputFile() const
void operator=(const Application &)=delete
Assignment operator forbidden.
const std::string & SetupTag() const
const std::string & RawFile() const
~Application()=default
Destructor.
ProgramOptions const & fOpt
Program options object.
const std::string & ParFile() const
Application(ProgramOptions const &opt)
Standard constructor, initialises the application.
const std::string & ConfigFile() const
Application(const Application &)=delete
Copy constructor forbidden.