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
+4 -4
View File
@@ -21,21 +21,21 @@
// ********************************************************************
//
//
// $Id: G3DetTable.hh,v 1.7 2001/07/11 09:58:57 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G3DetTable.hh,v 1.8 2003/06/16 16:50:37 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
// G3DetTable class
#ifndef G3DETTABLE_HH
#define G3DETTABLE_HH 1
#include "g4std/map"
#include <map>
#include "globals.hh"
#include "G3DetTableEntry.hh"
class G3DetTable {
private:
G4std::map<G4String, G3DetTableEntry*, G4std::less<G4String> > DTD;
std::map<G4String, G3DetTableEntry*, std::less<G4String> > DTD;
G4String MakeHash(G4String& set, G4String& det);
public:
+3 -3
View File
@@ -21,15 +21,15 @@
// ********************************************************************
//
//
// $Id: G3DetTableEntry.hh,v 1.4 2001/07/11 09:58:57 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G3DetTableEntry.hh,v 1.5 2003/06/16 16:50:38 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
// G3DetTableEntry class
#ifndef DETTABLEENTRY_HH
#define DETTABLEENTRY_HH 1
#include "g4std/map"
#include <map>
#include "globals.hh"
#include "G4VSensitiveDetector.hh"
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G3Division.hh,v 1.7 2001/11/21 14:25:30 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
// ----------------------
// Class description:
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G3EleTable.hh,v 1.7 2001/07/16 15:38:18 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
// ----------------------
// Class description:
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G3G4Interface.hh,v 1.9 2001/11/08 16:07:58 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
// Interfaces for G3 equivalent routines
//
+4 -4
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G3MatTable.hh,v 1.11 2001/07/16 15:38:18 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G3MatTable.hh,v 1.12 2003/06/16 16:50:39 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
// ----------------------
// Class description:
@@ -41,11 +41,11 @@
#include "globals.hh"
#include "g4std/vector"
#include <vector>
class G4Material;
typedef G4std::vector<G3MatTableEntry*> G3MaterialVector;
typedef std::vector<G3MatTableEntry*> G3MaterialVector;
class G3MatTable
{
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G3MatTableEntry.hh,v 1.5 2001/07/11 09:58:57 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
// ----------------------
// Class description:
+4 -4
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G3MedTable.hh,v 1.11 2003/01/27 10:45:40 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G3MedTable.hh,v 1.12 2003/06/16 16:50:40 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
// ----------------------
// Class description:
@@ -43,13 +43,13 @@
#include "globals.hh"
#include "g4std/vector"
#include <vector>
class G4Material;
class G4MagneticField;
class G4UserLimits;
typedef G4std::vector<G3MedTableEntry*> G3MediumVector;
typedef std::vector<G3MedTableEntry*> G3MediumVector;
class G3MedTable
{
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G3MedTableEntry.hh,v 1.5 2001/07/11 09:58:57 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
// ----------------------
// Class description:
+4 -4
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G3PartTable.hh,v 1.8 2001/07/11 09:58:57 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G3PartTable.hh,v 1.9 2003/06/16 16:50:41 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
// ----------------------
// Class description:
@@ -34,7 +34,7 @@
#ifndef G3PARTTABLE_HH
#define G3PARTTABLE_HH 1
#include "g4std/map"
#include <map>
#include "G4ParticleDefinition.hh"
class G3PartTable
@@ -50,7 +50,7 @@ public: // with description
private:
G4std::map<G4String, G4ParticleDefinition*, G4std::less<G4String> > PTD;
std::map<G4String, G4ParticleDefinition*, std::less<G4String> > PTD;
void HashID(G4int partid, G4String* _HID);
void HashID(G4int partid, G4String& _HID);
};
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G3Pos.hh,v 1.10 2001/07/11 09:58:57 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
// ----------------------
// Class description:
+4 -4
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G3RotTable.hh,v 1.13 2001/07/16 15:38:18 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G3RotTable.hh,v 1.14 2003/06/16 16:50:42 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
// ----------------------
// Class description:
@@ -41,11 +41,11 @@
#include "globals.hh"
#include "g4std/vector"
#include <vector>
class G4Material;
typedef G4std::vector<G3RotTableEntry*> G3RotMatrixVector;
typedef std::vector<G3RotTableEntry*> G3RotMatrixVector;
class G3RotTable
{
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G3RotTableEntry.hh,v 1.5 2001/07/11 09:58:57 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
// ----------------------
// Class description:
+4 -4
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G3SensVolVector.hh,v 1.5 2001/07/16 15:38:18 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G3SensVolVector.hh,v 1.6 2003/06/16 16:50:43 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
// vector of logical volumes that were defined with
// tracking medium with ISVOL=1
@@ -32,10 +32,10 @@
#ifndef G3SENSVOLVECTOR_HH
#define G3SENSVOLVECTOR_HH 1
#include "g4std/vector"
#include <vector>
#include "G4LogicalVolume.hh"
typedef G4std::vector<G4LogicalVolume*> G3SensVolVector;
typedef std::vector<G4LogicalVolume*> G3SensVolVector;
extern G3SensVolVector G3SensVol;
#endif
+4 -4
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G3VolTable.hh,v 1.16 2001/07/11 09:58:58 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G3VolTable.hh,v 1.17 2003/06/16 16:50:44 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
// ----------------------
// Class description:
@@ -47,7 +47,7 @@
#ifndef G3VOLTABLE_HH
#define G3VOLTABLE_HH 1
#include "g4std/map"
#include <map>
#include "G3VolTableEntry.hh"
class G4LogicalVolume;
@@ -75,7 +75,7 @@ private:
G3VolTableEntry* G3toG4TopVTE;
G4String _FirstKey;
G4std::map<G4String, G3VolTableEntry*, G4std::less<G4String> > VTD;
std::map<G4String, G3VolTableEntry*, std::less<G4String> > VTD;
G4int _NG3Pos;
};
+9 -9
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G3VolTableEntry.hh,v 1.7 2001/11/08 16:07:58 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G3VolTableEntry.hh,v 1.8 2003/06/16 16:50:45 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
// ----------------------
// Class description:
@@ -69,7 +69,7 @@
#include "globals.hh"
#include "G3Pos.hh"
#include "G3Division.hh"
#include "g4std/vector"
#include <vector>
class G4LogicalVolume;
class G4Material;
@@ -135,7 +135,7 @@ class G3VolTableEntry
// return the first mother - to be removed
G3VolTableEntry* GetClone(G4int i);
G3VolTableEntry* GetMasterClone();
G4std::vector<G3VolTableEntry*>* GetOverlaps();
std::vector<G3VolTableEntry*>* GetOverlaps();
private:
G4String fVname;
@@ -147,11 +147,11 @@ class G3VolTableEntry
G4LogicalVolume* fLV;
G4bool fHasNegPars;
G4bool fHasMANY;
G4std::vector<G3VolTableEntry*> fDaughters;
G4std::vector<G3VolTableEntry*> fMothers;
G4std::vector<G3VolTableEntry*> fClones;
G4std::vector<G3VolTableEntry*> fOverlaps;
G4std::vector<G3Pos*> fG3Pos;
std::vector<G3VolTableEntry*> fDaughters;
std::vector<G3VolTableEntry*> fMothers;
std::vector<G3VolTableEntry*> fClones;
std::vector<G3VolTableEntry*> fOverlaps;
std::vector<G3Pos*> fG3Pos;
G3Division* fDivision;
};
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G3toG4.hh,v 1.7 2001/07/11 09:58:58 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
// modified by I.Hrivnacova, 27 Sep 99
+1 -1
View File
@@ -22,7 +22,7 @@
*
*
* $Id: G3toG4.inc,v 1.3 2001/07/11 09:58:58 gunter Exp $
* GEANT4 tag $Name: geant4-05-01 $
* GEANT4 tag $Name: geant4-05-02 $
*
integer maxlines
parameter (maxlines = 750) ! max no. of cmd lines per C++ source file
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G3toG4BuildTree.hh,v 1.7 2001/07/11 09:58:58 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
// ----------------------
// Class Description:
+4 -4
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G3toG4MANY.hh,v 1.1 2001/11/08 16:07:59 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G3toG4MANY.hh,v 1.2 2003/06/16 16:50:46 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
// ----------------------
// Class Description:
@@ -60,11 +60,11 @@
#ifndef G3TOG4_MANY_HH
#define G3TOG4_MANY_HH 1
#include "g4std/vector"
#include <vector>
#include "G3VolTableEntry.hh"
#include "G4Transform3D.hh"
typedef G4std::vector<G3VolTableEntry*> G3VolTableEntryVector;
typedef std::vector<G3VolTableEntry*> G3VolTableEntryVector;
void G3toG4MANY(G3VolTableEntry* curVTE);
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G3toG4MakeSolid.hh,v 1.6 2001/07/11 09:58:58 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
// ----------------------
// Class Description:
@@ -22,7 +22,7 @@
//
//
// $Id: G3toG4RotationMatrix.hh,v 1.5 2001/07/11 09:58:58 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
// ----------------------
// Class description:
//
+1 -1
View File
@@ -22,7 +22,7 @@
*
*
* $Id: gcbank.inc,v 1.3 2001/07/11 09:58:58 gunter Exp $
* GEANT4 tag $Name: geant4-05-01 $
* GEANT4 tag $Name: geant4-05-02 $
*
INTEGER IQ,LQ,NZEBRA,IXSTOR,IXDIV,IXCONS,LMAIN,LR1,JCG
INTEGER KWBANK,KWWORK,IWS