Geant4-11
|
#include <G4RunMessenger.hh>
Public Member Functions | |
G4bool | CommandsShouldBeInMaster () const |
G4RunMessenger (G4RunManager *runMgr) | |
G4String | GetCurrentValue (G4UIcommand *command) |
G4bool | operator!= (const G4UImessenger &messenger) const |
G4bool | operator== (const G4UImessenger &messenger) const |
void | SetNewValue (G4UIcommand *command, G4String newValues) |
~G4RunMessenger () | |
Protected Member Functions | |
void | AddUIcommand (G4UIcommand *newCommand) |
G4String | BtoS (G4bool b) |
template<typename T > | |
T * | CreateCommand (const G4String &cname, const G4String &dsc) |
void | CreateDirectory (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true) |
G4String | DtoS (G4double a) |
G4String | ItoS (G4int i) |
G4bool | StoB (G4String s) |
G4double | StoD (G4String s) |
G4int | StoI (G4String s) |
G4long | StoL (G4String s) |
Protected Attributes | |
G4UIdirectory * | baseDir = nullptr |
G4String | baseDirName = "" |
G4bool | commandsShouldBeInMaster = false |
Definition at line 65 of file G4RunMessenger.hh.
G4RunMessenger::G4RunMessenger | ( | G4RunManager * | runMgr | ) |
Definition at line 50 of file G4RunMessenger.cc.
References abortCmd, abortEventCmd, G4UIcommand::AvailableForStates(), beamOnCmd, brkBoECmd, brkEoECmd, constScoreCmd, dumpCoupleCmd, dumpRegCmd, evModCmd, G4State_EventProc, G4State_GeomClosed, G4State_Idle, G4State_PreInit, geomCmd, geomRebCmd, initCmd, materialScanner, maxThreadsCmd, nThreadsCmd, optCmd, physCmd, pinAffinityCmd, printProgCmd, procUICmds, randDirCmd, randEvtCmd, randomDirectory, restoreRandCmd, restoreRandCmdMT, runDirectory, saveEachEventCmd, saveThisEventCmd, saveThisRunCmd, savingFlagCmd, seedCmd, G4UIcmdWithAString::SetDefaultValue(), G4UIparameter::SetDefaultValue(), G4UIcmdWithABool::SetDefaultValue(), G4UIcmdWithAnInteger::SetDefaultValue(), G4UIcommand::SetGuidance(), G4UIcommand::SetParameter(), G4UIcmdWithABool::SetParameterName(), G4UIcmdWithAnInteger::SetParameterName(), G4UIcmdWithAString::SetParameterName(), G4UIparameter::SetParameterRange(), G4UIcommand::SetRange(), G4UIcommand::SetToBeBroadcasted(), and verboseCmd.
G4RunMessenger::~G4RunMessenger | ( | ) |
Definition at line 414 of file G4RunMessenger.cc.
References abortCmd, abortEventCmd, beamOnCmd, brkBoECmd, brkEoECmd, constScoreCmd, dumpCoupleCmd, dumpRegCmd, evModCmd, geomCmd, geomRebCmd, initCmd, materialScanner, maxThreadsCmd, nThreadsCmd, optCmd, physCmd, pinAffinityCmd, printProgCmd, procUICmds, randDirCmd, randEvtCmd, randomDirectory, restoreRandCmd, restoreRandCmdMT, runDirectory, saveEachEventCmd, saveThisEventCmd, saveThisRunCmd, savingFlagCmd, seedCmd, and verboseCmd.
|
protectedinherited |
Definition at line 149 of file G4UImessenger.cc.
References G4cerr, G4endl, and G4UIcommand::GetCommandPath().
Definition at line 98 of file G4UImessenger.cc.
|
inlineinherited |
Definition at line 77 of file G4UImessenger.hh.
References G4UImessenger::commandsShouldBeInMaster.
Referenced by G4UIcommand::G4UIcommandCommonConstructorCode().
|
protectedinherited |
Definition at line 110 of file G4UImessenger.hh.
References G4UImessenger::baseDirName.
|
protectedinherited |
Definition at line 156 of file G4UImessenger.cc.
References G4UImessenger::baseDir, G4UImessenger::baseDirName, G4UIcommandTree::FindCommandTree(), G4UIcommandTree::GetPathName(), G4UImanager::GetTree(), G4UImanager::GetUIpointer(), and G4UIcommand::SetGuidance().
Referenced by G4MoleculeShootMessenger::G4MoleculeShootMessenger(), and G4UImessenger::G4UImessenger().
Definition at line 90 of file G4UImessenger.cc.
Referenced by G4ScoreQuantityMessenger::FilterCommands(), and G4UIcontrolMessenger::SetNewValue().
|
virtual |
Reimplemented from G4UImessenger.
Definition at line 711 of file G4RunMessenger.cc.
References G4UIcommand::ConvertToString(), evModCmd, G4cout, G4endl, G4RunManager::GetFlagRandomNumberStatusToG4Event(), G4RunManager::GetPrintProgress(), G4RunManager::GetRandomNumberStoreDir(), G4RunManager::GetRunManagerType(), G4RunManager::GetVerboseLevel(), G4RunManager::masterRM, nThreadsCmd, printProgCmd, randDirCmd, randEvtCmd, runManager, G4MTRunManager::SeedOncePerCommunication(), G4RunManager::sequentialRM, and verboseCmd.
Definition at line 82 of file G4UImessenger.cc.
Referenced by G4GenericMessenger::DeclareMethod(), and G4ParticleGunMessenger::GetCurrentValue().
|
inherited |
Definition at line 76 of file G4UImessenger.cc.
|
inherited |
Definition at line 70 of file G4UImessenger.cc.
|
virtual |
Reimplemented from G4UImessenger.
Definition at line 454 of file G4RunMessenger.cc.
References abortCmd, G4RunManager::AbortEvent(), abortEventCmd, G4RunManager::AbortRun(), G4RunManager::BeamOn(), beamOnCmd, brkBoECmd, brkEoECmd, G4RunManager::ConstructScoringWorlds(), constScoreCmd, dumpCoupleCmd, G4ProductionCutsTable::DumpCouples(), dumpRegCmd, G4RunManager::DumpRegion(), anonymous_namespace{G4MTcoutDestination.cc}::empty, evModCmd, FatalException, G4cerr, G4cout, G4endl, G4Exception(), G4Threading::G4GetNumberOfCores(), geomCmd, G4RunManager::GeometryHasBeenModified(), geomRebCmd, G4UIcmdWithABool::GetNewBoolValue(), G4UIcmdWithAnInteger::GetNewIntValue(), G4ProductionCutsTable::GetProductionCutsTable(), G4RunManager::GetRunManagerType(), G4UImanager::GetUIpointer(), initCmd, G4RunManager::Initialize(), macroFileName, G4RunManager::masterRM, maxThreadsCmd, nThreadsCmd, optCmd, physCmd, G4RunManager::PhysicsHasBeenModified(), pinAffinityCmd, printProgCmd, procUICmds, randDirCmd, randEvtCmd, G4RunManager::ReinitializeGeometry(), G4MTRunManager::RequestWorkersProcessCommandsStack(), restoreRandCmd, restoreRandCmdMT, G4RunManager::RestoreRandomNumberStatus(), G4RunManager::RestoreRndmEachEvent(), G4RunManager::rndmSaveThisEvent(), G4RunManager::rndmSaveThisRun(), runManager, saveEachEventCmd, saveThisEventCmd, saveThisRunCmd, savingFlagCmd, seedCmd, G4RunManager::sequentialRM, G4RunManager::SetGeometryToBeOptimized(), G4UImanager::SetPauseAtBeginOfEvent(), G4UImanager::SetPauseAtEndOfEvent(), PTL::Threading::SetPinAffinity(), G4RunManager::SetPrintProgress(), G4RunManager::SetRandomNumberStore(), G4RunManager::SetRandomNumberStoreDir(), G4RunManager::SetRandomNumberStorePerEvent(), G4MTRunManager::SetSeedOncePerCommunication(), G4RunManager::SetVerboseLevel(), G4UImessenger::StoL(), G4RunManager::StoreRandomNumberStatusToG4Event(), and verboseCmd.
Definition at line 137 of file G4UImessenger.cc.
References G4StrUtil::to_upper_copy().
Referenced by G4LocalThreadCoutMessenger::SetNewValue(), G4CascadeParamMessenger::SetNewValue(), G4ScoreQuantityMessenger::SetNewValue(), and G4ScoringMessenger::SetNewValue().
Definition at line 127 of file G4UImessenger.cc.
Referenced by G4ScoreQuantityMessenger::FParticleWithEnergyCommand(), G4ParticleGunMessenger::IonCommand(), G4GeneralParticleSourceMessenger::IonCommand(), G4UIcontrolMessenger::SetNewValue(), G4MatScanMessenger::SetNewValue(), G4VisCommandSceneAddText::SetNewValue(), G4VisCommandSceneAddText2D::SetNewValue(), G4ScoreQuantityMessenger::SetNewValue(), G4ScoringMessenger::SetNewValue(), and G4PolarizationMessenger::SetNewValue().
Definition at line 107 of file G4UImessenger.cc.
Referenced by G4ScoringMessenger::Fill1D(), G4ParticleGunMessenger::IonCommand(), G4GeneralParticleSourceMessenger::IonCommand(), G4ParticleGunMessenger::IonLevelCommand(), G4GeneralParticleSourceMessenger::IonLvlCommand(), G4ScoringMessenger::MeshBinCommand(), G4LocalThreadCoutMessenger::SetNewValue(), G4UIcontrolMessenger::SetNewValue(), G4MatScanMessenger::SetNewValue(), G4GMocrenMessenger::SetNewValue(), G4ScoreQuantityMessenger::SetNewValue(), and G4ScoringMessenger::SetNewValue().
Definition at line 117 of file G4UImessenger.cc.
Referenced by SetNewValue().
|
private |
Definition at line 93 of file G4RunMessenger.hh.
Referenced by G4RunMessenger(), SetNewValue(), and ~G4RunMessenger().
|
private |
Definition at line 94 of file G4RunMessenger.hh.
Referenced by G4RunMessenger(), SetNewValue(), and ~G4RunMessenger().
|
protectedinherited |
Definition at line 102 of file G4UImessenger.hh.
Referenced by G4UImessenger::CreateDirectory(), and G4UImessenger::~G4UImessenger().
|
protectedinherited |
Definition at line 103 of file G4UImessenger.hh.
Referenced by G4UImessenger::CreateCommand(), and G4UImessenger::CreateDirectory().
|
private |
Definition at line 81 of file G4RunMessenger.hh.
Referenced by G4RunMessenger(), SetNewValue(), and ~G4RunMessenger().
|
private |
Definition at line 91 of file G4RunMessenger.hh.
Referenced by G4RunMessenger(), SetNewValue(), and ~G4RunMessenger().
|
private |
Definition at line 92 of file G4RunMessenger.hh.
Referenced by G4RunMessenger(), SetNewValue(), and ~G4RunMessenger().
|
protectedinherited |
Definition at line 104 of file G4UImessenger.hh.
Referenced by G4UImessenger::CommandsShouldBeInMaster(), and G4GeneralParticleSourceMessenger::G4GeneralParticleSourceMessenger().
|
private |
Definition at line 112 of file G4RunMessenger.hh.
Referenced by G4RunMessenger(), SetNewValue(), and ~G4RunMessenger().
|
private |
Definition at line 89 of file G4RunMessenger.hh.
Referenced by G4RunMessenger(), SetNewValue(), and ~G4RunMessenger().
|
private |
Definition at line 88 of file G4RunMessenger.hh.
Referenced by G4RunMessenger(), SetNewValue(), and ~G4RunMessenger().
|
private |
Definition at line 87 of file G4RunMessenger.hh.
Referenced by G4RunMessenger(), GetCurrentValue(), SetNewValue(), and ~G4RunMessenger().
|
private |
Definition at line 96 of file G4RunMessenger.hh.
Referenced by G4RunMessenger(), SetNewValue(), and ~G4RunMessenger().
|
private |
Definition at line 97 of file G4RunMessenger.hh.
Referenced by G4RunMessenger(), SetNewValue(), and ~G4RunMessenger().
|
private |
Definition at line 95 of file G4RunMessenger.hh.
Referenced by G4RunMessenger(), SetNewValue(), and ~G4RunMessenger().
|
private |
Definition at line 78 of file G4RunMessenger.hh.
Referenced by SetNewValue().
|
private |
Definition at line 114 of file G4RunMessenger.hh.
Referenced by G4RunMessenger(), and ~G4RunMessenger().
|
private |
Definition at line 85 of file G4RunMessenger.hh.
Referenced by G4RunMessenger(), SetNewValue(), and ~G4RunMessenger().
|
private |
Definition at line 84 of file G4RunMessenger.hh.
Referenced by G4RunMessenger(), GetCurrentValue(), SetNewValue(), and ~G4RunMessenger().
|
private |
Definition at line 90 of file G4RunMessenger.hh.
Referenced by G4RunMessenger(), SetNewValue(), and ~G4RunMessenger().
|
private |
Definition at line 98 of file G4RunMessenger.hh.
Referenced by G4RunMessenger(), SetNewValue(), and ~G4RunMessenger().
|
private |
Definition at line 86 of file G4RunMessenger.hh.
Referenced by G4RunMessenger(), SetNewValue(), and ~G4RunMessenger().
|
private |
Definition at line 83 of file G4RunMessenger.hh.
Referenced by G4RunMessenger(), GetCurrentValue(), SetNewValue(), and ~G4RunMessenger().
|
private |
Definition at line 100 of file G4RunMessenger.hh.
Referenced by G4RunMessenger(), SetNewValue(), and ~G4RunMessenger().
|
private |
Definition at line 104 of file G4RunMessenger.hh.
Referenced by G4RunMessenger(), GetCurrentValue(), SetNewValue(), and ~G4RunMessenger().
|
private |
Definition at line 99 of file G4RunMessenger.hh.
Referenced by G4RunMessenger(), GetCurrentValue(), SetNewValue(), and ~G4RunMessenger().
|
private |
Definition at line 102 of file G4RunMessenger.hh.
Referenced by G4RunMessenger(), and ~G4RunMessenger().
|
private |
Definition at line 108 of file G4RunMessenger.hh.
Referenced by G4RunMessenger(), SetNewValue(), and ~G4RunMessenger().
|
private |
Definition at line 110 of file G4RunMessenger.hh.
Referenced by G4RunMessenger(), SetNewValue(), and ~G4RunMessenger().
|
private |
Definition at line 80 of file G4RunMessenger.hh.
Referenced by G4RunMessenger(), and ~G4RunMessenger().
|
private |
Definition at line 77 of file G4RunMessenger.hh.
Referenced by GetCurrentValue(), and SetNewValue().
|
private |
Definition at line 109 of file G4RunMessenger.hh.
Referenced by G4RunMessenger(), SetNewValue(), and ~G4RunMessenger().
|
private |
Definition at line 107 of file G4RunMessenger.hh.
Referenced by G4RunMessenger(), SetNewValue(), and ~G4RunMessenger().
|
private |
Definition at line 106 of file G4RunMessenger.hh.
Referenced by G4RunMessenger(), SetNewValue(), and ~G4RunMessenger().
|
private |
Definition at line 105 of file G4RunMessenger.hh.
Referenced by G4RunMessenger(), SetNewValue(), and ~G4RunMessenger().
|
private |
Definition at line 103 of file G4RunMessenger.hh.
Referenced by G4RunMessenger(), SetNewValue(), and ~G4RunMessenger().
|
private |
Definition at line 82 of file G4RunMessenger.hh.
Referenced by G4RunMessenger(), GetCurrentValue(), SetNewValue(), and ~G4RunMessenger().