12#ifndef CBMSIM_DIGITIZATION_APP_PROGRAMOPTIONS_H
13#define CBMSIM_DIGITIZATION_APP_PROGRAMOPTIONS_H 1
15#define DEFAULT_CONFIG "sim/response/config/DigiConfig_event_ideal.yaml"
16#define DEFAULT_SETUP "sis100_electron"
49 [[nodiscard]]
const std::vector<std::string>&
TraFiles()
const {
return fTra; }
52 [[nodiscard]]
const std::string&
ParFile()
const {
return fPar; }
71 std::vector<std::string>
fTra;
bool fOverwrite
Enable overwriting of existing output file.
ProgramOptions(const ProgramOptions &)=delete
Copy constructor forbidden.
const std::string & ParFile() const
Get parameter file name.
std::vector< std::string > fTra
List of transport input sources (ROOT format)
std::string fConfig
Configuration file name (YAML format)
bool Overwrite() const
Get overwrite option.
std::string fOutput
Output file name (ROOT format)
~ProgramOptions()=default
Destructor.
std::string fPar
Parameter file name (ROOT format)
ProgramOptions & operator=(const ProgramOptions &)=delete
Assignment operator forbidden.
const std::vector< std::string > & TraFiles() const
Get transport file name.
const std::string & ConfigFile() const
Get configuration file name (YAML format)
const std::string & SetupTag() const
Get geometry setup tag.
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.
std::string fSetup
Geometry setup tag.
const std::string & OutputFile() const
Get output file name (.root format)