CbmRoot
Loading...
Searching...
No Matches
sim/response/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: Frederic Linz [committer], Volker Friese */
4
11#ifndef CBMSIM_DIGITIZATION_APP_APPLICATION_H
12#define CBMSIM_DIGITIZATION_APP_APPLICATION 1
13
14#include "ProgramOptions.h"
15#include "Run.h"
16
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::vector<std::string>& TraFile() 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::sim::digitization
54
55#endif /* CBMSIM_DIGITIZATION_APP_APPLICATION */
const std::string & OutputFile() const
const std::vector< std::string > & TraFile() const
~Application()=default
Destructor.
const std::string & SetupTag() const
const std::string & ParFile() const
Application(const Application &)=delete
Copy constructor forbidden.
Application(ProgramOptions const &opt)
Standard constructor, initialises the application.
void operator=(const Application &)=delete
Assignment operator forbidden.
const std::string & ConfigFile() const
ProgramOptions const & fOpt
Program options object.