Import Geant4 8.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 14:36:02 +02:00
parent d93e1e39a9
commit 8a51e0bc40
5471 changed files with 99628 additions and 55248 deletions
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIArrayString.hh,v 1.2 2001/07/11 10:01:19 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
#ifndef G4UIArrayString_h
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIWin32.hh,v 1.13 2004/04/08 08:29:47 gbarrand Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
#ifndef G4UIWin32_h
#define G4UIWin32_h
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIXaw.hh,v 1.5 2001/07/11 10:01:20 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
#ifndef G4UIXaw_h
#define G4UIXaw_h
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIXm.hh,v 1.12 2003/06/16 16:55:55 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
#ifndef G4UIXm_h
#define G4UIXm_h
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIcsh.hh,v 1.3 2001/07/11 10:01:20 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
#ifndef G4UIcsh_h
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UItcsh.hh,v 1.6 2003/06/16 16:55:56 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
#ifndef G4UItcsh_h
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIterminal.hh,v 1.8 2003/06/16 16:55:57 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
#ifndef G4UIterminal_h
@@ -22,7 +22,7 @@
//
//
// $Id: G4VUIshell.hh,v 1.5 2001/11/26 19:15:08 asaim Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
#ifndef G4VUIshell_h
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIArrayString.cc,v 1.7 2003/06/16 16:55:58 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
#include <iomanip>
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIWin32.cc,v 1.12 2004/06/07 13:33:36 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
// G.Barrand
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIXaw.cc,v 1.5 2002/11/06 08:12:37 barrand Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
// G.Barrand
+2 -3
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4UIXm.cc,v 1.12 2004/11/21 16:56:34 gbarrand Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4UIXm.cc,v 1.13 2005/11/28 18:20:20 gcosmo Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
// G.Barrand
@@ -31,7 +31,6 @@
#ifdef G4UI_BUILD_XM_SESSION
#include "G4Types.hh"
#include <strstream>
#include <string.h>
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIcsh.cc,v 1.7 2003/06/16 16:56:01 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
#include "G4UIcsh.hh"
+7 -8
View File
@@ -21,18 +21,18 @@
// ********************************************************************
//
//
// $Id: G4UItcsh.cc,v 1.10 2003/06/16 16:56:02 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4UItcsh.cc,v 1.11 2005/10/26 06:19:35 kmura Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
#ifndef WIN32
#include <ctype.h>
#include "G4Types.hh"
#include <strstream>
#include "G4StateManager.hh"
#include "G4UIcommandStatus.hh"
#include "G4UItcsh.hh"
#include <ctype.h>
#include <sstream>
// ASCII character code
static const char AsciiCtrA = '\001';
@@ -107,10 +107,9 @@ void G4UItcsh::MakePrompt(const char* msg)
break;
case 'h': // history#
{
char st[20];
std::ostrstream os(st,20);
os << currentHistoryNo << '\0';
promptString.append(st);
std::ostringstream os;
os << currentHistoryNo;
promptString.append(os.str());
i++;
}
break;
+5 -4
View File
@@ -21,18 +21,19 @@
// ********************************************************************
//
//
// $Id: G4UIterminal.cc,v 1.19 2003/06/16 16:56:03 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: G4UIterminal.cc,v 1.20 2005/10/26 06:19:35 kmura Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
#include "G4Types.hh"
#include <strstream>
#include "G4StateManager.hh"
#include "G4UIcommandTree.hh"
#include "G4UIcommand.hh"
#include "G4UIcommandStatus.hh"
#include "G4UIterminal.hh"
#include "G4UIcsh.hh"
#include <sstream>
//////////////////////////////////////////////
G4UIterminal::G4UIterminal(G4VUIshell* aShell)
@@ -205,7 +206,7 @@ G4String G4UIterminal::GetCommand(const char* msg)
G4String ss= nC(1, nC.length()-1);
G4int vl;
const char* tt= ss;
std::istrstream is((char*)tt);
std::istringstream is(tt);
is >> vl;
G4int nh= UI-> GetNumberOfHistory();
if(vl>=0 && vl<nh) {
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4VUIshell.cc,v 1.8 2003/06/16 16:56:04 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
#include "G4UImanager.hh"