Geant4
10.02
|
#include <G4ParticlePropertyMessenger.hh>
Public Member Functions | |
G4ParticlePropertyMessenger (G4ParticleTable *pTable=0) | |
virtual | ~G4ParticlePropertyMessenger () |
virtual void | SetNewValue (G4UIcommand *command, G4String newValues) |
virtual G4String | GetCurrentValue (G4UIcommand *command) |
Public Member Functions inherited from G4UImessenger | |
G4UImessenger () | |
G4UImessenger (const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true) | |
virtual | ~G4UImessenger () |
G4bool | operator== (const G4UImessenger &messenger) const |
G4bool | CommandsShouldBeInMaster () const |
Private Member Functions | |
G4ParticlePropertyMessenger (const G4ParticlePropertyMessenger &) | |
G4ParticleDefinition * | SetCurrentParticle () |
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 |
G4bool | commandsShouldBeInMaster |
Definition at line 69 of file G4ParticlePropertyMessenger.hh.
G4ParticlePropertyMessenger::G4ParticlePropertyMessenger | ( | G4ParticleTable * | pTable = 0 | ) |
Definition at line 59 of file G4ParticlePropertyMessenger.cc.
References G4UIcommand::AvailableForStates(), dumpCmd, fDecayTableMessenger, G4State_GeomClosed, G4State_Idle, G4State_PreInit, G4ParticleTable::GetParticleTable(), lifetimeCmd, G4UIcmdWithADoubleAndUnit::SetDefaultUnit(), G4UIcmdWithAnInteger::SetDefaultValue(), G4UIcmdWithADoubleAndUnit::SetDefaultValue(), G4UIcommand::SetGuidance(), G4UIcmdWithAnInteger::SetParameterName(), G4UIcmdWithABool::SetParameterName(), G4UIcmdWithADoubleAndUnit::SetParameterName(), G4UIcommand::SetRange(), stableCmd, theParticleTable, thisDirectory, and verboseCmd.
|
virtual |
Definition at line 108 of file G4ParticlePropertyMessenger.cc.
References dumpCmd, fDecayTableMessenger, lifetimeCmd, stableCmd, thisDirectory, and verboseCmd.
|
inlineprivate |
Definition at line 80 of file G4ParticlePropertyMessenger.hh.
|
virtual |
Reimplemented from G4UImessenger.
Definition at line 170 of file G4ParticlePropertyMessenger.cc.
References G4UIcommand::ConvertToString(), currentParticle, G4ParticleDefinition::GetPDGLifeTime(), G4ParticleDefinition::GetPDGStable(), lifetimeCmd, SetCurrentParticle(), stableCmd, and verboseCmd.
|
private |
Definition at line 151 of file G4ParticlePropertyMessenger.cc.
References currentParticle, G4ParticleTable::FindParticle(), G4UImanager::GetCurrentStringValue(), G4ParticleDefinition::GetParticleName(), G4UImanager::GetUIpointer(), and theParticleTable.
Referenced by GetCurrentValue(), and SetNewValue().
|
virtual |
Reimplemented from G4UImessenger.
Definition at line 120 of file G4ParticlePropertyMessenger.cc.
References currentParticle, dumpCmd, G4ParticleDefinition::DumpTable(), G4cout, G4endl, G4UIcmdWithABool::GetNewBoolValue(), G4UIcmdWithADoubleAndUnit::GetNewDoubleValue(), G4UIcmdWithAnInteger::GetNewIntValue(), G4ParticleDefinition::GetPDGLifeTime(), G4ParticleDefinition::GetPDGMass(), lifetimeCmd, SetCurrentParticle(), G4ParticleDefinition::SetPDGLifeTime(), G4ParticleDefinition::SetPDGStable(), G4ParticleDefinition::SetVerboseLevel(), stableCmd, and verboseCmd.
|
private |
Definition at line 85 of file G4ParticlePropertyMessenger.hh.
Referenced by GetCurrentValue(), SetCurrentParticle(), and SetNewValue().
|
private |
Definition at line 88 of file G4ParticlePropertyMessenger.hh.
Referenced by G4ParticlePropertyMessenger(), SetNewValue(), and ~G4ParticlePropertyMessenger().
|
private |
Definition at line 93 of file G4ParticlePropertyMessenger.hh.
Referenced by G4ParticlePropertyMessenger(), and ~G4ParticlePropertyMessenger().
|
private |
Definition at line 91 of file G4ParticlePropertyMessenger.hh.
Referenced by G4ParticlePropertyMessenger(), GetCurrentValue(), SetNewValue(), and ~G4ParticlePropertyMessenger().
|
private |
Definition at line 89 of file G4ParticlePropertyMessenger.hh.
Referenced by G4ParticlePropertyMessenger(), GetCurrentValue(), SetNewValue(), and ~G4ParticlePropertyMessenger().
|
private |
Definition at line 84 of file G4ParticlePropertyMessenger.hh.
Referenced by G4ParticlePropertyMessenger(), and SetCurrentParticle().
|
private |
Definition at line 87 of file G4ParticlePropertyMessenger.hh.
Referenced by G4ParticlePropertyMessenger(), and ~G4ParticlePropertyMessenger().
|
private |
Definition at line 90 of file G4ParticlePropertyMessenger.hh.
Referenced by G4ParticlePropertyMessenger(), GetCurrentValue(), SetNewValue(), and ~G4ParticlePropertyMessenger().