Import Geant4 3.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 16:03:00 +02:00
parent cfcb558cfe
commit 137e303ecc
2843 changed files with 37082 additions and 38426 deletions
+9 -1
View File
@@ -1,4 +1,4 @@
$Id: History,v 1.25 2000/06/06 10:53:38 johna Exp $
$Id: History,v 1.27 2001/02/06 22:07:17 johna Exp $
-------------------------------------------------------------------
=========================================================
@@ -17,6 +17,14 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
6th February 2001 John Allison (greps-V03-00-01)
- More tidying for CodeWizard. Added virtual destructors to
HepPolyhedronBox, etc. Also made all constructors non-inline.
3rd February 2001 John Allison (greps-V03-00-00)
- Tidied for CodeWizard. Note: G4Circle.icc and G4VVisPrim.icc removed, so
"gmake clean" all relevant directories before updating.
5th June May 2000 Evgeni Chernaev (greps-V01-01-04)
- Bug fix in BooleanProcessor.src.
- Graceful recovery from caseIE() and caseEE() non-implementation
+2 -4
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.4 1999/12/15 14:50:31 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4Circle.hh,v 1.5 2001/02/03 18:29:36 johna Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison 17/11/96.
@@ -40,6 +40,4 @@ public: // With description
};
#include "G4Circle.icc"
#endif
-20
View File
@@ -1,20 +0,0 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4Circle.icc,v 1.3 1999/12/15 14:50:32 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// John Allison 17/11/96.
inline G4Circle::G4Circle () {}
inline G4Circle::G4Circle (const G4Point3D& pos):
G4VMarker (pos) {}
inline G4Circle::G4Circle (const G4VMarker& marker):
G4VMarker (marker) {}
+1 -1
View File
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4Color.hh,v 1.3 1999/12/15 14:50:32 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison 20th October 1996
+1 -1
View File
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4Colour.hh,v 1.5 1999/12/15 16:46:07 gcosmo Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison 20th October 1996
+1 -1
View File
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4NURBS.hh,v 1.5 1999/12/15 14:50:32 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
// Olivier Crumeyrolle 12 September 1996
+1 -1
View File
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4NURBSbox.hh,v 1.5 1999/12/15 14:50:32 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// Olivier Crumeyrolle 12 September 1996
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4NURBScylinder.hh,v 1.5 1999/12/15 14:50:32 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// Olivier Crumeyrolle 12 September 1996
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4NURBShexahedron.hh,v 1.5 1999/12/15 14:50:32 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
// Hexa hedron builder prototype
// OC 17 9 96
+1 -1
View File
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4NURBStube.hh,v 1.5 1999/12/15 14:50:32 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// Olivier Crumeyrolle 12 September 1996
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4NURBStubesector.hh,v 1.4 1999/12/15 14:50:32 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// Olivier Crumeyrolle 12 September 1996
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4PlacedPolyhedron.hh,v 1.7 1999/12/15 14:50:32 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
// Class Description:
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4Point3DList.hh,v 1.6 1999/12/15 16:46:08 gcosmo Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison July 1995
+16 -2
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.8 2000/03/30 16:01:41 stesting Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4Polyhedron.hh,v 1.9 2001/02/03 18:29:40 johna Exp $
// GEANT4 tag $Name: geant4-03-01 $
#ifndef G4POLYHEDRON_HH
#define G4POLYHEDRON_HH
@@ -85,6 +85,7 @@
class G4Polyhedron : public HepPolyhedron, public G4VVisPrim {
public:
G4Polyhedron ();
virtual ~G4Polyhedron ();
G4Polyhedron (const G4Polyhedron& from);
G4Polyhedron (const HepPolyhedron& from);
virtual G4Visible& operator = (const G4Visible& from) {
@@ -102,6 +103,7 @@ public:
class G4PolyhedronBox: public G4Polyhedron {
public:
G4PolyhedronBox (G4double dx, G4double dy, G4double dz);
virtual ~G4PolyhedronBox ();
virtual G4Visible& operator = (const G4Visible& from) {
return G4Visible::operator = (from);
}
@@ -117,6 +119,7 @@ class G4PolyhedronCone: public G4Polyhedron {
public:
G4PolyhedronCone (G4double Rmn1, G4double Rmx1,
G4double Rmn2, G4double Rmx2, G4double Dz);
virtual ~G4PolyhedronCone ();
virtual G4Visible& operator = (const G4Visible& from) {
return G4Visible::operator = (from);
}
@@ -133,6 +136,7 @@ public:
G4PolyhedronCons (G4double Rmn1, G4double Rmx1,
G4double Rmn2, G4double Rmx2, G4double Dz,
G4double Phi1, G4double Dphi);
virtual ~G4PolyhedronCons ();
virtual G4Visible& operator = (const G4Visible& from) {
return G4Visible::operator = (from);
}
@@ -148,6 +152,7 @@ class G4PolyhedronPara: public G4Polyhedron {
public:
G4PolyhedronPara (G4double Dx, G4double Dy, G4double Dz,
G4double Alpha, G4double Theta, G4double Phi);
virtual ~G4PolyhedronPara ();
virtual G4Visible& operator = (const G4Visible& from) {
return G4Visible::operator = (from);
}
@@ -165,6 +170,7 @@ public:
const G4double *z,
const G4double *rmin,
const G4double *rmax);
virtual ~G4PolyhedronPcon ();
virtual G4Visible& operator = (const G4Visible& from) {
return G4Visible::operator = (from);
}
@@ -182,6 +188,7 @@ public:
const G4double *z,
const G4double *rmin,
const G4double *rmax);
virtual ~G4PolyhedronPgon ();
virtual G4Visible& operator = (const G4Visible& from) {
return G4Visible::operator = (from);
}
@@ -198,6 +205,7 @@ public:
G4PolyhedronSphere (G4double rmin, G4double rmax,
G4double phi, G4double dphi,
G4double the, G4double dthe);
virtual ~G4PolyhedronSphere ();
virtual G4Visible& operator = (const G4Visible& from) {
return G4Visible::operator = (from);
}
@@ -213,6 +221,7 @@ class G4PolyhedronTorus: public G4Polyhedron {
public:
G4PolyhedronTorus (G4double rmin, G4double rmax, G4double rtor,
G4double phi, G4double dphi);
virtual ~G4PolyhedronTorus ();
virtual G4Visible& operator = (const G4Visible& from) {
return G4Visible::operator = (from);
}
@@ -231,6 +240,7 @@ public:
G4double Dx1, G4double Dx2, G4double Alp1,
G4double Dy2,
G4double Dx3, G4double Dx4, G4double Alp2);
virtual ~G4PolyhedronTrap ();
virtual G4Visible& operator = (const G4Visible& from) {
return G4Visible::operator = (from);
}
@@ -246,6 +256,7 @@ class G4PolyhedronTrd1: public G4Polyhedron {
public:
G4PolyhedronTrd1 (G4double Dx1, G4double Dx2,
G4double Dy, G4double Dz);
virtual ~G4PolyhedronTrd1 ();
virtual G4Visible& operator = (const G4Visible& from) {
return G4Visible::operator = (from);
}
@@ -261,6 +272,7 @@ class G4PolyhedronTrd2: public G4Polyhedron {
public:
G4PolyhedronTrd2 (G4double Dx1, G4double Dx2,
G4double Dy1, G4double Dy2, G4double Dz);
virtual ~G4PolyhedronTrd2 ();
virtual G4Visible& operator = (const G4Visible& from) {
return G4Visible::operator = (from);
}
@@ -275,6 +287,7 @@ public:
class G4PolyhedronTube: public G4Polyhedron {
public:
G4PolyhedronTube (G4double Rmin, G4double Rmax, G4double Dz);
virtual ~G4PolyhedronTube ();
virtual G4Visible& operator = (const G4Visible& from) {
return G4Visible::operator = (from);
}
@@ -290,6 +303,7 @@ class G4PolyhedronTubs: public G4Polyhedron {
public:
G4PolyhedronTubs (G4double Rmin, G4double Rmax, G4double Dz,
G4double Phi1, G4double Dphi);
virtual ~G4PolyhedronTubs ();
virtual G4Visible& operator = (const G4Visible& from) {
return G4Visible::operator = (from);
}
+3 -4
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.5 1999/12/15 14:50:33 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4Polyline.hh,v 1.6 2001/02/03 18:29:42 johna Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison July 1995
@@ -31,11 +31,10 @@ public: // With description
G4Polyline ();
G4Polyline (const G4VVisPrim& prim);
virtual ~G4Polyline ();
virtual G4Visible& operator = (const G4Visible& right);
virtual G4VVisPrim& operator = (const G4VVisPrim& right);
virtual G4Polyline& operator = (const G4Polyline& right);
};
inline G4Polyline::G4Polyline () {}
#endif
+3 -2
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.5 1999/12/15 14:50:33 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4Polymarker.hh,v 1.6 2001/02/03 18:29:43 johna Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison November 1996
@@ -29,6 +29,7 @@ public: // With description
friend G4std::ostream& operator << (G4std::ostream& os, const G4Polymarker& marker);
enum MarkerType {line, dots, circles, squares};
G4Polymarker ();
virtual ~G4Polymarker ();
virtual G4Visible& operator = (const G4Visible& right);
virtual G4VVisPrim& operator = (const G4VVisPrim& right);
virtual G4VMarker& operator = (const G4VMarker& right);
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4Polymarker.icc,v 1.2 1999/12/15 14:50:33 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison November 1996
+1 -1
View File
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4Square.hh,v 1.4 1999/12/15 14:50:34 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison 17/11/96.
+1 -1
View File
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4Square.icc,v 1.2 1999/12/15 14:50:34 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison 17/11/96.
+3 -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.5 1999/12/15 14:50:34 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4Text.hh,v 1.6 2001/02/03 18:29:45 johna Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison 17/11/96.
@@ -60,6 +60,7 @@ public: // With description
G4Text (const G4String& text);
G4Text (const G4String& text, const G4Point3D& pos);
G4Text (const G4VMarker& marker);
virtual ~G4Text ();
virtual G4Visible& operator = (const G4Visible& from);
virtual G4VVisPrim& operator = (const G4VVisPrim& from);
+1 -1
View File
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4Text.icc,v 1.2 1999/12/15 14:50:34 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison 17/11/96.
+1 -1
View File
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VMarker.hh,v 1.6 1999/12/15 14:50:34 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// G4VMarker - base class for markers - circles, squares, etc.
+2 -27
View File
@@ -5,36 +5,11 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4VMarker.icc,v 1.4 1999/12/16 15:22:05 johna Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4VMarker.icc,v 1.5 2001/02/03 18:29:46 johna Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
inline G4VMarker::G4VMarker ():
fPosition (G4Point3D ()),
fWorldSize (0.),
fScreenSize (0.),
fFillStyle (noFill),
fInfo()
{}
inline G4VMarker::G4VMarker (const G4VMarker& marker):
G4VVisPrim (marker),
fPosition (marker.fPosition),
fWorldSize (marker.fWorldSize),
fScreenSize (marker.fScreenSize),
fFillStyle (marker.fFillStyle),
fInfo (marker.fInfo)
{}
inline G4VMarker::G4VMarker (const G4Point3D& pos):
fPosition (pos),
fWorldSize (0.),
fScreenSize (0.),
fFillStyle (noFill),
fInfo ()
{}
inline G4Point3D G4VMarker::GetPosition () const {
return fPosition;
}
+2 -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.6 1999/12/15 16:46:08 gcosmo Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4VVisPrim.hh,v 1.7 2001/02/03 18:29:47 johna Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison August 1995
@@ -43,6 +43,4 @@ public: // With description
};
#include "G4VVisPrim.icc"
#endif
@@ -1,23 +0,0 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4VVisPrim.icc,v 1.3 1999/12/15 14:50:34 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
//
//
// John Allison August 1995
inline G4VVisPrim::G4VVisPrim () {}
inline G4VVisPrim::G4VVisPrim (const G4VVisPrim& prim):
G4Visible (prim)
{}
inline G4VVisPrim::G4VVisPrim (const G4VisAttributes* pVA):
G4Visible (pVA)
{}
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisAttributes.hh,v 1.6 2000/05/13 09:33:37 johna Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison 23rd October 1996
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisAttributes.icc,v 1.3 1999/12/15 14:50:34 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison 18th November 1996
+1 -1
View File
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisExtent.hh,v 1.4 1999/12/15 14:50:35 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// A.Walkden 28/11/95
+1 -1
View File
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4Visible.hh,v 1.6 1999/12/15 16:46:08 gcosmo Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison 30th October 1996
+1 -1
View File
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4Visible.icc,v 1.3 1999/12/15 14:50:35 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison 30th October 1996
+22 -16
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: HepPolyhedron.h,v 1.4 2000/04/18 10:03:06 evc Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: HepPolyhedron.h,v 1.5 2001/02/06 22:07:49 johna Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// Class Description:
@@ -309,6 +309,7 @@ class HepPolyhedronTrd2 : public HepPolyhedron {
public:
HepPolyhedronTrd2(HepDouble Dx1, HepDouble Dx2,
HepDouble Dy1, HepDouble Dy2, HepDouble Dz);
virtual ~HepPolyhedronTrd2();
virtual HepPolyhedron& operator = (const HepPolyhedron& from) {
return HepPolyhedron::operator = (from);
}
@@ -317,8 +318,8 @@ class HepPolyhedronTrd2 : public HepPolyhedron {
class HepPolyhedronTrd1 : public HepPolyhedronTrd2 {
public:
HepPolyhedronTrd1(HepDouble Dx1, HepDouble Dx2,
HepDouble Dy, HepDouble Dz) :
HepPolyhedronTrd2(Dx1, Dx2, Dy, Dy, Dz) {}
HepDouble Dy, HepDouble Dz);
virtual ~HepPolyhedronTrd1();
virtual HepPolyhedron& operator = (const HepPolyhedron& from) {
return HepPolyhedron::operator = (from);
}
@@ -326,8 +327,8 @@ class HepPolyhedronTrd1 : public HepPolyhedronTrd2 {
class HepPolyhedronBox : public HepPolyhedronTrd2 {
public:
HepPolyhedronBox(HepDouble Dx, HepDouble Dy, HepDouble Dz) :
HepPolyhedronTrd2(Dx, Dx, Dy, Dy, Dz) {}
HepPolyhedronBox(HepDouble Dx, HepDouble Dy, HepDouble Dz);
virtual ~HepPolyhedronBox();
virtual HepPolyhedron& operator = (const HepPolyhedron& from) {
return HepPolyhedron::operator = (from);
}
@@ -340,6 +341,7 @@ public:
HepDouble Dx1, HepDouble Dx2, HepDouble Alp1,
HepDouble Dy2,
HepDouble Dx3, HepDouble Dx4, HepDouble Alp2);
virtual ~HepPolyhedronTrap();
virtual HepPolyhedron& operator = (const HepPolyhedron& from) {
return HepPolyhedron::operator = (from);
}
@@ -348,8 +350,8 @@ public:
class HepPolyhedronPara : public HepPolyhedronTrap {
public:
HepPolyhedronPara(HepDouble Dx, HepDouble Dy, HepDouble Dz,
HepDouble Alpha, HepDouble Theta, HepDouble Phi) :
HepPolyhedronTrap(Dz, Theta, Phi, Dy, Dx, Dx, Alpha, Dy, Dx, Dx, Alpha) {}
HepDouble Alpha, HepDouble Theta, HepDouble Phi);
virtual ~HepPolyhedronPara();
virtual HepPolyhedron& operator = (const HepPolyhedron& from) {
return HepPolyhedron::operator = (from);
}
@@ -360,6 +362,7 @@ public:
HepPolyhedronCons(HepDouble Rmn1, HepDouble Rmx1,
HepDouble Rmn2, HepDouble Rmx2, HepDouble Dz,
HepDouble Phi1, HepDouble Dphi);
virtual ~HepPolyhedronCons();
virtual HepPolyhedron& operator = (const HepPolyhedron& from) {
return HepPolyhedron::operator = (from);
}
@@ -368,8 +371,8 @@ public:
class HepPolyhedronCone : public HepPolyhedronCons {
public:
HepPolyhedronCone(HepDouble Rmn1, HepDouble Rmx1,
HepDouble Rmn2, HepDouble Rmx2, HepDouble Dz)
: HepPolyhedronCons(Rmn1, Rmx1, Rmn2, Rmx2, Dz, 0*deg, 360*deg) {}
HepDouble Rmn2, HepDouble Rmx2, HepDouble Dz);
virtual ~HepPolyhedronCone();
virtual HepPolyhedron& operator = (const HepPolyhedron& from) {
return HepPolyhedron::operator = (from);
}
@@ -378,8 +381,8 @@ public:
class HepPolyhedronTubs : public HepPolyhedronCons {
public:
HepPolyhedronTubs(HepDouble Rmin, HepDouble Rmax, HepDouble Dz,
HepDouble Phi1, HepDouble Dphi)
: HepPolyhedronCons(Rmin, Rmax, Rmin, Rmax, Dz, Phi1, Dphi) {}
HepDouble Phi1, HepDouble Dphi);
virtual ~HepPolyhedronTubs();
virtual HepPolyhedron& operator = (const HepPolyhedron& from) {
return HepPolyhedron::operator = (from);
}
@@ -387,8 +390,8 @@ public:
class HepPolyhedronTube : public HepPolyhedronCons {
public:
HepPolyhedronTube (HepDouble Rmin, HepDouble Rmax, HepDouble Dz)
: HepPolyhedronCons(Rmin, Rmax, Rmin, Rmax, Dz, 0*deg, 360*deg) {}
HepPolyhedronTube (HepDouble Rmin, HepDouble Rmax, HepDouble Dz);
virtual ~HepPolyhedronTube();
virtual HepPolyhedron& operator = (const HepPolyhedron& from) {
return HepPolyhedron::operator = (from);
}
@@ -400,6 +403,7 @@ public:
const HepDouble *z,
const HepDouble *rmin,
const HepDouble *rmax);
virtual ~HepPolyhedronPgon();
virtual HepPolyhedron& operator = (const HepPolyhedron& from) {
return HepPolyhedron::operator = (from);
}
@@ -410,8 +414,8 @@ public:
HepPolyhedronPcon(HepDouble phi, HepDouble dphi, int nz,
const HepDouble *z,
const HepDouble *rmin,
const HepDouble *rmax)
: HepPolyhedronPgon(phi, dphi, 0, nz, z, rmin, rmax) {}
const HepDouble *rmax);
virtual ~HepPolyhedronPcon();
virtual HepPolyhedron& operator = (const HepPolyhedron& from) {
return HepPolyhedron::operator = (from);
}
@@ -422,6 +426,7 @@ public:
HepPolyhedronSphere(HepDouble rmin, HepDouble rmax,
HepDouble phi, HepDouble dphi,
HepDouble the, HepDouble dthe);
virtual ~HepPolyhedronSphere();
virtual HepPolyhedron& operator = (const HepPolyhedron& from) {
return HepPolyhedron::operator = (from);
}
@@ -431,6 +436,7 @@ class HepPolyhedronTorus : public HepPolyhedron {
public:
HepPolyhedronTorus(HepDouble rmin, HepDouble rmax, HepDouble rtor,
HepDouble phi, HepDouble dphi);
virtual ~HepPolyhedronTorus();
virtual HepPolyhedron& operator = (const HepPolyhedron& from) {
return HepPolyhedron::operator = (from);
}
+10 -2
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4Circle.cc,v 1.2 1999/12/15 14:50:35 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4Circle.cc,v 1.3 2001/02/03 18:29:52 johna Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
@@ -14,6 +14,14 @@
#include "G4VisAttributes.hh"
G4Circle::G4Circle () {}
G4Circle::G4Circle (const G4Point3D& pos):
G4VMarker (pos) {}
G4Circle::G4Circle (const G4VMarker& marker):
G4VMarker (marker) {}
G4Circle::~G4Circle () {}
G4Visible & G4Circle::operator = (const G4Visible &right) {
+1 -1
View File
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4Colour.cc,v 1.3 1999/12/15 14:50:35 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison 20th October 1996
+1 -1
View File
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4NURBS.cc,v 1.3 1999/12/15 14:50:35 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// Olivier Crumeyrolle 12 September 1996
+1 -1
View File
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4NURBSbox.cc,v 1.3 1999/12/15 14:50:35 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// Olivier Crumeyrolle 12 September 1996
+1 -1
View File
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4NURBScylinder.cc,v 1.3 1999/12/15 14:50:35 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// Olivier Crumeyrolle 12 September 1996
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4NURBShexahedron.cc,v 1.3 1999/12/15 14:50:36 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
// hexahedron implementation
// OC 17 9 96
+1 -1
View File
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4NURBStube.cc,v 1.3 1999/12/15 14:50:36 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// Olivier Crumeyrolle 12 September 1996
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4NURBStubesector.cc,v 1.4 1999/12/15 14:50:36 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// Olivier Crumeyrolle 12 September 1996
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4PlacedPolyhedron.cc,v 1.2 1999/12/15 14:50:36 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
#include "G4PlacedPolyhedron.hh"
+1 -1
View File
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4Point3DList.cc,v 1.3 1999/12/15 14:50:36 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison July 1995
+30 -2
View File
@@ -5,13 +5,15 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4Polyhedron.cc,v 1.9 2000/02/23 16:57:36 johna Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4Polyhedron.cc,v 1.10 2001/02/03 18:29:53 johna Exp $
// GEANT4 tag $Name: geant4-03-01 $
#include "G4Polyhedron.hh"
G4Polyhedron::G4Polyhedron () {}
G4Polyhedron::~G4Polyhedron () {}
G4Polyhedron::G4Polyhedron (const G4Polyhedron& from) {
*this = from;
}
@@ -30,26 +32,36 @@ G4Polyhedron& G4Polyhedron::operator = (const G4Polyhedron& from) {
G4PolyhedronBox::G4PolyhedronBox (G4double dx, G4double dy, G4double dz):
G4Polyhedron (HepPolyhedronBox (dx, dy, dz)) {}
G4PolyhedronBox::~G4PolyhedronBox () {}
G4PolyhedronCone::G4PolyhedronCone (G4double Rmn1, G4double Rmx1,
G4double Rmn2, G4double Rmx2, G4double Dz):
G4Polyhedron (HepPolyhedronCone (Rmn1, Rmx1, Rmn2, Rmx2, Dz)) {}
G4PolyhedronCone::~G4PolyhedronCone () {}
G4PolyhedronCons::G4PolyhedronCons (G4double Rmn1, G4double Rmx1,
G4double Rmn2, G4double Rmx2, G4double Dz,
G4double Phi1, G4double Dphi):
G4Polyhedron (HepPolyhedronCons (Rmn1, Rmx1, Rmn2, Rmx2, Dz, Phi1, Dphi)) {}
G4PolyhedronCons::~G4PolyhedronCons () {}
G4PolyhedronPara::G4PolyhedronPara (G4double Dx, G4double Dy, G4double Dz,
G4double Alpha, G4double Theta,
G4double Phi):
G4Polyhedron (HepPolyhedronPara (Dx, Dy, Dz, Alpha, Theta, Phi)) {}
G4PolyhedronPara::~G4PolyhedronPara () {}
G4PolyhedronPcon::G4PolyhedronPcon (G4double phi, G4double dphi, G4int nz,
const G4double *z,
const G4double *rmin,
const G4double *rmax):
G4Polyhedron (HepPolyhedronPcon (phi, dphi, nz, z, rmin, rmax)) {}
G4PolyhedronPcon::~G4PolyhedronPcon () {}
G4PolyhedronPgon::G4PolyhedronPgon (G4double phi, G4double dphi, G4int npdv,
G4int nz,
const G4double *z,
@@ -57,16 +69,22 @@ G4PolyhedronPgon::G4PolyhedronPgon (G4double phi, G4double dphi, G4int npdv,
const G4double *rmax):
G4Polyhedron (HepPolyhedronPgon (phi, dphi, npdv, nz, z, rmin, rmax)) {}
G4PolyhedronPgon::~G4PolyhedronPgon () {}
G4PolyhedronSphere::G4PolyhedronSphere (G4double rmin, G4double rmax,
G4double phi, G4double dphi,
G4double the, G4double dthe):
G4Polyhedron (HepPolyhedronSphere (rmin, rmax, phi, dphi, the, dthe)) {}
G4PolyhedronSphere::~G4PolyhedronSphere () {}
G4PolyhedronTorus::G4PolyhedronTorus (G4double rmin, G4double rmax,
G4double rtor,
G4double phi, G4double dphi):
G4Polyhedron (HepPolyhedronTorus (rmin, rmax, rtor, phi, dphi)) {}
G4PolyhedronTorus::~G4PolyhedronTorus () {}
G4PolyhedronTrap::G4PolyhedronTrap (G4double Dz, G4double Theta, G4double Phi,
G4double Dy1,
G4double Dx1, G4double Dx2, G4double Alp1,
@@ -75,17 +93,27 @@ G4PolyhedronTrap::G4PolyhedronTrap (G4double Dz, G4double Theta, G4double Phi,
G4Polyhedron (HepPolyhedronTrap (Dz, Theta, Phi, Dy1, Dx1, Dx2, Alp1,
Dy2, Dx3, Dx4, Alp2)) {}
G4PolyhedronTrap::~G4PolyhedronTrap () {}
G4PolyhedronTrd1::G4PolyhedronTrd1 (G4double Dx1, G4double Dx2,
G4double Dy, G4double Dz):
G4Polyhedron (HepPolyhedronTrd1 (Dx1, Dx2, Dy, Dz)) {}
G4PolyhedronTrd1::~G4PolyhedronTrd1 () {}
G4PolyhedronTrd2::G4PolyhedronTrd2 (G4double Dx1, G4double Dx2,
G4double Dy1, G4double Dy2, G4double Dz):
G4Polyhedron (HepPolyhedronTrd2 (Dx1, Dx2, Dy1, Dy2, Dz)) {}
G4PolyhedronTrd2::~G4PolyhedronTrd2 () {}
G4PolyhedronTube::G4PolyhedronTube (G4double Rmin, G4double Rmax, G4double Dz):
G4Polyhedron (HepPolyhedronTube (Rmin, Rmax, Dz)) {}
G4PolyhedronTube::~G4PolyhedronTube () {}
G4PolyhedronTubs::G4PolyhedronTubs (G4double Rmin, G4double Rmax, G4double Dz,
G4double Phi1, G4double Dphi):
G4Polyhedron (HepPolyhedronTubs (Rmin, Rmax, Dz, Phi1, Dphi)) {}
G4PolyhedronTubs::~G4PolyhedronTubs () {}
+6 -2
View File
@@ -5,18 +5,22 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4Polyline.cc,v 1.4 1999/12/15 14:50:36 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4Polyline.cc,v 1.5 2001/02/03 18:29:55 johna Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison July 1995
#include "G4Polyline.hh"
G4Polyline::G4Polyline () {}
G4Polyline::G4Polyline (const G4VVisPrim& prim):
G4VVisPrim (prim)
{}
G4Polyline::~G4Polyline () {}
G4Visible & G4Polyline::operator = (const G4Visible &right) {
return G4Visible::operator = (right);
}
+4 -2
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4Polymarker.cc,v 1.5 1999/12/15 14:50:36 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4Polymarker.cc,v 1.6 2001/02/03 18:29:56 johna Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison November 1996
@@ -17,6 +17,8 @@ G4Polymarker::G4Polymarker ():
fMarkerType (line)
{}
G4Polymarker::~G4Polymarker () {}
G4Visible & G4Polymarker::operator = (const G4Visible &right) {
return G4Visible::operator = (right);
}
+1 -1
View File
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4Square.cc,v 1.2 1999/12/15 14:50:36 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
+4 -2
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4Text.cc,v 1.4 1999/12/15 14:50:36 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4Text.cc,v 1.5 2001/02/03 18:29:58 johna Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison 17/11/96.
@@ -33,6 +33,8 @@ fLayout (left) ,
fXOffset(0.) , fYOffset(0.)
{}
G4Text::~G4Text () {}
G4Visible & G4Text::operator = (const G4Visible &from) {
return G4Visible::operator = (from);
}
+27 -2
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4VMarker.cc,v 1.5 1999/12/15 14:50:36 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4VMarker.cc,v 1.6 2001/02/03 18:29:59 johna Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
@@ -14,6 +14,31 @@
#include "G4VisAttributes.hh"
G4VMarker::G4VMarker ():
fPosition (G4Point3D ()),
fWorldSize (0.),
fScreenSize (0.),
fFillStyle (noFill),
fInfo (G4String())
{}
G4VMarker::G4VMarker (const G4VMarker& marker):
G4VVisPrim (marker),
fPosition (marker.fPosition),
fWorldSize (marker.fWorldSize),
fScreenSize (marker.fScreenSize),
fFillStyle (marker.fFillStyle),
fInfo (marker.fInfo)
{}
G4VMarker::G4VMarker (const G4Point3D& pos):
fPosition (pos),
fWorldSize (0.),
fScreenSize (0.),
fFillStyle (noFill),
fInfo (G4String())
{}
G4VMarker::~G4VMarker () {}
G4Visible & G4VMarker::operator = (const G4Visible &right) {
+12 -2
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4VVisPrim.cc,v 1.5 1999/12/15 14:50:36 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: G4VVisPrim.cc,v 1.6 2001/02/03 18:30:00 johna Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison August 1995
@@ -15,6 +15,16 @@
#include "G4VisAttributes.hh"
#include "G4ios.hh"
G4VVisPrim::G4VVisPrim () {}
G4VVisPrim::G4VVisPrim (const G4VVisPrim& prim):
G4Visible (prim)
{}
G4VVisPrim::G4VVisPrim (const G4VisAttributes* pVA):
G4Visible (pVA)
{}
G4VVisPrim::~G4VVisPrim () {}
G4Visible& G4VVisPrim::operator = (const G4Visible& right) {
+1 -1
View File
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisAttributes.cc,v 1.5 1999/12/15 14:50:37 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison 23rd October 1996
+1 -1
View File
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4VisExtent.cc,v 1.4 1999/12/15 14:50:37 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// A.Walkden 28/11/95
+1 -1
View File
@@ -6,7 +6,7 @@
// and all its terms.
//
// $Id: G4Visible.cc,v 1.3 1999/12/15 14:50:37 gunter Exp $
// GEANT4 tag $Name: geant4-03-00 $
// GEANT4 tag $Name: geant4-03-01 $
//
//
// John Allison 30th October 1996
+60 -2
View File
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: HepPolyhedron.cc,v 1.4 2000/04/18 10:03:29 evc Exp $
// GEANT4 tag $Name: geant4-03-00 $
// $Id: HepPolyhedron.cc,v 1.5 2001/02/06 22:07:51 johna Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
//
//
@@ -1206,6 +1206,19 @@ HepPolyhedronTrd2::HepPolyhedronTrd2(HepDouble Dx1, HepDouble Dx2,
CreatePrism();
}
HepPolyhedronTrd2::~HepPolyhedronTrd2() {}
HepPolyhedronTrd1::HepPolyhedronTrd1(HepDouble Dx1, HepDouble Dx2,
HepDouble Dy, HepDouble Dz)
: HepPolyhedronTrd2(Dx1, Dx2, Dy, Dy, Dz) {}
HepPolyhedronTrd1::~HepPolyhedronTrd1() {}
HepPolyhedronBox::HepPolyhedronBox(HepDouble Dx, HepDouble Dy, HepDouble Dz)
: HepPolyhedronTrd2(Dx, Dx, Dy, Dy, Dz) {}
HepPolyhedronBox::~HepPolyhedronBox() {}
HepPolyhedronTrap::HepPolyhedronTrap(HepDouble Dz,
HepDouble Theta,
HepDouble Phi,
@@ -1259,6 +1272,15 @@ HepPolyhedronTrap::HepPolyhedronTrap(HepDouble Dz,
CreatePrism();
}
HepPolyhedronTrap::~HepPolyhedronTrap() {}
HepPolyhedronPara::HepPolyhedronPara(HepDouble Dx, HepDouble Dy, HepDouble Dz,
HepDouble Alpha, HepDouble Theta,
HepDouble Phi)
: HepPolyhedronTrap(Dz, Theta, Phi, Dy, Dx, Dx, Alpha, Dy, Dx, Dx, Alpha) {}
HepPolyhedronPara::~HepPolyhedronPara() {}
HepPolyhedronCons::HepPolyhedronCons(HepDouble Rmn1,
HepDouble Rmx1,
HepDouble Rmn2,
@@ -1335,6 +1357,28 @@ HepPolyhedronCons::HepPolyhedronCons(HepDouble Rmn1,
SetReferences();
}
HepPolyhedronCons::~HepPolyhedronCons() {}
HepPolyhedronCone::HepPolyhedronCone(HepDouble Rmn1, HepDouble Rmx1,
HepDouble Rmn2, HepDouble Rmx2,
HepDouble Dz) :
HepPolyhedronCons(Rmn1, Rmx1, Rmn2, Rmx2, Dz, 0*deg, 360*deg) {}
HepPolyhedronCone::~HepPolyhedronCone() {}
HepPolyhedronTubs::HepPolyhedronTubs(HepDouble Rmin, HepDouble Rmax,
HepDouble Dz,
HepDouble Phi1, HepDouble Dphi)
: HepPolyhedronCons(Rmin, Rmax, Rmin, Rmax, Dz, Phi1, Dphi) {}
HepPolyhedronTubs::~HepPolyhedronTubs() {}
HepPolyhedronTube::HepPolyhedronTube (HepDouble Rmin, HepDouble Rmax,
HepDouble Dz)
: HepPolyhedronCons(Rmin, Rmax, Rmin, Rmax, Dz, 0*deg, 360*deg) {}
HepPolyhedronTube::~HepPolyhedronTube () {}
HepPolyhedronPgon::HepPolyhedronPgon(HepDouble phi,
HepDouble dphi,
int npdv,
@@ -1424,6 +1468,16 @@ HepPolyhedronPgon::HepPolyhedronPgon(HepDouble phi,
delete [] rr;
}
HepPolyhedronPgon::~HepPolyhedronPgon() {}
HepPolyhedronPcon::HepPolyhedronPcon(HepDouble phi, HepDouble dphi, int nz,
const HepDouble *z,
const HepDouble *rmin,
const HepDouble *rmax)
: HepPolyhedronPgon(phi, dphi, 0, nz, z, rmin, rmax) {}
HepPolyhedronPcon::~HepPolyhedronPcon() {}
HepPolyhedronSphere::HepPolyhedronSphere(HepDouble rmin, HepDouble rmax,
HepDouble phi, HepDouble dphi,
HepDouble the, HepDouble dthe)
@@ -1519,6 +1573,8 @@ HepPolyhedronSphere::HepPolyhedronSphere(HepDouble rmin, HepDouble rmax,
delete [] rr;
}
HepPolyhedronSphere::~HepPolyhedronSphere() {}
HepPolyhedronTorus::HepPolyhedronTorus(HepDouble rmin,
HepDouble rmax,
HepDouble rtor,
@@ -1592,6 +1648,8 @@ HepPolyhedronTorus::HepPolyhedronTorus(HepDouble rmin,
delete [] rr;
}
HepPolyhedronTorus::~HepPolyhedronTorus() {}
int HepPolyhedron::fNumberOfRotationSteps = DEFAULT_NUMBER_OF_STEPS;
/***********************************************************************
* *