Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
|
#include <G4UIcmdWith3VectorAndUnit.hh>
Static Public Member Functions | |
static G4ThreeVector | GetNew3VectorValue (const char *paramString) |
static G4ThreeVector | GetNew3VectorRawValue (const char *paramString) |
static G4double | GetNewUnitValue (const char *paramString) |
Static Public Member Functions inherited from G4UIcommand | |
static G4String | ConvertToString (G4bool boolVal) |
static G4String | ConvertToString (G4int intValue) |
static G4String | ConvertToString (G4long longValue) |
static G4String | ConvertToString (G4double doubleValue) |
static G4String | ConvertToString (G4double doubleValue, const char *unitName) |
static G4String | ConvertToString (const G4ThreeVector &vec) |
static G4String | ConvertToString (const G4ThreeVector &vec, const char *unitName) |
static G4bool | ConvertToBool (const char *st) |
static G4int | ConvertToInt (const char *st) |
static G4long | ConvertToLongInt (const char *st) |
static G4double | ConvertToDouble (const char *st) |
static G4double | ConvertToDimensionedDouble (const char *st) |
static G4ThreeVector | ConvertTo3Vector (const char *st) |
static G4ThreeVector | ConvertToDimensioned3Vector (const char *st) |
static G4double | ValueOf (const char *unitName) |
static G4String | CategoryOf (const char *unitName) |
static G4String | UnitsList (const char *unitCategory) |
Additional Inherited Members | |
Public Types inherited from G4UIcommand | |
enum | CommandType { BaseClassCmd , WithoutParameterCmd , WithABoolCmd , WithAnIntegerCmd , WithALongIntCmd , WithADoubleCmd , WithADoubleAndUnitCmd , With3VectorCmd , With3VectorAndUnitCmd , WithAStringCmd , CmdDirectory = -1 } |
Protected Types inherited from G4UIcommand | |
using | yystype = G4UItokenNum::yystype |
using | tokenNum = G4UItokenNum::tokenNum |
Protected Member Functions inherited from G4UIcommand | |
G4int | CheckNewValue (const char *newValue) |
Protected Attributes inherited from G4UIcommand | |
G4bool | toBeBroadcasted = false |
G4bool | toBeFlushed = false |
G4bool | workerThreadOnly = false |
G4int | commandFailureCode = 0 |
G4String | failureDescription = "" |
G4bool | ifSort = false |
Definition at line 42 of file G4UIcmdWith3VectorAndUnit.hh.
G4UIcmdWith3VectorAndUnit::G4UIcmdWith3VectorAndUnit | ( | const char * | theCommandPath, |
G4UImessenger * | theMessenger ) |
Definition at line 40 of file G4UIcmdWith3VectorAndUnit.cc.
G4String G4UIcmdWith3VectorAndUnit::ConvertToStringWithBestUnit | ( | const G4ThreeVector & | vec | ) |
Definition at line 131 of file G4UIcmdWith3VectorAndUnit.cc.
Referenced by ConvertToStringWithDefaultUnit(), G4MoleculeShootMessenger::GetCurrentValue(), and G4VisCommandsViewerSet::SetNewValue().
G4String G4UIcmdWith3VectorAndUnit::ConvertToStringWithDefaultUnit | ( | const G4ThreeVector & | vec | ) |
Definition at line 146 of file G4UIcmdWith3VectorAndUnit.cc.
Reimplemented from G4UIcommand.
Definition at line 57 of file G4UIcmdWith3VectorAndUnit.cc.
|
static |
Definition at line 106 of file G4UIcmdWith3VectorAndUnit.cc.
|
static |
Definition at line 100 of file G4UIcmdWith3VectorAndUnit.cc.
Referenced by G4EmExtraParametersMessenger::SetNewValue(), G4GeneralParticleSourceMessenger::SetNewValue(), G4GlobalMagFieldMessenger::SetNewValue(), G4HepRepMessenger::SetNewValue(), G4MatScanMessenger::SetNewValue(), G4MoleculeShootMessenger::SetNewValue(), G4ParticleGunMessenger::SetNewValue(), G4RTMessenger::SetNewValue(), G4ScoringMessenger::SetNewValue(), and G4VisCommandsViewerSet::SetNewValue().
|
static |
void G4UIcmdWith3VectorAndUnit::SetDefaultUnit | ( | const char * | defUnit | ) |
Definition at line 204 of file G4UIcmdWith3VectorAndUnit.cc.
Referenced by G4MatScanMessenger::G4MatScanMessenger(), G4ParticleGunMessenger::G4ParticleGunMessenger(), and G4ScoringMessenger::G4ScoringMessenger().
void G4UIcmdWith3VectorAndUnit::SetDefaultValue | ( | const G4ThreeVector & | defVal | ) |
Definition at line 179 of file G4UIcmdWith3VectorAndUnit.cc.
Referenced by G4MatScanMessenger::G4MatScanMessenger().
void G4UIcmdWith3VectorAndUnit::SetParameterName | ( | const char * | theNameX, |
const char * | theNameY, | ||
const char * | theNameZ, | ||
G4bool | omittable, | ||
G4bool | currentAsDefault = false ) |
Definition at line 160 of file G4UIcmdWith3VectorAndUnit.cc.
Referenced by G4GlobalMagFieldMessenger::G4GlobalMagFieldMessenger(), G4MatScanMessenger::G4MatScanMessenger(), G4ParticleGunMessenger::G4ParticleGunMessenger(), G4ScoringMessenger::G4ScoringMessenger(), and G4VisCommandsViewerSet::G4VisCommandsViewerSet().
void G4UIcmdWith3VectorAndUnit::SetUnitCandidates | ( | const char * | candidateList | ) |
Definition at line 196 of file G4UIcmdWith3VectorAndUnit.cc.
Referenced by SetUnitCategory().
void G4UIcmdWith3VectorAndUnit::SetUnitCategory | ( | const char * | unitCategory | ) |
Definition at line 190 of file G4UIcmdWith3VectorAndUnit.cc.
Referenced by G4GlobalMagFieldMessenger::G4GlobalMagFieldMessenger(), G4VisCommandsViewerSet::G4VisCommandsViewerSet(), and SetDefaultUnit().