Geant4.10
|
#include <CexmcParticleGunMessenger.hh>
Public Member Functions | |
CexmcParticleGunMessenger (CexmcParticleGun *particleGun) | |
~CexmcParticleGunMessenger () | |
void | SetNewValue (G4UIcommand *cmd, G4String value) |
![]() | |
G4UImessenger () | |
G4UImessenger (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true) | |
virtual | ~G4UImessenger () |
virtual G4String | GetCurrentValue (G4UIcommand *command) |
G4bool | operator== (const G4UImessenger &messenger) const |
Additional Inherited Members | |
![]() | |
G4String | ItoS (G4int i) |
G4String | DtoS (G4double a) |
G4String | BtoS (G4bool b) |
G4int | StoI (G4String s) |
G4double | StoD (G4String s) |
G4bool | StoB (G4String s) |
void | AddUIcommand (G4UIcommand *newCommand) |
void | CreateDirectory (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true) |
template<typename T > | |
T * | CreateCommand (const G4String &cname, const G4String &dsc) |
![]() | |
G4UIdirectory * | baseDir |
G4String | baseDirName |
Definition at line 57 of file CexmcParticleGunMessenger.hh.
|
explicit |
Definition at line 57 of file CexmcParticleGunMessenger.cc.
References G4UIcommand::AvailableForStates(), G4State_Idle, G4State_PreInit, CexmcMessenger::gunDirName, G4UIcmdWithAString::SetCandidates(), G4UIcmdWithADoubleAndUnit::SetDefaultUnit(), G4UIcmdWith3VectorAndUnit::SetDefaultUnit(), G4UIcmdWithAString::SetDefaultValue(), G4UIcommand::SetGuidance(), G4UIcmdWithAString::SetParameterName(), G4UIcmdWith3Vector::SetParameterName(), G4UIcmdWithADoubleAndUnit::SetParameterName(), G4UIcmdWith3VectorAndUnit::SetParameterName(), G4UIcommand::SetRange(), G4UIcmdWithADoubleAndUnit::SetUnitCandidates(), and G4UIcmdWith3VectorAndUnit::SetUnitCandidates().
CexmcParticleGunMessenger::~CexmcParticleGunMessenger | ( | ) |
Definition at line 101 of file CexmcParticleGunMessenger.cc.
|
virtual |
Reimplemented from G4UImessenger.
Definition at line 110 of file CexmcParticleGunMessenger.cc.
References CexmcRunManager::BeamParticleChangeHook(), CexmcWeirdException, G4UIcmdWith3Vector::GetNew3VectorValue(), G4UIcmdWith3VectorAndUnit::GetNew3VectorValue(), G4UIcmdWithADoubleAndUnit::GetNewDoubleValue(), G4ParticleTable::GetParticleTable(), G4RunManager::GetRunManager(), CexmcParticleGun::SetBeamParticle(), CexmcParticleGun::SetOrigDirection(), CexmcParticleGun::SetOrigMomentumAmp(), and CexmcParticleGun::SetOrigPosition().