Import Geant4 1.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:34:16 +02:00
parent ca1c8cb059
commit 103bda00c8
2654 changed files with 29719 additions and 20203 deletions
+2 -2
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4Circle.hh,v 1.3.2.1 1999/12/07 20:48:48 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4Circle.hh,v 1.4 1999/12/15 14:50:31 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
//
// John Allison 17/11/96.
+2 -2
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4Circle.icc,v 1.2.8.1 1999/12/07 20:48:48 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4Circle.icc,v 1.3 1999/12/15 14:50:32 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
//
// John Allison 17/11/96.
+2 -2
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4Color.hh,v 1.2.2.1 1999/12/07 20:48:48 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4Color.hh,v 1.3 1999/12/15 14:50:32 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
//
// John Allison 20th October 1996
+4 -4
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4Colour.hh,v 1.3.2.1 1999/12/07 20:48:48 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4Colour.hh,v 1.5 1999/12/15 16:46:07 gcosmo Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
//
// John Allison 20th October 1996
@@ -57,10 +57,10 @@
#define G4COLOUR_HH
#include "globals.hh"
class ostream;
#include "g4std/iostream"
class G4Colour {
friend ostream& operator << (ostream& os, const G4Colour& c);
friend G4std::ostream& operator << (G4std::ostream& os, const G4Colour& c);
public: // With description
+5 -5
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NURBS.hh,v 1.4.2.1 1999/12/07 20:48:48 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NURBS.hh,v 1.5 1999/12/15 14:50:32 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
// Olivier Crumeyrolle 12 September 1996
@@ -324,7 +324,7 @@ protected:
// external representation for t_KnotVectorGenFlag
// as a << overload.
// (used in errors report)
friend ostream & operator << (ostream & inout_OutStream,
friend G4std::ostream & operator << (G4std::ostream & inout_OutStream,
t_KnotVectorGenFlag in_KVGFlag);
G4NURBS (t_order in_Uorder, t_order in_Vorder,
@@ -396,14 +396,14 @@ private:
};
// external representation for t_KnotVectorGenFlag
ostream & operator << (ostream & inout_OutStream, G4NURBS::t_KnotVectorGenFlag in_KVGFlag);
G4std::ostream & operator << (G4std::ostream & inout_OutStream, G4NURBS::t_KnotVectorGenFlag in_KVGFlag);
// << overload to dump a nurbs
// writted with public access functions
// do not depends on protected part
ostream & operator << (ostream & inout_outStream, const G4NURBS & in_kNurb);
G4std::ostream & operator << (G4std::ostream & inout_outStream, const G4NURBS & in_kNurb);
/***********************************************************************
* *
+2 -2
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NURBSbox.hh,v 1.4.2.1 1999/12/07 20:48:48 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NURBSbox.hh,v 1.5 1999/12/15 14:50:32 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
//
// Olivier Crumeyrolle 12 September 1996
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NURBScylinder.hh,v 1.4.2.1 1999/12/07 20:48:48 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NURBScylinder.hh,v 1.5 1999/12/15 14:50:32 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
//
// Olivier Crumeyrolle 12 September 1996
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NURBShexahedron.hh,v 1.4.2.1 1999/12/07 20:48:49 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NURBShexahedron.hh,v 1.5 1999/12/15 14:50:32 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
// Hexa hedron builder prototype
// OC 17 9 96
+2 -2
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NURBStube.hh,v 1.4.2.1 1999/12/07 20:48:49 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NURBStube.hh,v 1.5 1999/12/15 14:50:32 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
//
// Olivier Crumeyrolle 12 September 1996
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4NURBStubesector.hh,v 1.3.2.1 1999/12/07 20:48:49 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4NURBStubesector.hh,v 1.4 1999/12/15 14:50:32 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
//
// Olivier Crumeyrolle 12 September 1996
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4PlacedPolyhedron.hh,v 1.6.2.1 1999/12/07 20:48:49 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4PlacedPolyhedron.hh,v 1.7 1999/12/15 14:50:32 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
// Class Description:
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4Point3DList.hh,v 1.4.2.1 1999/12/07 20:48:49 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4Point3DList.hh,v 1.6 1999/12/15 16:46:08 gcosmo Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
//
// John Allison July 1995
@@ -20,12 +20,11 @@
#include "g4rw/tvordvec.h"
#include "G4Point3D.hh"
class ostream;
#include "g4std/iostream"
class G4Point3DList: public G4RWTValOrderedVector<G4Point3D> {
friend ostream& operator << (ostream& os, const G4Point3DList& points);
friend G4std::ostream& operator << (G4std::ostream& os, const G4Point3DList& points);
public:
+12 -4
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4Polyhedron.hh,v 1.3.2.1 1999/12/07 20:48:49 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4Polyhedron.hh,v 1.5 1999/12/16 15:26:03 johna Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
//
//
@@ -119,10 +119,12 @@
#include "G4VVisPrim.hh"
#include "G4Point3D.hh"
#include "G4Normal3D.hh"
#include "G4Vector3D.hh"
#include "G4Transform3D.hh"
class G4Facet {
friend class G4Polyhedron;
friend ostream& operator<<(ostream&, const G4Facet &facet);
friend G4std::ostream& operator<<(G4std::ostream&, const G4Facet &facet);
private:
struct G4Edge { G4int v,f; };
@@ -137,7 +139,7 @@ class G4Facet {
};
class G4Polyhedron: public G4VVisPrim {
friend ostream& operator<<(ostream&, const G4Polyhedron &ph);
friend G4std::ostream& operator<<(G4std::ostream&, const G4Polyhedron &ph);
private:
static G4int fNumberOfRotationSteps;
@@ -175,6 +177,9 @@ class G4Polyhedron: public G4VVisPrim {
// For each edge set reference to neighbouring facet
void SetReferences();
// Invert the order on nodes in facets
void InvertFacets();
public:
// Constructor
G4Polyhedron(G4int Nvert=0, G4int Nface=0)
@@ -199,6 +204,9 @@ class G4Polyhedron: public G4VVisPrim {
// Get number of facets
G4int GetNoFacets() const { return nface; }
// Transform the polyhedron
G4Polyhedron & Transform(const G4Transform3D &t);
// Get next vertex index of the quadrilateral
G4bool GetNextVertexIndex(G4int &index, G4int &edgeFlag) const;
+3 -3
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4Polyline.hh,v 1.4.2.1 1999/12/07 20:48:50 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4Polyline.hh,v 1.5 1999/12/15 14:50:33 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
//
// John Allison July 1995
@@ -25,7 +25,7 @@
#include "G4Point3DList.hh"
class G4Polyline: public G4VVisPrim, public G4Point3DList {
friend ostream& operator << (ostream& os, const G4Polyline& line);
friend G4std::ostream& operator << (G4std::ostream& os, const G4Polyline& line);
public: // With description
+3 -3
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4Polymarker.hh,v 1.4.2.1 1999/12/07 20:48:50 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4Polymarker.hh,v 1.5 1999/12/15 14:50:33 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
//
// John Allison November 1996
@@ -26,7 +26,7 @@ class G4Polymarker: public G4VMarker, public G4Point3DList {
public: // With description
friend ostream& operator << (ostream& os, const G4Polymarker& marker);
friend G4std::ostream& operator << (G4std::ostream& os, const G4Polymarker& marker);
enum MarkerType {line, dots, circles, squares};
G4Polymarker ();
virtual G4Visible& operator = (const G4Visible& right);
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4Polymarker.icc,v 1.1.10.1 1999/12/07 20:48:50 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4Polymarker.icc,v 1.2 1999/12/15 14:50:33 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
//
// John Allison November 1996
+2 -2
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4Square.hh,v 1.3.2.1 1999/12/07 20:48:50 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4Square.hh,v 1.4 1999/12/15 14:50:34 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
//
// John Allison 17/11/96.
+2 -2
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4Square.icc,v 1.1.10.1 1999/12/07 20:48:50 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4Square.icc,v 1.2 1999/12/15 14:50:34 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
//
// John Allison 17/11/96.
+2 -2
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4Text.hh,v 1.4.2.1 1999/12/07 20:48:50 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4Text.hh,v 1.5 1999/12/15 14:50:34 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
//
// John Allison 17/11/96.
+2 -2
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4Text.icc,v 1.1.10.1 1999/12/07 20:48:51 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4Text.icc,v 1.2 1999/12/15 14:50:34 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
//
// John Allison 17/11/96.
+3 -3
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4VMarker.hh,v 1.5.2.1 1999/12/07 20:48:51 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4VMarker.hh,v 1.6 1999/12/15 14:50:34 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
//
// G4VMarker - base class for markers - circles, squares, etc.
@@ -71,7 +71,7 @@
class G4VMarker: public G4VVisPrim {
friend ostream& operator << (ostream& os, const G4VMarker& marker);
friend G4std::ostream& operator << (G4std::ostream& os, const G4VMarker& marker);
public: // With description
+2 -2
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4VMarker.icc,v 1.2.8.1 1999/12/07 20:48:51 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4VMarker.icc,v 1.4 1999/12/16 15:22:05 johna Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
//
+4 -4
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4VVisPrim.hh,v 1.4.2.1 1999/12/07 20:48:51 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4VVisPrim.hh,v 1.6 1999/12/15 16:46:08 gcosmo Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
//
// John Allison August 1995
@@ -20,13 +20,13 @@
#define G4VVISPRIM_HH
#include "G4Visible.hh"
#include "g4std/iostream"
class ostream;
class G4VisAttributes;
class G4VVisPrim: public G4Visible {
friend ostream& operator << (ostream& os, const G4VVisPrim& prim);
friend G4std::ostream& operator << (G4std::ostream& os, const G4VVisPrim& prim);
public: // With description
+2 -2
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4VVisPrim.icc,v 1.2.8.1 1999/12/07 20:48:51 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4VVisPrim.icc,v 1.3 1999/12/15 14:50:34 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
//
// John Allison August 1995
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4VisAttributes.hh,v 1.4.2.1 1999/12/07 20:48:51 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4VisAttributes.hh,v 1.5 1999/12/15 14:50:34 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
//
// John Allison 23rd October 1996
@@ -39,7 +39,7 @@
class G4VisAttributes {
friend ostream& operator << (ostream& os, const G4VisAttributes& a);
friend G4std::ostream& operator << (G4std::ostream& os, const G4VisAttributes& a);
public: // With description
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4VisAttributes.icc,v 1.2.8.1 1999/12/07 20:48:51 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4VisAttributes.icc,v 1.3 1999/12/15 14:50:34 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
//
// John Allison 18th November 1996
+3 -3
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4VisExtent.hh,v 1.3.2.1 1999/12/07 20:48:51 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4VisExtent.hh,v 1.4 1999/12/15 14:50:35 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
//
// A.Walkden 28/11/95
@@ -48,7 +48,7 @@ public: // With description
void SetYmax (G4double ymax);
void SetZmin (G4double zmin);
void SetZmax (G4double zmax);
friend ostream& operator << (ostream& os, const G4VisExtent& e);
friend G4std::ostream& operator << (G4std::ostream& os, const G4VisExtent& e);
private:
G4double fXmin, fXmax, fYmin, fYmax, fZmin, fZmax;
+4 -4
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4Visible.hh,v 1.4.2.1 1999/12/07 20:48:51 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4Visible.hh,v 1.6 1999/12/15 16:46:08 gcosmo Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
//
// John Allison 30th October 1996
@@ -23,13 +23,13 @@
#define G4VISIBLE_HH
#include "globals.hh"
#include "g4std/iostream"
class G4VisAttributes;
class ostream;
class G4Visible {
friend ostream& operator << (ostream& os, const G4Visible& v);
friend G4std::ostream& operator << (G4std::ostream& os, const G4Visible& v);
public: // With description
+2 -2
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4Visible.icc,v 1.2.8.1 1999/12/07 20:48:52 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4Visible.icc,v 1.3 1999/12/15 14:50:35 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
//
// John Allison 30th October 1996