12#ifndef CBM_RECO_OFFLINE_APP_PROGRAMOPTIONS_H
13#define CBM_RECO_OFFLINE_APP_PROGRAMOPTIONS_H 1
15#define DEFAULT_CONFIG "reco/offline/config/RecoConfig_event_ideal.yaml"
16#define DEFAULT_SETUP "sis100_electron"
45 [[nodiscard]]
const std::string&
RawFile()
const {
return fRaw; }
57 [[nodiscard]]
const std::string&
ParFile()
const {
return fPar; }
const std::string & SetupTag() const
Get geometry setup tag.
std::string fRaw
Input raw (digi) file name (ROOT format)
std::string fSetup
Geometry setup tag.
ProgramOptions & operator=(const ProgramOptions &)=delete
Assignment operator forbidden.
~ProgramOptions()=default
Destructor.
const std::string & RawFile() const
Get digitization (raw) file name.
const std::string & ParFile() const
Get parameter file name.
std::string fPar
Parameter file name (ROOT format)
bool fOverwrite
Enable overwriting of existing output file.
const std::string & OutputFile() const
Get output file name (.root format)
std::string fConfig
Configuration file name (YAML format)
std::string fOutput
Output file name (ROOT format)
bool Overwrite() const
Get overwrite option.
ProgramOptions(const ProgramOptions &)=delete
Copy constructor forbidden.
const std::string & ConfigFile() const
Get configuration file name (YAML format)
void ParseOptions(int argc, char *argv[])
Parse command line arguments using boost program_options.
ProgramOptions(int argc, char *argv[])
Standard constructor with command line arguments.