74 std::istringstream iss (newValue);
82 if(shootType.empty() || shootType.empty())
122 tmp +=
"/rndmPosition";
148 fpShoot->fMoleculeName = newValue;
162 else if (command ==
fpGunN)
192 if(
fpShoot->fBoxSize !=
nullptr)
CLHEP::Hep3Vector G4ThreeVector
G4UIcmdWithAString * fpGunNewGunType
void SetNewValue(G4UIcommand *command, G4String newValue) override
G4String GetCurrentValue(G4UIcommand *command) override
G4MoleculeGunMessenger(G4MoleculeGun *)
~G4MoleculeGunMessenger() override
G4MoleculeShootMessenger * CreateNewType(const G4String &name)
G4MoleculeGun * fpMoleculeGun
G4UIcmdWithAString * fpGunType
G4UIcmdWithADoubleAndUnit * fpGunTime
G4MoleculeShootMessenger(const G4String &name, G4MoleculeGunMessenger *, G4shared_ptr< G4MoleculeShoot >)
G4UIcmdWith3VectorAndUnit * fpGunRdnmPosition
G4UIcmdWith3VectorAndUnit * fpGunPosition
G4shared_ptr< G4MoleculeShoot > fpShoot
void SetNewValue(G4UIcommand *command, G4String newValue) override
G4UIcmdWithAString * fpGunSpecies
G4String GetCurrentValue(G4UIcommand *command) override
G4UIcmdWithAnInteger * fpGunN
~G4MoleculeShootMessenger() override
G4String ConvertToStringWithBestUnit(const G4ThreeVector &vec)
static G4ThreeVector GetNew3VectorValue(const char *paramString)
static G4double GetNewDoubleValue(const char *paramString)
G4String ConvertToStringWithBestUnit(G4double val)
static G4int GetNewIntValue(const char *paramString)
static G4String ConvertToString(G4bool boolVal)
void CreateDirectory(const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true)