Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
|
#include <G4UIcmdWithADoubleAndUnit.hh>
Static Public Member Functions | |
static G4double | GetNewDoubleValue (const char *paramString) |
static G4double | GetNewDoubleRawValue (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 41 of file G4UIcmdWithADoubleAndUnit.hh.
G4UIcmdWithADoubleAndUnit::G4UIcmdWithADoubleAndUnit | ( | const char * | theCommandPath, |
G4UImessenger * | theMessenger | ||
) |
Definition at line 39 of file G4UIcmdWithADoubleAndUnit.cc.
Definition at line 126 of file G4UIcmdWithADoubleAndUnit.cc.
Referenced by ConvertToStringWithDefaultUnit(), and G4MoleculeShootMessenger::GetCurrentValue().
Definition at line 140 of file G4UIcmdWithADoubleAndUnit.cc.
Reimplemented from G4UIcommand.
Definition at line 52 of file G4UIcmdWithADoubleAndUnit.cc.
|
static |
Definition at line 100 of file G4UIcmdWithADoubleAndUnit.cc.
|
static |
Definition at line 94 of file G4UIcmdWithADoubleAndUnit.cc.
Referenced by G4ModelCmdSetAuxPtsSize< M >::Apply(), G4ModelCmdSetStepPtsSize< M >::Apply(), G4ErrorMessenger::SetNewValue(), G4NeutronKillerMessenger::SetNewValue(), G4AdjointSimMessenger::SetNewValue(), G4OpenGLXmViewerMessenger::SetNewValue(), G4EmExtraParametersMessenger::SetNewValue(), G4EmParametersMessenger::SetNewValue(), G4EmMessenger::SetNewValue(), G4MoleculeShootMessenger::SetNewValue(), G4VisCommandViewerDolly::SetNewValue(), G4RTMessenger::SetNewValue(), G4GeometryMessenger::SetNewValue(), GFlashShowerModelMessenger::SetNewValue(), G4NuclideTableMessenger::SetNewValue(), G4ParticlePropertyMessenger::SetNewValue(), G4ProductionCutsTableMessenger::SetNewValue(), G4HadronicEPTestMessenger::SetNewValue(), G4INCLXXInterfaceMessenger::SetNewValue(), G4RadioactivationMessenger::SetNewValue(), G4RadioactiveDecayMessenger::SetNewValue(), G4UserPhysicsListMessenger::SetNewValue(), G4ScoringMessenger::SetNewValue(), G4GeneralParticleSourceMessenger::SetNewValue(), G4ParticleGunMessenger::SetNewValue(), and G4HadronicParametersMessenger::SetNewValue().
|
static |
Definition at line 113 of file G4UIcmdWithADoubleAndUnit.cc.
Referenced by G4GeometryMessenger::SetNewValue().
void G4UIcmdWithADoubleAndUnit::SetDefaultUnit | ( | const char * | defUnit | ) |
Definition at line 188 of file G4UIcmdWithADoubleAndUnit.cc.
Referenced by G4ErrorMessenger::G4ErrorMessenger(), G4GeometryMessenger::G4GeometryMessenger(), G4NuclideTableMessenger::G4NuclideTableMessenger(), G4ParticleGunMessenger::G4ParticleGunMessenger(), G4ParticlePropertyMessenger::G4ParticlePropertyMessenger(), G4ProductionCutsTableMessenger::G4ProductionCutsTableMessenger(), G4ScoringMessenger::G4ScoringMessenger(), G4UserPhysicsListMessenger::G4UserPhysicsListMessenger(), and GFlashShowerModelMessenger::GFlashShowerModelMessenger().
void G4UIcmdWithADoubleAndUnit::SetDefaultValue | ( | G4double | defVal | ) |
Definition at line 167 of file G4UIcmdWithADoubleAndUnit.cc.
Referenced by G4GeometryMessenger::G4GeometryMessenger(), G4HadronicEPTestMessenger::G4HadronicEPTestMessenger(), G4INCLXXInterfaceMessenger::G4INCLXXInterfaceMessenger(), G4NuclideTableMessenger::G4NuclideTableMessenger(), G4ParticlePropertyMessenger::G4ParticlePropertyMessenger(), G4ProductionCutsTableMessenger::G4ProductionCutsTableMessenger(), and G4UserPhysicsListMessenger::G4UserPhysicsListMessenger().
void G4UIcmdWithADoubleAndUnit::SetParameterName | ( | const char * | theName, |
G4bool | omittable, | ||
G4bool | currentAsDefault = false |
||
) |
Definition at line 156 of file G4UIcmdWithADoubleAndUnit.cc.
Referenced by G4AdjointSimMessenger::G4AdjointSimMessenger(), G4EmMessenger::G4EmMessenger(), G4EmParametersMessenger::G4EmParametersMessenger(), G4GeometryMessenger::G4GeometryMessenger(), G4HadronicEPTestMessenger::G4HadronicEPTestMessenger(), G4HadronicParametersMessenger::G4HadronicParametersMessenger(), G4INCLXXInterfaceMessenger::G4INCLXXInterfaceMessenger(), G4ModelCmdApplyDoubleAndUnit< M >::G4ModelCmdApplyDoubleAndUnit(), G4NeutronKillerMessenger::G4NeutronKillerMessenger(), G4NuclideTableMessenger::G4NuclideTableMessenger(), G4ParticleGunMessenger::G4ParticleGunMessenger(), G4ParticlePropertyMessenger::G4ParticlePropertyMessenger(), G4ProductionCutsTableMessenger::G4ProductionCutsTableMessenger(), G4RadioactivationMessenger::G4RadioactivationMessenger(), G4RadioactiveDecayMessenger::G4RadioactiveDecayMessenger(), G4ScoringMessenger::G4ScoringMessenger(), G4UserPhysicsListMessenger::G4UserPhysicsListMessenger(), and GFlashShowerModelMessenger::GFlashShowerModelMessenger().
void G4UIcmdWithADoubleAndUnit::SetUnitCandidates | ( | const char * | candidateList | ) |
Definition at line 180 of file G4UIcmdWithADoubleAndUnit.cc.
Referenced by SetUnitCategory().
void G4UIcmdWithADoubleAndUnit::SetUnitCategory | ( | const char * | unitCategory | ) |
Definition at line 174 of file G4UIcmdWithADoubleAndUnit.cc.
Referenced by G4AdjointSimMessenger::G4AdjointSimMessenger(), G4EmMessenger::G4EmMessenger(), G4EmParametersMessenger::G4EmParametersMessenger(), G4GeometryMessenger::G4GeometryMessenger(), G4HadronicEPTestMessenger::G4HadronicEPTestMessenger(), G4HadronicParametersMessenger::G4HadronicParametersMessenger(), G4INCLXXInterfaceMessenger::G4INCLXXInterfaceMessenger(), G4ModelCmdSetTimeSliceInterval< M >::G4ModelCmdSetTimeSliceInterval(), G4NeutronKillerMessenger::G4NeutronKillerMessenger(), G4RadioactivationMessenger::G4RadioactivationMessenger(), G4RadioactiveDecayMessenger::G4RadioactiveDecayMessenger(), GFlashShowerModelMessenger::GFlashShowerModelMessenger(), and SetDefaultUnit().