Geant4
10.00.p01
|
#include <CexmcParticleGunMessenger.hh>
Public Member Functions | |
CexmcParticleGunMessenger (CexmcParticleGun *particleGun) | |
~CexmcParticleGunMessenger () | |
void | SetNewValue (G4UIcommand *cmd, G4String value) |
Public Member Functions inherited from G4UImessenger | |
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 | |
Protected Member Functions inherited from G4UImessenger | |
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) |
Protected Attributes inherited from G4UImessenger | |
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(), setOrigDirection, setOrigMomentumAmp, setOrigPosition, G4UIcmdWithAString::SetParameterName(), G4UIcmdWith3Vector::SetParameterName(), G4UIcmdWithADoubleAndUnit::SetParameterName(), G4UIcmdWith3VectorAndUnit::SetParameterName(), setParticle, G4UIcommand::SetRange(), G4UIcmdWithADoubleAndUnit::SetUnitCandidates(), and G4UIcmdWith3VectorAndUnit::SetUnitCandidates().
CexmcParticleGunMessenger::~CexmcParticleGunMessenger | ( | ) |
Definition at line 101 of file CexmcParticleGunMessenger.cc.
References setOrigDirection, setOrigMomentumAmp, setOrigPosition, and setParticle.
|
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(), particleGun, CexmcParticleGun::SetBeamParticle(), setOrigDirection, CexmcParticleGun::SetOrigDirection(), setOrigMomentumAmp, CexmcParticleGun::SetOrigMomentumAmp(), setOrigPosition, CexmcParticleGun::SetOrigPosition(), and setParticle.
|
private |
Definition at line 68 of file CexmcParticleGunMessenger.hh.
Referenced by SetNewValue().
|
private |
Definition at line 74 of file CexmcParticleGunMessenger.hh.
Referenced by CexmcParticleGunMessenger(), SetNewValue(), and ~CexmcParticleGunMessenger().
|
private |
Definition at line 76 of file CexmcParticleGunMessenger.hh.
Referenced by CexmcParticleGunMessenger(), SetNewValue(), and ~CexmcParticleGunMessenger().
|
private |
Definition at line 72 of file CexmcParticleGunMessenger.hh.
Referenced by CexmcParticleGunMessenger(), SetNewValue(), and ~CexmcParticleGunMessenger().
|
private |
Definition at line 70 of file CexmcParticleGunMessenger.hh.
Referenced by CexmcParticleGunMessenger(), SetNewValue(), and ~CexmcParticleGunMessenger().