Import Geant4 9.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 15:37:50 +02:00
parent a8e9364cea
commit 96c8bcd0af
6923 changed files with 198390 additions and 41849 deletions
+1 -1
View File
@@ -25,7 +25,7 @@
//
//
// $Id: G4UIaliasList.hh,v 1.6 2006/06/29 19:07:42 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
#ifndef G4UIaliasList_h
+38 -39
View File
@@ -23,56 +23,55 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4UIbatch.hh,v 1.10 2007/07/16 10:15:12 kmura Exp $
// GEANT4 tag $Name: geant4-09-01 $
//
// $Id: G4UIbatch.hh,v 1.9 2006/06/29 19:07:44 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// ====================================================================
// G4UIbatch.hh
//
// $id$
// This is a concrete class of G4UIsession.
//
// This class object is instantiated by G4UImanager at every time
// when "/control/execute macro_file" command is executed.
// Also in the case of pure batch mode with a macro file,
// this class can be used as other ordinary G4UIsession
// concrete classes, i.e. SessionStart() is invoked in main().
// ====================================================================
#ifndef G4UI_BATCH_H
#define G4UI_BATCH_H 1
#ifndef G4UIbatch_h
#define G4UIbatch_h 1
#include "globals.hh"
#include "G4UIsession.hh"
#include <fstream>
class G4UImanager;
// ====================================================================
//
// class definition
//
// ====================================================================
// class description
// This is a concrete class of G4UIsession.
// This class is constructed by G4UImanager when the user
// applies "/control/execute macro_file" command.
// If the user's application runs in pure batch mode with
// only one fixed-name macro file, he/she can construct this
// class object with giving the file name and use it as other
// ordinary G4UIsession concrete class, i.e. invoke SessionStart()
// from his/her main().
class G4UIbatch : public G4UIsession {
private:
G4UIsession* previousSession;
class G4UIbatch : public G4UIsession
{
public: // with description
G4UIbatch(const char* fileName,G4UIsession* prevSession=NULL);
// Constructor.
// "prevSession" must be NULL if this class is constructed
// from main().
public:
~G4UIbatch();
std::ifstream macroStream;
G4bool isOpened;
G4UIsession * SessionStart();
void PauseSessionStart(G4String Prompt);
//static G4bool commandFailed;
// get command from a batch script file
G4String ReadCommand();
G4int ExecCommand(const G4String& command);
public:
G4UIbatch(const char* fileName, G4UIsession* prevSession=0);
// "prevSession" must be 0 if this class is constructed
// from main().
~G4UIbatch();
private:
G4UImanager * UImanager;
G4UIsession * previousSession;
std::ifstream macroFile;
G4String macroFileName;
G4bool openFailed;
virtual G4UIsession* SessionStart();
virtual void PauseSessionStart(G4String Prompt);
private:
static G4bool commandFailed;
};
#endif
@@ -25,7 +25,7 @@
//
//
// $Id: G4UIcmdWith3Vector.hh,v 1.7 2006/06/29 19:07:47 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
//
@@ -25,7 +25,7 @@
//
//
// $Id: G4UIcmdWith3VectorAndUnit.hh,v 1.8 2006/06/29 19:07:49 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
//
+1 -1
View File
@@ -25,7 +25,7 @@
//
//
// $Id: G4UIcmdWithABool.hh,v 1.7 2006/06/29 19:07:51 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
//
@@ -25,7 +25,7 @@
//
//
// $Id: G4UIcmdWithADouble.hh,v 1.7 2006/06/29 19:07:54 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
//
@@ -25,7 +25,7 @@
//
//
// $Id: G4UIcmdWithADoubleAndUnit.hh,v 1.8 2006/06/29 19:07:57 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
//
@@ -25,7 +25,7 @@
//
//
// $Id: G4UIcmdWithAString.hh,v 1.5 2006/06/29 19:07:59 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
//
@@ -25,7 +25,7 @@
//
//
// $Id: G4UIcmdWithAnInteger.hh,v 1.7 2006/06/29 19:08:01 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
//
@@ -25,7 +25,7 @@
//
//
// $Id: G4UIcmdWithoutParameter.hh,v 1.5 2006/06/29 19:08:03 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
//
+1 -1
View File
@@ -25,7 +25,7 @@
//
//
// $Id: G4UIcommand.hh,v 1.15 2006/06/29 19:08:05 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
//
@@ -25,7 +25,7 @@
//
//
// $Id: G4UIcommandStatus.hh,v 1.5 2006/06/29 19:08:08 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
#ifndef G4UIcommandStatus_h
+1 -1
View File
@@ -25,7 +25,7 @@
//
//
// $Id: G4UIcommandTree.hh,v 1.15 2006/06/29 19:08:11 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
#ifndef G4UIcommandTree_h
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4UIcontrolMessenger.hh,v 1.11 2006/06/29 19:08:13 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// $Id: G4UIcontrolMessenger.hh,v 1.12 2007/06/06 15:14:51 asaim Exp $
// GEANT4 tag $Name: geant4-09-01 $
//
#ifndef G4UIcontrolMessenger_h
@@ -54,6 +54,8 @@ class G4UIcommand;
// /control/alias
// /control/unalias
// /control/listAlias
// /control/getEnv
// /control/echo
// /control/shell
// /control/manual
// /control/createHTML
@@ -77,6 +79,8 @@ class G4UIcontrolMessenger : public G4UImessenger
G4UIcommand * aliasCommand;
G4UIcmdWithAString * unaliasCommand;
G4UIcmdWithoutParameter * listAliasCommand;
G4UIcmdWithAString * getEnvCmd;
G4UIcmdWithAString * echoCmd;
G4UIcmdWithAString * shellCommand;
G4UIcommand * loopCommand;
G4UIcommand * foreachCommand;
+1 -1
View File
@@ -25,7 +25,7 @@
//
//
// $Id: G4UIdirectory.hh,v 1.5 2006/06/29 19:08:15 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
//
+1 -1
View File
@@ -25,7 +25,7 @@
//
//
// $Id: G4UImanager.hh,v 1.21 2006/06/29 19:08:17 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
#ifndef G4UImanager_h
+1 -1
View File
@@ -25,7 +25,7 @@
//
//
// $Id: G4UImessenger.hh,v 1.9 2006/06/29 19:08:19 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
#ifndef G4UImessenger_h
+1 -1
View File
@@ -25,7 +25,7 @@
//
//
// $Id: G4UIparameter.hh,v 1.9 2006/06/29 19:08:21 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
//
// ---------------------------------------------------------------------
+1 -1
View File
@@ -25,7 +25,7 @@
//
//
// $Id: G4UIsession.hh,v 1.5 2006/06/29 19:08:23 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
// $id$
+1 -1
View File
@@ -25,7 +25,7 @@
//
//
// $Id: G4UItokenNum.hh,v 1.8 2006/06/29 19:08:25 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
// G4UItokenNum.hh
+1 -1
View File
@@ -25,7 +25,7 @@
//
//
// $Id: G4UnitsMessenger.hh,v 1.5 2006/06/29 19:08:27 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
// class description
//
@@ -25,7 +25,7 @@
//
//
// $Id: G4VFlavoredParallelWorld.hh,v 1.5 2006/11/03 17:44:40 mverderi Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
//
// Abstract interface for GEANT4 Flavored Parallel World.
@@ -25,7 +25,7 @@
//
//
// $Id: G4VGlobalFastSimulationManager.hh,v 1.5 2006/06/29 19:08:31 gunter Exp $
// GEANT4 tag $Name: geant4-09-00 $
// GEANT4 tag $Name: geant4-09-01 $
//
//
// Abstract interface for GEANT4 Global Fast Simulation Manager.