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
+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;
/***********************************************************************
* *