19#ifndef BDSEXECOPTIONS_H
20#define BDSEXECOPTIONS_H
24#include "parser/beam.h"
25#include "parser/options.h"
69 void Parse(
int argc,
char **argv);
72 G4String
GetPath(G4String filename);
Executable option processing for BDSIM.
GMAD::Options options
The options instance that is populated by parsing the command line options.
const GMAD::Options & Options() const
Accessor for options generated by command line parsing.
GMAD::Beam beam
The beam instance that is populated by parsing some command line options.
void Print() const
Print out the commands and their set values.
void PrintCitation() const
Print academic citation information.
G4bool IgnoreSIGINT() const
Accessor.
G4bool ignoreSIGINT
Whether to ignore Ctrl-C or not - used for ctest.
const GMAD::Beam & Beam() const
Accessor for beam options generate by command line parsing.
void Usage() const
Print out the available executable commands (no exit).
void PrintCopyright() const
Print out the copyright information (no exit).
void Parse(int argc, char **argv)
G4String GetPath(G4String filename)
Helper method to set the BDSIMPath correctly.
BDSExecOptions()
Private default constructor to force use of provided one.
G4String InputFileName() const
Acessor for convenience for the one thing that's needed before the parser options.
std::string inputFileName
Input filename.