|
CbmRoot
|
#include <ProgramOptions.h>
Public Member Functions | |
| ProgramOptions (int argc, char *argv[]) | |
| Standard constructor with command line arguments. | |
| ProgramOptions (const ProgramOptions &)=delete | |
| Copy constructor forbidden. | |
| ProgramOptions & | operator= (const ProgramOptions &)=delete |
| Assignment operator forbidden. | |
| ~ProgramOptions ()=default | |
| Destructor. | |
| const std::string & | OutputFile () const |
| Get output file name (.root format) | |
| const std::vector< std::string > & | TraFiles () const |
| Get vector of transport input file names. | |
| const std::string & | RawFile () const |
| Get digitization file name. | |
| const std::string & | ParFile () const |
| Get parameter file name. | |
| const std::string & | RecoFile () const |
| Get reconstruction file name. | |
| const std::string & | ConfigFile () const |
| Get configuration file name (YAML format) | |
| const std::string & | SetupTag () const |
| Get geometry setup tag. | |
| bool | Overwrite () const |
| Get overwrite option. | |
Private Member Functions | |
| void | ParseOptions (int argc, char *argv[]) |
| Parse command line arguments using boost program_options. | |
Private Attributes | |
| std::string | fOutput = "" |
| Output file name (ROOT format) | |
| std::vector< std::string > | fTra |
| Vector of transport input file names. | |
| std::string | fRaw = "" |
| Digitization file name (ROOT format) | |
| std::string | fPar = "" |
| Parameter file name (ROOT format) | |
| std::string | fReco = "" |
| Reconstruction file name (ROOT format) | |
| std::string | fConfig = "" |
| Configuration file name (YAML format) | |
| std::string | fSetup = "" |
| Geometry setup tag. | |
| bool | fOverwrite = false |
| Enable overwriting of existing output file. | |
Program option class for the application cbmatc
Definition at line 31 of file analysis/common/analysis_tree_converter/app/ProgramOptions.h.
|
inline |
Standard constructor with command line arguments.
Definition at line 34 of file analysis/common/analysis_tree_converter/app/ProgramOptions.h.
References ParseOptions().
Referenced by operator=(), and ProgramOptions().
|
delete |
Copy constructor forbidden.
References ProgramOptions().
|
default |
Destructor.
|
inlinenodiscard |
Get configuration file name (YAML format)
Definition at line 61 of file analysis/common/analysis_tree_converter/app/ProgramOptions.h.
References fConfig.
|
delete |
Assignment operator forbidden.
References ProgramOptions().
|
inlinenodiscard |
Get output file name (.root format)
Definition at line 46 of file analysis/common/analysis_tree_converter/app/ProgramOptions.h.
References fOutput.
|
inlinenodiscard |
Get overwrite option.
Definition at line 67 of file analysis/common/analysis_tree_converter/app/ProgramOptions.h.
References fOverwrite.
|
inlinenodiscard |
Get parameter file name.
Definition at line 55 of file analysis/common/analysis_tree_converter/app/ProgramOptions.h.
References fPar.
|
private |
Parse command line arguments using boost program_options.
Definition at line 29 of file analysis/common/analysis_tree_converter/app/ProgramOptions.cxx.
References DEFAULT_CONFIG, DEFAULT_SETUP, fConfig, fOutput, fOverwrite, fPar, fRaw, fReco, fSetup, and fTra.
Referenced by ProgramOptions().
|
inlinenodiscard |
Get digitization file name.
Definition at line 52 of file analysis/common/analysis_tree_converter/app/ProgramOptions.h.
References fRaw.
|
inlinenodiscard |
Get reconstruction file name.
Definition at line 58 of file analysis/common/analysis_tree_converter/app/ProgramOptions.h.
References fReco.
|
inlinenodiscard |
Get geometry setup tag.
Definition at line 64 of file analysis/common/analysis_tree_converter/app/ProgramOptions.h.
References fSetup.
|
inlinenodiscard |
Get vector of transport input file names.
Definition at line 49 of file analysis/common/analysis_tree_converter/app/ProgramOptions.h.
References fTra.
|
private |
Configuration file name (YAML format)
Definition at line 81 of file analysis/common/analysis_tree_converter/app/ProgramOptions.h.
Referenced by ConfigFile(), and ParseOptions().
|
private |
Output file name (ROOT format)
Definition at line 76 of file analysis/common/analysis_tree_converter/app/ProgramOptions.h.
Referenced by OutputFile(), and ParseOptions().
|
private |
Enable overwriting of existing output file.
Definition at line 83 of file analysis/common/analysis_tree_converter/app/ProgramOptions.h.
Referenced by Overwrite(), and ParseOptions().
|
private |
Parameter file name (ROOT format)
Definition at line 79 of file analysis/common/analysis_tree_converter/app/ProgramOptions.h.
Referenced by ParFile(), and ParseOptions().
|
private |
Digitization file name (ROOT format)
Definition at line 78 of file analysis/common/analysis_tree_converter/app/ProgramOptions.h.
Referenced by ParseOptions(), and RawFile().
|
private |
Reconstruction file name (ROOT format)
Definition at line 80 of file analysis/common/analysis_tree_converter/app/ProgramOptions.h.
Referenced by ParseOptions(), and RecoFile().
|
private |
Geometry setup tag.
Definition at line 82 of file analysis/common/analysis_tree_converter/app/ProgramOptions.h.
Referenced by ParseOptions(), and SetupTag().
|
private |
Vector of transport input file names.
Definition at line 77 of file analysis/common/analysis_tree_converter/app/ProgramOptions.h.
Referenced by ParseOptions(), and TraFiles().