BDSExecOptions Class Reference

Collaboration diagram for BDSExecOptions:

Collaboration graph
[legend]

Public Member Functions

 ~BDSExecOptions ()
void Usage () const
void Print () const
G4String GetInputFilename () const
G4String GetVisMacroFilename () const
G4bool GetVisDebug () const
G4String GetOutputFilename () const
BDSOutputFormat GetOutputFormat () const
G4bool GetOutline () const
G4String GetOutlineFilename () const
G4String GetOutlineFormat () const
G4bool GetGFlash () const
G4double GetGFlashEMax () const
G4double GetGFlashEMin () const
G4bool GetVerbose () const
G4bool GetVerboseEvent () const
G4bool GetVerboseStep () const
G4int GetVerboseEventNumber () const
G4bool GetBatch () const
G4int GetVerboseRunLevel () const
G4int GetVerboseEventLevel () const
G4int GetVerboseTrackingLevel () const
G4int GetVerboseSteppingLevel () const
G4bool GetCircular () const
G4int GetSeed () const
G4bool SetSeed () const
G4String GetBDSIMPATH () const
G4bool SetSeedState () const
G4String GetSeedStateFilename () const

Static Public Member Functions

static const BDSExecOptionsInstance ()
static const BDSExecOptionsInstance (int argc, char **argv)

Protected Member Functions

 BDSExecOptions (int argc, char **argv)

Static Protected Attributes

static BDSExecOptions_instance = 0

Private Member Functions

void Parse (int arcg, char **argv)

Private Attributes

G4String inputFilename
G4String visMacroFilename
 > input filename
G4bool visDebug
 > visualisation filename
G4bool batch
G4bool circular
G4int seed
 > flag for circular machine
G4bool setSeed
 > the seed value for the random number generator
G4String itsBDSIMPATH
 string that points to path where files are searched; based on environment variable or else input filename
G4bool setSeedState
G4String seedStateFilename
 > if seed state is specifed - use the state saved in it
G4String outputFilename
 > flag for visualisation debug parameters for output format
BDSOutputFormat outputFormat
 > flag for visualisation debug parameters for output format
G4bool outline
 parameters for outline format (optics or survey)
G4String outlineFilename
 parameters for outline format (optics or survey)
G4String outlineFormat
 parameters for outline format (optics or survey)
G4bool gflash
 parameters for gflash shower parameterisation
G4double gflashemax
 parameters for gflash shower parameterisation
G4double gflashemin
 parameters for gflash shower parameterisation
G4bool verbose
 > flag for batch / interactive mode Geant4 verbose levels
G4bool verboseEvent
 > flag for batch / interactive mode Geant4 verbose levels
G4bool verboseStep
 > flag for batch / interactive mode Geant4 verbose levels
G4int verboseEventNumber
 > flag for batch / interactive mode Geant4 verbose levels
G4int verboseRunLevel
 > flag for batch / interactive mode Geant4 verbose levels
G4int verboseEventLevel
 > flag for batch / interactive mode Geant4 verbose levels
G4int verboseTrackingLevel
 > flag for batch / interactive mode Geant4 verbose levels
G4int verboseSteppingLevel
 > flag for batch / interactive mode Geant4 verbose levels

Detailed Description

Definition at line 16 of file BDSExecOptions.hh.


Constructor & Destructor Documentation

BDSExecOptions::BDSExecOptions ( int  argc,
char **  argv 
) [protected]

Definition at line 35 of file BDSExecOptions.cc.

References batch, BDSExecOptions(), circular, BDS::GetFullPath(), gflash, gflashemax, gflashemin, inputFilename, itsBDSIMPATH, outline, outlineFilename, outlineFormat, outputFilename, outputFormat, Parse(), seed, seedStateFilename, setSeed, setSeedState, verbose, verboseEvent, verboseEventLevel, verboseEventNumber, verboseRunLevel, verboseStep, verboseSteppingLevel, verboseTrackingLevel, visDebug, and visMacroFilename.

Referenced by BDSExecOptions().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Function Documentation

void BDSExecOptions::Parse ( int  argc,
char **  argv 
) [private]

<Parse the="" command="" line="" options>="">

Parameters:
command line input number of variables
array of char* of the input parameters

Definition at line 83 of file BDSExecOptions.cc.

References batch, circular, gflash, gflashemax, gflashemin, inputFilename, BDSMaterials::ListMaterials(), outline, outlineFilename, outlineFormat, outputFilename, outputFormat, seed, seedStateFilename, setSeed, setSeedState, Usage(), verbose, verboseEvent, verboseEventLevel, verboseEventNumber, verboseRunLevel, verboseStep, verboseSteppingLevel, verboseTrackingLevel, visDebug, and visMacroFilename.

Referenced by BDSExecOptions().

Here is the call graph for this function:

Here is the caller graph for this function:


Field Documentation

G4String BDSExecOptions::itsBDSIMPATH [private]

string that points to path where files are searched; based on environment variable or else input filename

> if the seed was set by command line - override if specified in options

Definition at line 105 of file BDSExecOptions.hh.

Referenced by BDSExecOptions(), and GetBDSIMPATH().


The documentation for this class was generated from the following files:
Generated on 28 Jun 2015 for BDSIM by  doxygen 1.4.7