CbmRoot
Loading...
Searching...
No Matches
analysis/common/analysis_tree_converter/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 CBM_ATCONVERTER_APP_APPLICATION_H
12#define CBM_ATCONVERTER_APP_APPLICATION 1
13
14#include "ProgramOptions.h"
15#include "Run.h"
16
17namespace cbm::atconverter
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>& TraFiles() const;
43 const std::string& RawFile() const;
44 const std::string& ParFile() const;
45 const std::string& RecoFile() const;
46 const std::string& SetupTag() const;
47 const std::string& ConfigFile() const;
48
49
50 private:
52 Run fRun = {};
53 };
54
55} // namespace cbm::atconverter
56
57#endif /* CBM_ATCONVERTER_APP_APPLICATION */
const std::string & RawFile() const
const std::string & OutputFile() const
const std::vector< std::string > & TraFiles() const
const std::string & SetupTag() const
~Application()=default
Destructor.
void operator=(const Application &)=delete
Assignment operator forbidden.
const std::string & ConfigFile() const
Application(ProgramOptions const &opt)
Standard constructor, initialises the application.
const std::string & RecoFile() const
const std::string & ParFile() const
Application(const Application &)=delete
Copy constructor forbidden.