Import Geant4 10.6.0 source tree

This commit is contained in:
Gabriele Cosmo
2019-12-06 15:12:28 +01:00
parent b2a62ae692
commit 5baee230e9
2997 changed files with 141580 additions and 98673 deletions
@@ -23,14 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
//
//
// --------------------------------------------------------------------
// GEANT 4 class header file
//
//
// G4Polyhedra.hh
// G4Polyhedra
//
// Class description:
//
@@ -54,11 +47,10 @@
// const G4double r[], - r coordinate of these corners
// const G4double z[] ) - z coordinate of these corners
// Author:
// David C. Williams (davidw@scipp.ucsc.edu)
// Author: David C. Williams (davidw@scipp.ucsc.edu)
// --------------------------------------------------------------------
#ifndef G4Polyhedra_hh
#define G4Polyhedra_hh
#ifndef G4POLYHEDRA_HH
#define G4POLYHEDRA_HH
#include "G4GeomTypes.hh"
@@ -104,10 +96,10 @@ class G4Polyhedra : public G4VCSGfaceted
// Methods for solid
EInside Inside( const G4ThreeVector &p ) const;
G4double DistanceToIn( const G4ThreeVector &p,
const G4ThreeVector &v ) const;
G4double DistanceToIn( const G4ThreeVector &p ) const;
EInside Inside( const G4ThreeVector& p ) const;
G4double DistanceToIn( const G4ThreeVector& p,
const G4ThreeVector& v ) const;
G4double DistanceToIn( const G4ThreeVector& p ) const;
void BoundingLimits(G4ThreeVector& pMin, G4ThreeVector& pMax) const;
G4bool CalculateExtent(const EAxis pAxis,
@@ -159,23 +151,23 @@ class G4Polyhedra : public G4VCSGfaceted
// persistency for clients requiring preallocation of memory for
// persistifiable objects.
G4Polyhedra( const G4Polyhedra &source );
G4Polyhedra &operator=( const G4Polyhedra &source );
G4Polyhedra( const G4Polyhedra& source );
G4Polyhedra& operator=( const G4Polyhedra& source );
// Copy constructor and assignment operator.
protected: // without description
void SetOriginalParameters(G4ReduciblePolygon *rz);
void SetOriginalParameters(G4ReduciblePolygon* rz);
// Sets internal parameters for the generic constructor.
void Create( G4double phiStart, // initial phi starting angle
G4double phiTotal, // total phi angle
G4int numSide, // number sides
G4ReduciblePolygon *rz ); // rz coordinates
G4ReduciblePolygon* rz ); // rz coordinates
// Generates the shape and is called by each constructor, after the
// conversion of the arguments
void CopyStuff( const G4Polyhedra &source );
void CopyStuff( const G4Polyhedra& source );
void DeleteStuff();
// Methods for generation of random points on surface
@@ -188,17 +180,16 @@ class G4Polyhedra : public G4VCSGfaceted
protected: // without description
G4int numSide; // Number of sides
G4int numSide = 0; // Number of sides
G4double startPhi; // Starting phi value (0 < phiStart < 2pi)
G4double endPhi; // end phi value (0 < endPhi-phiStart < 2pi)
G4bool phiIsOpen; // true if there is a phi segment
G4bool genericPgon; // true if created through the 2nd generic constructor
G4int numCorner; // number RZ points
G4PolyhedraSideRZ *corners; // our corners
G4PolyhedraHistorical *original_parameters; // original input parameters
G4EnclosingCylinder *enclosingCylinder;
G4bool phiIsOpen = false; // true if there is a phi segment
G4bool genericPgon = false; // true if created through 2nd generic constructor
G4int numCorner = 0; // number RZ points
G4PolyhedraSideRZ* corners = nullptr; // our corners
G4PolyhedraHistorical* original_parameters = nullptr; // original input params
G4EnclosingCylinder* enclosingCylinder = nullptr;
};
#include "G4Polyhedra.icc"