Geant4-11
|
#include <G4MoleculeGunMessenger.hh>
Public Member Functions | |
G4bool | CommandsShouldBeInMaster () const |
G4MoleculeShootMessenger (const G4String &name, G4MoleculeGunMessenger *, G4shared_ptr< G4MoleculeShoot >) | |
virtual G4String | GetCurrentValue (G4UIcommand *command) |
G4shared_ptr< G4MoleculeShoot > & | GetShoot () |
G4bool | operator!= (const G4UImessenger &messenger) const |
G4bool | operator== (const G4UImessenger &messenger) const |
virtual void | SetNewValue (G4UIcommand *command, G4String newValue) |
virtual | ~G4MoleculeShootMessenger () |
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 |
G4UIcmdWithAnInteger * | fpGunN |
G4UIcmdWith3VectorAndUnit * | fpGunPosition |
G4UIcmdWith3VectorAndUnit * | fpGunRdnmPosition |
G4UIcmdWithAString * | fpGunSpecies |
G4UIcmdWithADoubleAndUnit * | fpGunTime |
G4UIcmdWithAString * | fpGunType |
G4shared_ptr< G4MoleculeShoot > | fpShoot |
Definition at line 64 of file G4MoleculeGunMessenger.hh.
G4MoleculeShootMessenger::G4MoleculeShootMessenger | ( | const G4String & | name, |
G4MoleculeGunMessenger * | , | ||
G4shared_ptr< G4MoleculeShoot > | shoot | ||
) |
Definition at line 98 of file G4MoleculeGunMessenger.cc.
References G4UImessenger::CreateDirectory(), fpGunN, fpGunPosition, fpGunRdnmPosition, fpGunSpecies, fpGunTime, fpGunType, and G4InuclParticleNames::name().
|
virtual |
Definition at line 137 of file G4MoleculeGunMessenger.cc.
References fpGunN, fpGunPosition, fpGunSpecies, and fpGunTime.
|
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(), 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 183 of file G4MoleculeGunMessenger.cc.
References G4UIcommand::ConvertToString(), G4UIcmdWithADoubleAndUnit::ConvertToStringWithBestUnit(), G4UIcmdWith3VectorAndUnit::ConvertToStringWithBestUnit(), fpGunN, fpGunPosition, fpGunRdnmPosition, fpGunSpecies, fpGunTime, and fpShoot.
|
inline |
Definition at line 74 of file G4MoleculeGunMessenger.hh.
References fpShoot.
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 147 of file G4MoleculeGunMessenger.cc.
References fpGunN, fpGunPosition, fpGunRdnmPosition, fpGunSpecies, fpGunTime, fpGunType, fpShoot, G4UIcmdWith3VectorAndUnit::GetNew3VectorValue(), G4UIcmdWithADoubleAndUnit::GetNewDoubleValue(), and G4UIcmdWithAnInteger::GetNewIntValue().
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 G4RunMessenger::SetNewValue().
|
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().
|
protectedinherited |
Definition at line 104 of file G4UImessenger.hh.
Referenced by G4UImessenger::CommandsShouldBeInMaster(), and G4GeneralParticleSourceMessenger::G4GeneralParticleSourceMessenger().
|
protected |
Definition at line 83 of file G4MoleculeGunMessenger.hh.
Referenced by G4MoleculeShootMessenger(), GetCurrentValue(), SetNewValue(), and ~G4MoleculeShootMessenger().
|
protected |
Definition at line 80 of file G4MoleculeGunMessenger.hh.
Referenced by G4MoleculeShootMessenger(), GetCurrentValue(), SetNewValue(), and ~G4MoleculeShootMessenger().
|
protected |
Definition at line 81 of file G4MoleculeGunMessenger.hh.
Referenced by G4MoleculeShootMessenger(), GetCurrentValue(), and SetNewValue().
|
protected |
Definition at line 79 of file G4MoleculeGunMessenger.hh.
Referenced by G4MoleculeShootMessenger(), GetCurrentValue(), SetNewValue(), and ~G4MoleculeShootMessenger().
|
protected |
Definition at line 82 of file G4MoleculeGunMessenger.hh.
Referenced by G4MoleculeShootMessenger(), GetCurrentValue(), SetNewValue(), and ~G4MoleculeShootMessenger().
|
protected |
Definition at line 84 of file G4MoleculeGunMessenger.hh.
Referenced by G4MoleculeShootMessenger(), and SetNewValue().
|
protected |
Definition at line 85 of file G4MoleculeGunMessenger.hh.
Referenced by GetCurrentValue(), GetShoot(), and SetNewValue().