Import Geant4 11.3.0 source tree

This commit is contained in:
Gabriele Cosmo
2024-12-06 11:11:40 +01:00
parent e58e650b32
commit 32390e802b
1984 changed files with 98713 additions and 83996 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ class G4UImanager;
class G4UIbridge
{
public:
G4UIbridge(G4UImanager* localUI, G4String dir);
G4UIbridge(G4UImanager* localUI, const G4String& dir);
~G4UIbridge() = default;
G4int ApplyCommand(const G4String& aCmd);
@@ -46,7 +46,7 @@ class G4UIcmdWith3VectorAndUnit : public G4UIcommand
// and the pointer to the messenger must be given
G4UIcmdWith3VectorAndUnit(const char* theCommandPath, G4UImessenger* theMessenger);
G4int DoIt(G4String parameterList) override;
G4int DoIt(const G4String& parameterList) override;
// Convert a 3 vector value to a string of digits and unit. Best unit is
// chosen from the unit category of default unit (in case SetDefaultUnit()
@@ -45,7 +45,7 @@ class G4UIcmdWithADoubleAndUnit : public G4UIcommand
// and the pointer to the messenger must be given
G4UIcmdWithADoubleAndUnit(const char* theCommandPath, G4UImessenger* theMessenger);
G4int DoIt(G4String parameterList) override;
G4int DoIt(const G4String& parameterList) override;
// Convert a double value to a string of digits and unit. Best unit is
// chosen from the unit category of default unit (in case SetDefaultUnit()
+1 -1
View File
@@ -65,7 +65,7 @@ class G4UIcommand
G4bool operator==(const G4UIcommand& right) const;
G4bool operator!=(const G4UIcommand& right) const;
virtual G4int DoIt(G4String parameterList);
virtual G4int DoIt(const G4String& parameterList);
G4String GetCurrentValue();
+1 -1
View File
@@ -79,7 +79,7 @@ class G4UImessenger
G4int StoI(const G4String& s);
G4long StoL(const G4String& s);
G4double StoD(const G4String& s);
G4bool StoB(G4String s);
G4bool StoB(const G4String& s);
void AddUIcommand(G4UIcommand* newCommand);