Geant4
10.02.p02
|
#include <G4ParticleGunMessenger.hh>
Public Member Functions | |
G4ParticleGunMessenger (G4ParticleGun *fPtclGun) | |
~G4ParticleGunMessenger () | |
void | SetNewValue (G4UIcommand *command, G4String newValues) |
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 | |
void | IonCommand (G4String newValues) |
void | IonLevelCommand (G4String newValues) |
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 54 of file G4ParticleGunMessenger.hh.
G4ParticleGunMessenger::G4ParticleGunMessenger | ( | G4ParticleGun * | fPtclGun | ) |
Definition at line 47 of file G4ParticleGunMessenger.cc.
References cm, directionCmd, energyCmd, fParticleGun, G4Geantino::Geantino(), G4ParticleDefinition::GetDecayTable(), G4ParticleTable::GetIterator(), G4ParticleDefinition::GetParticleName(), G4ParticleTable::GetParticleTable(), GeV, gunDirectory, ionCmd, ionLvlCmd, G4ParticleDefinition::IsShortLived(), listCmd, momAmpCmd, momCmd, ns, numberCmd, particleCmd, particleTable, polCmd, positionCmd, G4ParticleTableIterator< K, V >::reset(), G4UIcmdWithAString::SetCandidates(), G4UIcmdWithADoubleAndUnit::SetDefaultUnit(), G4UIcmdWith3VectorAndUnit::SetDefaultUnit(), G4UIcmdWithAString::SetDefaultValue(), G4UIparameter::SetDefaultValue(), G4UIcommand::SetGuidance(), G4UIcommand::SetParameter(), G4UIcmdWithAString::SetParameterName(), G4UIcmdWithAnInteger::SetParameterName(), G4UIcmdWith3Vector::SetParameterName(), G4UIcmdWithADoubleAndUnit::SetParameterName(), G4UIcmdWith3VectorAndUnit::SetParameterName(), G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), G4VPrimaryGenerator::SetParticlePosition(), G4VPrimaryGenerator::SetParticleTime(), G4UIcommand::SetRange(), timeCmd, and G4ParticleTableIterator< K, V >::value().
G4ParticleGunMessenger::~G4ParticleGunMessenger | ( | ) |
Definition at line 179 of file G4ParticleGunMessenger.cc.
References directionCmd, energyCmd, gunDirectory, ionCmd, ionLvlCmd, listCmd, momAmpCmd, momCmd, numberCmd, particleCmd, polCmd, positionCmd, and timeCmd.
|
virtual |
Reimplemented from G4UImessenger.
Definition at line 232 of file G4ParticleGunMessenger.cc.
References G4UIcommand::ConvertToString(), directionCmd, energyCmd, fAtomicMass, fAtomicNumber, fIonCharge, fParticleGun, fShootIon, G4cerr, G4endl, G4ParticleGun::GetNumberOfParticles(), G4ParticleGun::GetParticleDefinition(), G4ParticleGun::GetParticleEnergy(), G4ParticleGun::GetParticleMomentum(), G4ParticleGun::GetParticleMomentumDirection(), G4ParticleDefinition::GetParticleName(), G4ParticleGun::GetParticlePolarization(), G4VPrimaryGenerator::GetParticlePosition(), G4VPrimaryGenerator::GetParticleTime(), ionCmd, G4UImessenger::ItoS(), momAmpCmd, momCmd, numberCmd, particleCmd, polCmd, positionCmd, and timeCmd.
|
private |
Definition at line 317 of file G4ParticleGunMessenger.cc.
References eplus, fAtomicMass, fAtomicNumber, fIonCharge, fIonExciteEnergy, fParticleGun, fShootIon, G4cout, G4endl, G4IonTable::GetIon(), G4IonTable::GetIonTable(), G4String::isNull(), keV, G4ParticleGun::SetParticleCharge(), G4ParticleGun::SetParticleDefinition(), G4UImessenger::StoD(), and G4UImessenger::StoI().
Referenced by SetNewValue().
|
private |
Definition at line 283 of file G4ParticleGunMessenger.cc.
References eplus, fAtomicMass, fAtomicNumber, fIonCharge, fIonEnergyLevel, fParticleGun, fShootIon, G4cout, G4endl, G4IonTable::GetIon(), G4IonTable::GetIonTable(), G4String::isNull(), G4ParticleGun::SetParticleCharge(), G4ParticleGun::SetParticleDefinition(), and G4UImessenger::StoI().
Referenced by SetNewValue().
|
virtual |
Reimplemented from G4UImessenger.
Definition at line 196 of file G4ParticleGunMessenger.cc.
References directionCmd, G4ParticleTable::DumpTable(), energyCmd, G4ParticleTable::FindParticle(), fParticleGun, fShootIon, G4UIcmdWith3Vector::GetNew3VectorValue(), G4UIcmdWith3VectorAndUnit::GetNew3VectorValue(), G4UIcmdWithADoubleAndUnit::GetNewDoubleValue(), G4UIcmdWithAnInteger::GetNewIntValue(), ionCmd, IonCommand(), IonLevelCommand(), ionLvlCmd, listCmd, momAmpCmd, momCmd, numberCmd, particleCmd, particleTable, polCmd, positionCmd, G4ParticleGun::SetNumberOfParticles(), G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentum(), G4ParticleGun::SetParticleMomentumDirection(), G4ParticleGun::SetParticlePolarization(), G4VPrimaryGenerator::SetParticlePosition(), G4VPrimaryGenerator::SetParticleTime(), and timeCmd.
|
private |
Definition at line 76 of file G4ParticleGunMessenger.hh.
Referenced by G4ParticleGunMessenger(), GetCurrentValue(), SetNewValue(), and ~G4ParticleGunMessenger().
|
private |
Definition at line 77 of file G4ParticleGunMessenger.hh.
Referenced by G4ParticleGunMessenger(), GetCurrentValue(), SetNewValue(), and ~G4ParticleGunMessenger().
|
private |
Definition at line 91 of file G4ParticleGunMessenger.hh.
Referenced by GetCurrentValue(), IonCommand(), and IonLevelCommand().
|
private |
Definition at line 90 of file G4ParticleGunMessenger.hh.
Referenced by GetCurrentValue(), IonCommand(), and IonLevelCommand().
|
private |
Definition at line 92 of file G4ParticleGunMessenger.hh.
Referenced by GetCurrentValue(), IonCommand(), and IonLevelCommand().
|
private |
Definition at line 94 of file G4ParticleGunMessenger.hh.
Referenced by IonLevelCommand().
|
private |
Definition at line 93 of file G4ParticleGunMessenger.hh.
Referenced by IonCommand().
|
private |
Definition at line 69 of file G4ParticleGunMessenger.hh.
Referenced by G4ParticleGunMessenger(), GetCurrentValue(), IonCommand(), IonLevelCommand(), and SetNewValue().
|
private |
Definition at line 89 of file G4ParticleGunMessenger.hh.
Referenced by GetCurrentValue(), IonCommand(), IonLevelCommand(), and SetNewValue().
|
private |
Definition at line 73 of file G4ParticleGunMessenger.hh.
Referenced by G4ParticleGunMessenger(), and ~G4ParticleGunMessenger().
|
private |
Definition at line 85 of file G4ParticleGunMessenger.hh.
Referenced by G4ParticleGunMessenger(), GetCurrentValue(), SetNewValue(), and ~G4ParticleGunMessenger().
|
private |
Definition at line 86 of file G4ParticleGunMessenger.hh.
Referenced by G4ParticleGunMessenger(), SetNewValue(), and ~G4ParticleGunMessenger().
|
private |
Definition at line 74 of file G4ParticleGunMessenger.hh.
Referenced by G4ParticleGunMessenger(), SetNewValue(), and ~G4ParticleGunMessenger().
|
private |
Definition at line 78 of file G4ParticleGunMessenger.hh.
Referenced by G4ParticleGunMessenger(), GetCurrentValue(), SetNewValue(), and ~G4ParticleGunMessenger().
|
private |
Definition at line 79 of file G4ParticleGunMessenger.hh.
Referenced by G4ParticleGunMessenger(), GetCurrentValue(), SetNewValue(), and ~G4ParticleGunMessenger().
|
private |
Definition at line 83 of file G4ParticleGunMessenger.hh.
Referenced by G4ParticleGunMessenger(), GetCurrentValue(), SetNewValue(), and ~G4ParticleGunMessenger().
|
private |
Definition at line 75 of file G4ParticleGunMessenger.hh.
Referenced by G4ParticleGunMessenger(), GetCurrentValue(), SetNewValue(), and ~G4ParticleGunMessenger().
|
private |
Definition at line 70 of file G4ParticleGunMessenger.hh.
Referenced by G4ParticleGunMessenger(), and SetNewValue().
|
private |
Definition at line 82 of file G4ParticleGunMessenger.hh.
Referenced by G4ParticleGunMessenger(), GetCurrentValue(), SetNewValue(), and ~G4ParticleGunMessenger().
|
private |
Definition at line 80 of file G4ParticleGunMessenger.hh.
Referenced by G4ParticleGunMessenger(), GetCurrentValue(), SetNewValue(), and ~G4ParticleGunMessenger().
|
private |
Definition at line 81 of file G4ParticleGunMessenger.hh.
Referenced by G4ParticleGunMessenger(), GetCurrentValue(), SetNewValue(), and ~G4ParticleGunMessenger().