5#ifndef APP_CBMRECO_PROGRAMOPTIONS_H
6#define APP_CBMRECO_PROGRAMOPTIONS_H
Program options exception class.
ProgramOptionsException(const std::string &what_arg="")
Program options class for the "cbmreco_fairrun" application.
const std::string & OutputRootFile() const
Get output file name (.root format)
std::vector< std::string > fInputUri
URI(s) specifying input timeslice stream source(s)
bool DumpSetup() const
Get flag to dump the readout setup to yaml.
const std::vector< std::string > & InputUri() const
Get URI specifying input timeslice stream source(s)
int32_t MaxNumTs() const
Get maximum number of timeslices to process.
const std::string & MonitorUri() const
Get URI specifying the monitoring server interface.
std::string fConfigYamlFile
Configuration file name (.yaml format)
uint16_t fHttpServerPort
Port number for the HTTP server. If 0, server will not be activated.
ProgramOptions(const ProgramOptions &)=delete
Copy constructor forbidden.
std::string fMonitorUri
URI specifying the monitoring server interface.
std::string fSaveConfigYamlFile
Save configuration file name (.yaml format)
uint16_t HttpServerPort() const
Get the port number for the HTTP server.
std::string fOutputRootFile
Output file name (.root format)
const std::string & ConfigYamlFile() const
Get configuration file name (.yaml format)
void operator=(const ProgramOptions &)=delete
Assignment operator forbidden.
const std::string & SaveConfigYamlFile() const
Get save configuration file name (.yaml format)
ProgramOptions(int argc, char *argv[])
Standard constructor with command line arguments.
bool fDumpSetup
Dump the readout setup to yaml.
void ParseOptions(int argc, char *argv[])
Parse command line arguments using boost program_options.
int32_t fMaxNumTs
Maximum number of timeslices to process.