Import Geant4 0.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-01 15:25:35 +02:00
parent 54d6b71f95
commit b97f8d0df7
3237 changed files with 807095 additions and 0 deletions
@@ -0,0 +1,20 @@
// This code implementation is the intellectual property of
// the RD44 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: G4LorentzRotation.hh,v 2.0 1998/07/02 17:31:32 gunter Exp $
// GEANT4 tag $Name: geant4-00 $
//
#ifndef G4LorentzRotation_hh
#define G4LorentzRotation_hh
#include "globals.hh"
#include <CLHEP/Vector/LorentzRotation.h>
typedef HepLorentzRotation G4LorentzRotation;
#endif // G4LorentzRotation_hh
@@ -0,0 +1,19 @@
// This code implementation is the intellectual property of
// the RD44 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: G4LorentzVector.hh,v 2.0 1998/07/02 17:31:19 gunter Exp $
// GEANT4 tag $Name: geant4-00 $
//
#ifndef G4LorentzVector_hh
#define G4LorentzVector_hh
#include "globals.hh"
#include <CLHEP/Vector/LorentzVector.h>
typedef HepLorentzVector G4LorentzVector;
#endif // G4LorentzVector_hh
@@ -0,0 +1,19 @@
// This code implementation is the intellectual property of
// the RD44 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: G4Normal3D.hh,v 2.0 1998/07/02 17:31:21 gunter Exp $
// GEANT4 tag $Name: geant4-00 $
//
#ifndef G4NORMAL3D_HH
#define G4NORMAL3D_HH
#include "globals.hh"
#include <CLHEP/Geometry/Normal3D.h>
typedef HepNormal3D G4Normal3D;
#endif /* G4NORMAL3D_HH */
@@ -0,0 +1,21 @@
// This code implementation is the intellectual property of
// the RD44 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: G4Plane3D.hh,v 2.0 1998/07/02 17:31:22 gunter Exp $
// GEANT4 tag $Name: geant4-00 $
//
#ifndef G4PLANE3D_HH
#define G4PLANE3D_HH
#include "globals.hh"
#include "G4Point3D.hh"
#include "G4Normal3D.hh"
#include <CLHEP/Geometry/Plane3D.h>
typedef HepPlane3D G4Plane3D;
#endif /* G4PLANE3D_HH */
@@ -0,0 +1,19 @@
// This code implementation is the intellectual property of
// the RD44 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: G4Point3D.hh,v 2.0 1998/07/02 17:31:24 gunter Exp $
// GEANT4 tag $Name: geant4-00 $
//
#ifndef G4POINT3D_HH
#define G4POINT3D_HH
#include "globals.hh"
#include <CLHEP/Geometry/Point3D.h>
typedef HepPoint3D G4Point3D;
#endif /* G4POINT3D_HH */
@@ -0,0 +1,39 @@
// This code implementation is the intellectual property of
// the RD44 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: G4Transform3D.hh,v 2.0 1998/07/02 17:31:26 gunter Exp $
// GEANT4 tag $Name: geant4-00 $
//
#ifndef G4TRANSFORM3D_HH
#define G4TRANSFORM3D_HH
#include "globals.hh"
#include <CLHEP/Geometry/Transform3D.h>
typedef HepTransform3D G4Transform3D;
typedef HepRotate3D G4Rotate3D;
typedef HepRotateX3D G4RotateX3D;
typedef HepRotateY3D G4RotateY3D;
typedef HepRotateZ3D G4RotateZ3D;
typedef HepTranslate3D G4Translate3D;
typedef HepTranslateX3D G4TranslateX3D;
typedef HepTranslateY3D G4TranslateY3D;
typedef HepTranslateZ3D G4TranslateZ3D;
typedef HepReflect3D G4Reflect3D;
typedef HepReflectX3D G4ReflectX3D;
typedef HepReflectY3D G4ReflectY3D;
typedef HepReflectZ3D G4ReflectZ3D;
typedef HepScale3D G4Scale3D;
typedef HepScaleX3D G4ScaleX3D;
typedef HepScaleY3D G4ScaleY3D;
typedef HepScaleZ3D G4ScaleZ3D;
#endif /* G4TRANSFORM3D_HH */
@@ -0,0 +1,19 @@
// This code implementation is the intellectual property of
// the RD44 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: G4Vector3D.hh,v 2.0 1998/07/02 17:31:28 gunter Exp $
// GEANT4 tag $Name: geant4-00 $
//
#ifndef G4VECTOR3D_HH
#define G4VECTOR3D_HH
#include "globals.hh"
#include <CLHEP/Geometry/Vector3D.h>
typedef HepVector3D G4Vector3D;
#endif /* G4VECTOR3D_HH */
@@ -0,0 +1,67 @@
// This code implementation is the intellectual property of
// the RD44 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: geomdefs.hh,v 2.0 1998/07/02 17:31:30 gunter Exp $
// GEANT4 tag $Name: geant4-00 $
//
//
// ----------------------------------------------------------------------
// Constants, typedefs, enums for Geometry Section
//
// History:
// 30.06.95 P.Kent
#ifndef GeomDefs_hh
#define GeomDefs_hh
#include "globals.hh"
// `Infinity' - Distance returned for no intersection etc.
static const G4double kInfinity = 9.0E99;
// Thickness of shapes for Inside function / tracking.
// Should be greater than largest math error from the shape
// distance calculation routines.
// Tolerance is centred on surface: Inside routine uses a
// tolerance dx +/- kTol/2
// Note: values not `tuned', and because of approximations kRadtolerance and
// kAngTolerance may not always be used as an exact radius
static const G4double kCarTolerance = 1E-9*mm;
static const G4double kRadTolerance = 1E-9*mm;
static const G4double kAngTolerance = 1E-9*rad;
// Minimum cosine of angle between surface normal & track direction
// for exiting normal optimisation
static const double kMinExitingNormalCosine = 1E-3;
// Define axes for function params etc.
// X/Y/ZAxis = Normal Catesian axes
// Rho = Radial axis in cylindrical polar
// Radial3D = Radial axis in spherical polar
// Phi = Phi axis in cylindrical polar
enum EAxis {kXAxis,kYAxis,kZAxis,kRho,kRadial3D,kPhi};
// G4VSolid::Inside return codes
// kSurface => within tolerance of exact surface
enum EInside {kOutside,kSurface,kInside};
// kNormal = (G4PVPlacement) Conventional positioning
// kReplica = (G4PVReplica) Consumed parameterised case
// => Distances & location computed with
// simple formulae & MOTHER volume(s)
// must also be checked
// kParameterised = (G4PVParameterised) General parameterised volume
// => Distance & location computed to volumes
// after setup/modification via user object
enum EVolume {kNormal,kReplica,kParameterised};
#endif /* GeomDefs_hh */