Import Geant4 10.6.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2019-06-28 11:59:04 +02:00
parent 28a70706e0
commit d0f911957d
1056 changed files with 95168 additions and 78160 deletions
+13 -6
View File
@@ -170,17 +170,17 @@ class G4UImanager : public G4VStateDependent
public: // with description
G4String GetCurrentStringValue(const char * aCommand,
G4int parameterNumber=1, G4bool reGet=true);
G4int parameterNumber=1, G4bool reGet=true);
G4int GetCurrentIntValue(const char * aCommand,
G4int parameterNumber=1, G4bool reGet=true);
G4int parameterNumber=1, G4bool reGet=true);
G4double GetCurrentDoubleValue(const char * aCommand,
G4int parameterNumber=1, G4bool reGet=true);
G4int parameterNumber=1, G4bool reGet=true);
G4String GetCurrentStringValue(const char * aCommand,
const char * aParameterName, G4bool reGet=true);
const char * aParameterName, G4bool reGet=true);
G4int GetCurrentIntValue(const char * aCommand,
const char * aParameterName, G4bool reGet=true);
const char * aParameterName, G4bool reGet=true);
G4double GetCurrentDoubleValue(const char * aCommand,
const char * aParameterName, G4bool reGet=true);
const char * aParameterName, G4bool reGet=true);
// These six methods returns the current value of a parameter of the
// given command. For the first three methods, the ordering number of
// the parameter (1 is the first parameter) can be given, whereas,
@@ -300,6 +300,13 @@ class G4UImanager : public G4VStateDependent
public:
static void UseDoublePrecisionStr(G4bool val);
static G4bool DoublePrecisionStr();
private:
G4int lastRC;
public:
G4int GetLastReturnCode() const
{ return lastRC; }
};
#endif
+2
View File
@@ -64,8 +64,10 @@ class G4UIsession : public G4coutDestination
protected:
G4ICOMS_DLL static G4int inSession;
G4int ifBatch;
G4int lastRC;
public:
static G4int InSession() { return inSession; }
G4int GetLastReturnCode() const { return lastRC; }
};