Import Geant4 10.5.1 source tree

This commit is contained in:
Gabriele Cosmo
2019-04-17 10:39:02 +02:00
parent a7fdc52004
commit 28a70706e0
661 changed files with 55791 additions and 106984 deletions
+8 -2
View File
@@ -61,8 +61,8 @@ class G4UIparameter
// NOT to invoke this by him/herself.
public:
G4int operator==(const G4UIparameter &right) const;
G4int operator!=(const G4UIparameter &right) const;
G4bool operator==(const G4UIparameter &right) const;
G4bool operator!=(const G4UIparameter &right) const;
G4int CheckNewValue(const char* newValue);
void List();
@@ -84,6 +84,12 @@ class G4UIparameter
void SetDefaultValue(G4int theDefaultValue);
void SetDefaultValue(G4double theDefaultValue);
// These methods set the default value of the parameter.
void SetDefaultUnit(const char * theDefaultUnit);
// This method can be used for a string-type parameter that is
// used to specify a unit. This method is valid only for a
// string-type parameter. With this set-method, not only the
// default unit but also candidate units that belong to the
// same unit category (a.k.a. dimension) as the default unit.
public:
inline G4String GetDefaultValue() const
{ return defaultValue; }