Import Geant4 5.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 10:28:22 +02:00
parent fbd4999cf7
commit 4aea781e80
5454 changed files with 223141 additions and 67347 deletions
+5 -5
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4UIaliasList.hh,v 1.4 2002/04/26 22:03:34 asaim Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4UIaliasList.hh,v 1.5 2003/06/16 16:55:30 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
#ifndef G4UIaliasList_h
@@ -30,7 +30,7 @@
#include "globals.hh"
#include "g4std/vector"
#include <vector>
// class description:
//
@@ -59,8 +59,8 @@ class G4UIaliasList
G4int FindAliasID(const char* aliasName);
private:
G4std::vector<G4String*> alias;
G4std::vector<G4String*> value;
std::vector<G4String*> alias;
std::vector<G4String*> value;
};
+4 -4
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4UIbatch.hh,v 1.6 2002/06/07 17:37:44 asaim Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4UIbatch.hh,v 1.7 2003/06/16 16:55:31 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
// $id$
@@ -31,7 +31,7 @@
#include "globals.hh"
#include "G4UIsession.hh"
#include "g4std/fstream"
#include <fstream>
class G4UImanager;
@@ -61,7 +61,7 @@ class G4UIbatch : public G4UIsession
private:
G4UImanager * UImanager;
G4UIsession * previousSession;
G4std::ifstream macroFile;
std::ifstream macroFile;
G4String macroFileName;
G4bool openFailed;
};
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIcmdWith3Vector.hh,v 1.5 2002/04/26 22:03:35 asaim Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIcmdWith3VectorAndUnit.hh,v 1.5 2002/04/26 22:03:35 asaim Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIcmdWithABool.hh,v 1.5 2002/04/26 22:03:35 asaim Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIcmdWithADouble.hh,v 1.5 2002/04/26 22:03:35 asaim Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIcmdWithADoubleAndUnit.hh,v 1.5 2002/04/26 22:03:35 asaim Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIcmdWithAString.hh,v 1.4 2001/07/11 10:01:12 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIcmdWithAnInteger.hh,v 1.5 2002/04/26 22:03:35 asaim Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIcmdWithoutParameter.hh,v 1.4 2001/07/11 10:01:13 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
+8 -8
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4UIcommand.hh,v 1.12 2002/11/27 18:05:33 asaim Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4UIcommand.hh,v 1.13 2003/06/16 16:55:32 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -33,7 +33,7 @@
class G4UImessenger;
#include "globals.hh"
#include "G4ApplicationState.hh"
#include "g4std/vector"
#include <vector>
#include "G4UItokenNum.hh"
// class description:
@@ -89,9 +89,9 @@ class G4UIcommand
G4String commandPath;
G4String commandName;
G4String rangeString;
G4std::vector<G4UIparameter*> parameter;
G4std::vector<G4String> commandGuidance;
G4std::vector<G4ApplicationState> availabelStateList;
std::vector<G4UIparameter*> parameter;
std::vector<G4String> commandGuidance;
std::vector<G4ApplicationState> availabelStateList;
public: // with description
inline void SetRange(const char* rs)
@@ -116,7 +116,7 @@ class G4UIcommand
{ return parameter.size(); }
inline G4UIparameter * GetParameter(G4int i) const
{ return parameter[i]; }
inline G4std::vector<G4ApplicationState>* GetStateList()
inline std::vector<G4ApplicationState>* GetStateList()
{ return &availabelStateList; }
public: // with description
inline void SetParameter(G4UIparameter *const newParameter)
@@ -184,7 +184,7 @@ class G4UIcommand
G4int bp; // buffer pointer for rangeBuf
tokenNum token;
yystype yylval;
G4std::vector<yystype> newVal;
std::vector<yystype> newVal;
G4int paramERR;
};
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIcommandStatus.hh,v 1.4 2001/10/04 23:15:27 asaim Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
#ifndef G4UIcommandStatus_h
+5 -5
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4UIcommandTree.hh,v 1.13 2002/04/26 22:03:35 asaim Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4UIcommandTree.hh,v 1.14 2003/06/16 16:55:33 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
#ifndef G4UIcommandTree_h
@@ -31,7 +31,7 @@
#include "G4UIcommand.hh"
#include "globals.hh"
#include "g4std/vector"
#include <vector>
// class description:
//
@@ -61,8 +61,8 @@ class G4UIcommandTree
G4String CreateFileName(const char* pName);
G4String ModStr(const char* strS);
G4std::vector<G4UIcommand*> command;
G4std::vector<G4UIcommandTree*> tree;
std::vector<G4UIcommand*> command;
std::vector<G4UIcommandTree*> tree;
G4UIcommand *guidance;
G4String pathName;
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIcontrolMessenger.hh,v 1.10 2002/05/15 06:51:31 asaim Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
#ifndef G4UIcontrolMessenger_h
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIdirectory.hh,v 1.4 2001/07/11 10:01:14 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
+6 -6
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4UImanager.hh,v 1.19 2002/05/14 01:40:10 asaim Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4UImanager.hh,v 1.20 2003/06/16 16:55:34 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
#ifndef G4UImanager_h
@@ -30,8 +30,8 @@
#include "globals.hh"
#include "g4std/vector"
#include "g4std/fstream"
#include <vector>
#include <fstream>
#include "G4VStateDependent.hh"
#include "G4UIcommandStatus.hh"
class G4UIcommandTree;
@@ -145,9 +145,9 @@ class G4UImanager : public G4VStateDependent
G4String savedParameters;
G4UIcommand * savedCommand;
G4int verboseLevel;
G4std::ofstream historyFile;
std::ofstream historyFile;
G4bool saveHistory;
G4std::vector<G4String> histVec;
std::vector<G4String> histVec;
G4UIaliasList* aliasList;
G4int maxHistSize;
G4bool pauseAtBeginOfEvent;
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UImessenger.hh,v 1.6 2001/10/11 13:29:16 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
#ifndef G4UImessenger_h
+3 -3
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4UIparameter.hh,v 1.6 2002/04/26 22:03:35 asaim Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4UIparameter.hh,v 1.7 2003/06/16 16:55:35 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// ---------------------------------------------------------------------
@@ -32,7 +32,7 @@
#include "globals.hh"
#include "g4std/strstream"
#include <strstream>
#include "G4UItokenNum.hh"
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UIsession.hh,v 1.4 2001/07/11 10:01:14 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
// $id$
+28 -6
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4UItokenNum.hh,v 1.5 2002/11/27 19:08:09 asaim Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4UItokenNum.hh,v 1.7 2003/06/07 16:40:48 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
// G4UItokenNum.hh
@@ -31,7 +31,8 @@
#include "globals.hh"
enum tokenNum {
enum tokenNum
{
IDENTIFIER = 257,
CONSTINT = 258,
CONSTDOUBLE= 259,
@@ -49,14 +50,35 @@ enum tokenNum {
};
typedef struct yystype {
typedef struct yystype
{
tokenNum type;
G4double D;
G4int I;
char C;
G4String S;
G4int operator==(const yystype &right) const
{ return (this == &right)?1:0; }
yystype() : D(0.0), I(0), C(' '), S("")
{
}
G4int operator==(const yystype& right) const
{
return (this == &right)?1:0;
}
yystype& operator=(const yystype& right)
{
if (&right==this) return *this;
type = right.type;
D = right.D;
I = right.I;
C = right.C;
S = right.S;
return *this;
}
yystype(const yystype& right)
{
*this=right;
}
} yystype;
#endif
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4UnitsMessenger.hh,v 1.4 2001/07/11 10:01:15 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
// class description
//
@@ -22,7 +22,7 @@
//
//
// $Id: G4VFlavoredParallelWorld.hh,v 1.3 2001/07/11 10:01:15 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// Abstract interface for GEANT4 Flavored Parallel World.
@@ -22,7 +22,7 @@
//
//
// $Id: G4VGlobalFastSimulationManager.hh,v 1.4 2002/11/20 14:46:00 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// Abstract interface for GEANT4 Global Fast Simulation Manager.
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4VGraphicsScene.hh,v 1.9 2002/10/24 14:11:04 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
// John Allison 19th July 1996
//
// Class Description:
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4VVisManager.hh,v 1.8 2003/01/20 14:17:20 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
// John Allison 19/Oct/1996.
//
// Class Description: