50 : fFieldSetup(fieldSetup)
55 if (fFieldSetup->GetLogicalVolume() !=
nullptr) {
56 directoryName.append(fFieldSetup->GetLogicalVolume()->GetName());
57 directoryName.append(
"/");
60 G4String commandName = std::move(directoryName);
61 commandName.append(
"update");
64 fUpdateCmd->AvailableForStates(
86 if (command == fUpdateCmd) {
88 fFieldSetup->Update();
G4GLOB_DLL std::ostream G4cout
~G4FieldSetupMessenger() override
Destructor.
G4FieldSetupMessenger(G4FieldSetup *fieldSetup)
Standard constructor.
void SetNewValue(G4UIcommand *command, G4String newValues) override
Apply command to the associated object.
The class for constructing magnetic, electromagnetic and gravity fields which strength is defined via...
void SetGuidance(const char *aGuidance)