ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/event/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) |
G4long | StoL (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 53 of file G4ParticleGunMessenger.hh.
View newest version in sPHENIX GitHub at line 53 of file G4ParticleGunMessenger.hh
G4ParticleGunMessenger::G4ParticleGunMessenger | ( | G4ParticleGun * | fPtclGun | ) |
Definition at line 46 of file G4ParticleGunMessenger.cc.
View newest version in sPHENIX GitHub at line 46 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(), G4UIparameter::SetParameterCandidates(), 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 186 of file G4ParticleGunMessenger.cc.
View newest version in sPHENIX GitHub at line 186 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 263 of file G4ParticleGunMessenger.cc.
View newest version in sPHENIX GitHub at line 263 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(), mom, momAmpCmd, momCmd, numberCmd, particleCmd, polCmd, positionCmd, and timeCmd.
Definition at line 345 of file G4ParticleGunMessenger.cc.
View newest version in sPHENIX GitHub at line 345 of file G4ParticleGunMessenger.cc
References G4UIcommand::CommandFailed(), eplus, fAtomicMass, fAtomicNumber, fIonCharge, fIonExciteEnergy, fIonFloatingLevelBase, fParticleGun, G4IonTable::GetIon(), G4IonTable::GetIonTable(), ionCmd, G4String::isNull(), keV, G4ParticleGun::SetParticleCharge(), G4ParticleGun::SetParticleDefinition(), G4UImessenger::StoD(), and G4UImessenger::StoI().
Referenced by SetNewValue().
Definition at line 314 of file G4ParticleGunMessenger.cc.
View newest version in sPHENIX GitHub at line 314 of file G4ParticleGunMessenger.cc
References G4UIcommand::CommandFailed(), eplus, fAtomicMass, fAtomicNumber, fIonCharge, fIonEnergyLevel, fParticleGun, G4IonTable::GetIon(), G4IonTable::GetIonTable(), ionLvlCmd, G4String::isNull(), G4ParticleGun::SetParticleCharge(), G4ParticleGun::SetParticleDefinition(), and G4UImessenger::StoI().
Referenced by SetNewValue().
|
virtual |
Reimplemented from G4UImessenger.
Definition at line 203 of file G4ParticleGunMessenger.cc.
View newest version in sPHENIX GitHub at line 203 of file G4ParticleGunMessenger.cc
References G4UIcommand::CommandFailed(), directionCmd, G4ParticleTable::DumpTable(), energyCmd, G4ParticleTable::FindParticle(), fParticleGun, fShootIon, G4Exception(), G4UIcmdWith3Vector::GetNew3VectorValue(), G4UIcmdWith3VectorAndUnit::GetNew3VectorValue(), G4UIcmdWithADoubleAndUnit::GetNewDoubleValue(), G4UIcmdWithAnInteger::GetNewIntValue(), ionCmd, IonCommand(), IonLevelCommand(), ionLvlCmd, JustWarning, 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 75 of file G4ParticleGunMessenger.hh.
View newest version in sPHENIX GitHub at line 75 of file G4ParticleGunMessenger.hh
Referenced by G4ParticleGunMessenger(), GetCurrentValue(), SetNewValue(), and ~G4ParticleGunMessenger().
|
private |
Definition at line 76 of file G4ParticleGunMessenger.hh.
View newest version in sPHENIX GitHub at line 76 of file G4ParticleGunMessenger.hh
Referenced by G4ParticleGunMessenger(), GetCurrentValue(), SetNewValue(), and ~G4ParticleGunMessenger().
|
private |
Definition at line 90 of file G4ParticleGunMessenger.hh.
View newest version in sPHENIX GitHub at line 90 of file G4ParticleGunMessenger.hh
Referenced by GetCurrentValue(), IonCommand(), and IonLevelCommand().
|
private |
Definition at line 89 of file G4ParticleGunMessenger.hh.
View newest version in sPHENIX GitHub at line 89 of file G4ParticleGunMessenger.hh
Referenced by GetCurrentValue(), IonCommand(), and IonLevelCommand().
|
private |
Definition at line 91 of file G4ParticleGunMessenger.hh.
View newest version in sPHENIX GitHub at line 91 of file G4ParticleGunMessenger.hh
Referenced by GetCurrentValue(), IonCommand(), and IonLevelCommand().
|
private |
Definition at line 94 of file G4ParticleGunMessenger.hh.
View newest version in sPHENIX GitHub at line 94 of file G4ParticleGunMessenger.hh
Referenced by IonLevelCommand().
|
private |
Definition at line 92 of file G4ParticleGunMessenger.hh.
View newest version in sPHENIX GitHub at line 92 of file G4ParticleGunMessenger.hh
Referenced by IonCommand().
|
private |
Definition at line 93 of file G4ParticleGunMessenger.hh.
View newest version in sPHENIX GitHub at line 93 of file G4ParticleGunMessenger.hh
Referenced by IonCommand().
|
private |
Definition at line 68 of file G4ParticleGunMessenger.hh.
View newest version in sPHENIX GitHub at line 68 of file G4ParticleGunMessenger.hh
Referenced by G4ParticleGunMessenger(), GetCurrentValue(), IonCommand(), IonLevelCommand(), and SetNewValue().
|
private |
Definition at line 88 of file G4ParticleGunMessenger.hh.
View newest version in sPHENIX GitHub at line 88 of file G4ParticleGunMessenger.hh
Referenced by GetCurrentValue(), and SetNewValue().
|
private |
Definition at line 72 of file G4ParticleGunMessenger.hh.
View newest version in sPHENIX GitHub at line 72 of file G4ParticleGunMessenger.hh
Referenced by G4ParticleGunMessenger(), and ~G4ParticleGunMessenger().
|
private |
Definition at line 84 of file G4ParticleGunMessenger.hh.
View newest version in sPHENIX GitHub at line 84 of file G4ParticleGunMessenger.hh
Referenced by G4ParticleGunMessenger(), GetCurrentValue(), IonCommand(), SetNewValue(), and ~G4ParticleGunMessenger().
|
private |
Definition at line 85 of file G4ParticleGunMessenger.hh.
View newest version in sPHENIX GitHub at line 85 of file G4ParticleGunMessenger.hh
Referenced by G4ParticleGunMessenger(), IonLevelCommand(), SetNewValue(), and ~G4ParticleGunMessenger().
|
private |
Definition at line 73 of file G4ParticleGunMessenger.hh.
View newest version in sPHENIX GitHub at line 73 of file G4ParticleGunMessenger.hh
Referenced by G4ParticleGunMessenger(), SetNewValue(), and ~G4ParticleGunMessenger().
|
private |
Definition at line 77 of file G4ParticleGunMessenger.hh.
View newest version in sPHENIX GitHub at line 77 of file G4ParticleGunMessenger.hh
Referenced by G4ParticleGunMessenger(), GetCurrentValue(), SetNewValue(), and ~G4ParticleGunMessenger().
|
private |
Definition at line 78 of file G4ParticleGunMessenger.hh.
View newest version in sPHENIX GitHub at line 78 of file G4ParticleGunMessenger.hh
Referenced by G4ParticleGunMessenger(), GetCurrentValue(), SetNewValue(), and ~G4ParticleGunMessenger().
|
private |
Definition at line 82 of file G4ParticleGunMessenger.hh.
View newest version in sPHENIX GitHub at line 82 of file G4ParticleGunMessenger.hh
Referenced by G4ParticleGunMessenger(), GetCurrentValue(), SetNewValue(), and ~G4ParticleGunMessenger().
|
private |
Definition at line 74 of file G4ParticleGunMessenger.hh.
View newest version in sPHENIX GitHub at line 74 of file G4ParticleGunMessenger.hh
Referenced by G4ParticleGunMessenger(), GetCurrentValue(), SetNewValue(), and ~G4ParticleGunMessenger().
|
private |
Definition at line 69 of file G4ParticleGunMessenger.hh.
View newest version in sPHENIX GitHub at line 69 of file G4ParticleGunMessenger.hh
Referenced by G4ParticleGunMessenger(), and SetNewValue().
|
private |
Definition at line 81 of file G4ParticleGunMessenger.hh.
View newest version in sPHENIX GitHub at line 81 of file G4ParticleGunMessenger.hh
Referenced by G4ParticleGunMessenger(), GetCurrentValue(), SetNewValue(), and ~G4ParticleGunMessenger().
|
private |
Definition at line 79 of file G4ParticleGunMessenger.hh.
View newest version in sPHENIX GitHub at line 79 of file G4ParticleGunMessenger.hh
Referenced by G4ParticleGunMessenger(), GetCurrentValue(), SetNewValue(), and ~G4ParticleGunMessenger().
|
private |
Definition at line 80 of file G4ParticleGunMessenger.hh.
View newest version in sPHENIX GitHub at line 80 of file G4ParticleGunMessenger.hh
Referenced by G4ParticleGunMessenger(), GetCurrentValue(), SetNewValue(), and ~G4ParticleGunMessenger().