Import Geant4 10.3.0 source tree
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4Box.hh 79491 2014-03-05 15:24:29Z gcosmo $
|
||||
// $Id: G4Box.hh 99469 2016-09-22 15:04:36Z gcosmo $
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
// GEANT 4 class header file
|
||||
@@ -75,10 +75,12 @@ class G4Box : public G4CSGSolid
|
||||
const G4int n,
|
||||
const G4VPhysicalVolume* pRep);
|
||||
|
||||
void Extent(G4ThreeVector& pMin, G4ThreeVector& pMax) const;
|
||||
|
||||
G4bool CalculateExtent(const EAxis pAxis,
|
||||
const G4VoxelLimits& pVoxelLimit,
|
||||
const G4AffineTransform& pTransform,
|
||||
G4double& pmin, G4double& pmax) const;
|
||||
G4double& pMin, G4double& pMax) const;
|
||||
|
||||
// Accessors and modifiers
|
||||
|
||||
@@ -128,13 +130,6 @@ class G4Box : public G4CSGSolid
|
||||
G4Box& operator=(const G4Box& rhs);
|
||||
// Copy constructor and assignment operator.
|
||||
|
||||
protected: // with description
|
||||
|
||||
G4ThreeVectorList*
|
||||
CreateRotatedVertices(const G4AffineTransform& pTransform) const;
|
||||
// Create the List of transformed vertices in the format required
|
||||
// for G4VSolid:: ClipCrossSection and ClipBetweenSections.
|
||||
|
||||
protected: // without description
|
||||
|
||||
enum ESide {kUndefined,kPX,kMX,kPY,kMY,kPZ,kMZ};
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4Cons.hh 79491 2014-03-05 15:24:29Z gcosmo $
|
||||
// $Id: G4Cons.hh 100820 2016-11-02 15:18:48Z gcosmo $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
@@ -105,6 +105,10 @@ class G4Cons : public G4CSGSolid
|
||||
inline G4double GetZHalfLength() const;
|
||||
inline G4double GetStartPhiAngle() const;
|
||||
inline G4double GetDeltaPhiAngle() const;
|
||||
inline G4double GetSinStartPhi() const;
|
||||
inline G4double GetCosStartPhi() const;
|
||||
inline G4double GetSinEndPhi() const;
|
||||
inline G4double GetCosEndPhi() const;
|
||||
|
||||
// Modifiers
|
||||
|
||||
@@ -125,10 +129,12 @@ class G4Cons : public G4CSGSolid
|
||||
const G4int n,
|
||||
const G4VPhysicalVolume* pRep );
|
||||
|
||||
void Extent(G4ThreeVector& pMin, G4ThreeVector& pMax) const;
|
||||
|
||||
G4bool CalculateExtent( const EAxis pAxis,
|
||||
const G4VoxelLimits& pVoxelLimit,
|
||||
const G4AffineTransform& pTransform,
|
||||
G4double& pmin, G4double& pmax ) const;
|
||||
G4double& pMin, G4double& pMax ) const;
|
||||
|
||||
EInside Inside( const G4ThreeVector& p ) const;
|
||||
|
||||
@@ -181,9 +187,6 @@ class G4Cons : public G4CSGSolid
|
||||
|
||||
private:
|
||||
|
||||
G4ThreeVectorList*
|
||||
CreateRotatedVertices(const G4AffineTransform& pTransform) const;
|
||||
|
||||
inline void Initialize();
|
||||
//
|
||||
// Reset relevant values to zero
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4Cons.icc 83572 2014-09-01 15:23:27Z gcosmo $
|
||||
// $Id: G4Cons.icc 100820 2016-11-02 15:18:48Z gcosmo $
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
// GEANT 4 inline definitions file
|
||||
@@ -76,6 +76,30 @@ G4double G4Cons::GetDeltaPhiAngle() const
|
||||
return fDPhi;
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4Cons::GetSinStartPhi() const
|
||||
{
|
||||
return sinSPhi;
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4Cons::GetCosStartPhi() const
|
||||
{
|
||||
return cosSPhi;
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4Cons::GetSinEndPhi() const
|
||||
{
|
||||
return sinEPhi;
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4Cons::GetCosEndPhi() const
|
||||
{
|
||||
return cosEPhi;
|
||||
}
|
||||
|
||||
inline
|
||||
void G4Cons::Initialize()
|
||||
{
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4CutTubs.hh 76263 2013-11-08 11:41:52Z gcosmo $
|
||||
// $Id: G4CutTubs.hh 100820 2016-11-02 15:18:48Z gcosmo $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
@@ -77,6 +77,8 @@ class G4CutTubs : public G4OTubs
|
||||
inline G4double GetCubicVolume();
|
||||
inline G4double GetSurfaceArea();
|
||||
|
||||
void Extent(G4ThreeVector& pMin, G4ThreeVector& pMax) const;
|
||||
|
||||
G4bool CalculateExtent( const EAxis pAxis,
|
||||
const G4VoxelLimits& pVoxelLimit,
|
||||
const G4AffineTransform& pTransform,
|
||||
@@ -120,12 +122,6 @@ class G4CutTubs : public G4OTubs
|
||||
|
||||
protected:
|
||||
|
||||
G4ThreeVectorList*
|
||||
CreateRotatedVertices( const G4AffineTransform& pTransform ) const;
|
||||
//
|
||||
// Creates the List of transformed vertices in the format required
|
||||
// for G4VSolid:: ClipCrossSection and ClipBetweenSections
|
||||
|
||||
G4ThreeVector ApproxSurfaceNormal( const G4ThreeVector& p ) const;
|
||||
//
|
||||
// Algorithm for SurfaceNormal() following the original
|
||||
|
||||
@@ -70,6 +70,10 @@ class G4OTubs : public G4CSGSolid
|
||||
inline G4double GetZHalfLength () const;
|
||||
inline G4double GetStartPhiAngle () const;
|
||||
inline G4double GetDeltaPhiAngle () const;
|
||||
inline G4double GetSinStartPhi () const;
|
||||
inline G4double GetCosStartPhi () const;
|
||||
inline G4double GetSinEndPhi () const;
|
||||
inline G4double GetCosEndPhi () const;
|
||||
|
||||
// Modifiers
|
||||
|
||||
@@ -84,6 +88,8 @@ class G4OTubs : public G4CSGSolid
|
||||
inline G4double GetCubicVolume();
|
||||
inline G4double GetSurfaceArea();
|
||||
|
||||
void Extent(G4ThreeVector& pMin, G4ThreeVector& pMax) const;
|
||||
|
||||
G4bool CalculateExtent( const EAxis pAxis,
|
||||
const G4VoxelLimits& pVoxelLimit,
|
||||
const G4AffineTransform& pTransform,
|
||||
@@ -135,12 +141,6 @@ class G4OTubs : public G4CSGSolid
|
||||
|
||||
protected:
|
||||
|
||||
G4ThreeVectorList*
|
||||
CreateRotatedVertices( const G4AffineTransform& pTransform ) const;
|
||||
//
|
||||
// Creates the List of transformed vertices in the format required
|
||||
// for G4VSolid:: ClipCrossSection and ClipBetweenSections
|
||||
|
||||
inline void Initialize();
|
||||
//
|
||||
// Reset relevant values to zero
|
||||
|
||||
@@ -64,6 +64,30 @@ G4double G4OTubs::GetDeltaPhiAngle () const
|
||||
return fDPhi;
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4OTubs::GetSinStartPhi () const
|
||||
{
|
||||
return sinSPhi;
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4OTubs::GetCosStartPhi () const
|
||||
{
|
||||
return cosSPhi;
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4OTubs::GetSinEndPhi () const
|
||||
{
|
||||
return sinEPhi;
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4OTubs::GetCosEndPhi () const
|
||||
{
|
||||
return cosEPhi;
|
||||
}
|
||||
|
||||
inline
|
||||
void G4OTubs::Initialize()
|
||||
{
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4Orb.hh 79491 2014-03-05 15:24:29Z gcosmo $
|
||||
// $Id: G4Orb.hh 100820 2016-11-02 15:18:48Z gcosmo $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
@@ -83,6 +83,8 @@ class G4Orb : public G4CSGSolid
|
||||
const G4int n,
|
||||
const G4VPhysicalVolume* pRep);
|
||||
|
||||
void Extent(G4ThreeVector& pMin, G4ThreeVector& pMax) const;
|
||||
|
||||
G4bool CalculateExtent(const EAxis pAxis,
|
||||
const G4VoxelLimits& pVoxelLimit,
|
||||
const G4AffineTransform& pTransform,
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4Para.hh 79491 2014-03-05 15:24:29Z gcosmo $
|
||||
// $Id: G4Para.hh 99509 2016-09-26 07:48:56Z gcosmo $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
@@ -116,6 +116,8 @@ class G4Para : public G4CSGSolid
|
||||
const G4int n,
|
||||
const G4VPhysicalVolume* pRep);
|
||||
|
||||
void Extent(G4ThreeVector& pMin, G4ThreeVector& pMax) const;
|
||||
|
||||
G4bool CalculateExtent(const EAxis pAxis,
|
||||
const G4VoxelLimits& pVoxelLimit,
|
||||
const G4AffineTransform& pTransform,
|
||||
@@ -158,11 +160,6 @@ class G4Para : public G4CSGSolid
|
||||
G4Para& operator=(const G4Para& rhs);
|
||||
// Copy constructor and assignment operator.
|
||||
|
||||
protected: // without description
|
||||
|
||||
G4ThreeVectorList*
|
||||
CreateRotatedVertices(const G4AffineTransform& pTransform) const;
|
||||
|
||||
private:
|
||||
|
||||
G4ThreeVector ApproxSurfaceNormal( const G4ThreeVector& p) const;
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4Sphere.hh 79491 2014-03-05 15:24:29Z gcosmo $
|
||||
// $Id: G4Sphere.hh 100820 2016-11-02 15:18:48Z gcosmo $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
@@ -108,6 +108,14 @@ class G4Sphere : public G4CSGSolid
|
||||
inline G4double GetDeltaPhiAngle () const;
|
||||
inline G4double GetStartThetaAngle() const;
|
||||
inline G4double GetDeltaThetaAngle() const;
|
||||
inline G4double GetSinStartPhi () const;
|
||||
inline G4double GetCosStartPhi () const;
|
||||
inline G4double GetSinEndPhi () const;
|
||||
inline G4double GetCosEndPhi () const;
|
||||
inline G4double GetSinStartTheta () const;
|
||||
inline G4double GetCosStartTheta () const;
|
||||
inline G4double GetSinEndTheta () const;
|
||||
inline G4double GetCosEndTheta () const;
|
||||
|
||||
// Modifiers
|
||||
|
||||
@@ -127,6 +135,8 @@ class G4Sphere : public G4CSGSolid
|
||||
const G4int n,
|
||||
const G4VPhysicalVolume* pRep);
|
||||
|
||||
void Extent(G4ThreeVector& pMin, G4ThreeVector& pMax) const;
|
||||
|
||||
G4bool CalculateExtent(const EAxis pAxis,
|
||||
const G4VoxelLimits& pVoxelLimit,
|
||||
const G4AffineTransform& pTransform,
|
||||
@@ -188,13 +198,6 @@ class G4Sphere : public G4CSGSolid
|
||||
|
||||
private:
|
||||
|
||||
G4ThreeVectorList*
|
||||
CreateRotatedVertices(const G4AffineTransform& pTransform,
|
||||
G4int& noPolygonVertices) const;
|
||||
//
|
||||
// Creates the List of transformed vertices in the format required
|
||||
// for G4VSolid:: ClipCrossSection and ClipBetweenSections
|
||||
|
||||
inline void Initialize();
|
||||
//
|
||||
// Reset relevant values to zero
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4Sphere.icc 83572 2014-09-01 15:23:27Z gcosmo $
|
||||
// $Id: G4Sphere.icc 100820 2016-11-02 15:18:48Z gcosmo $
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
// GEANT 4 inline definitions file
|
||||
@@ -75,6 +75,54 @@ G4double G4Sphere::GetDeltaThetaAngle() const
|
||||
return fDTheta;
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4Sphere::GetSinStartPhi () const
|
||||
{
|
||||
return sinSPhi;
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4Sphere::GetCosStartPhi () const
|
||||
{
|
||||
return cosSPhi;
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4Sphere::GetSinEndPhi () const
|
||||
{
|
||||
return sinEPhi;
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4Sphere::GetCosEndPhi () const
|
||||
{
|
||||
return cosEPhi;
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4Sphere::GetSinStartTheta () const
|
||||
{
|
||||
return sinSTheta;
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4Sphere::GetCosStartTheta () const
|
||||
{
|
||||
return cosSTheta;
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4Sphere::GetSinEndTheta () const
|
||||
{
|
||||
return sinETheta;
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4Sphere::GetCosEndTheta () const
|
||||
{
|
||||
return cosETheta;
|
||||
}
|
||||
|
||||
inline
|
||||
void G4Sphere::Initialize()
|
||||
{
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4Torus.hh 92393 2015-08-31 14:07:30Z gcosmo $
|
||||
// $Id: G4Torus.hh 100820 2016-11-02 15:18:48Z gcosmo $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
@@ -56,15 +56,6 @@
|
||||
// - Construct a torus with the given name and dimensions.
|
||||
// The angles are provided is radians. pRtor >= pRmax
|
||||
//
|
||||
//
|
||||
// Protected:
|
||||
//
|
||||
// G4ThreeVectorList*
|
||||
// CreateRotatedVertices(const G4AffineTransform& pTransform) const
|
||||
//
|
||||
// - Create the List of transformed vertices in the format required
|
||||
// for G4VSolid:: ClipCrossSection and ClipBetweenSections.
|
||||
//
|
||||
// Member Data:
|
||||
//
|
||||
// fRmin Inside radius
|
||||
@@ -129,6 +120,10 @@ class G4Torus : public G4CSGSolid
|
||||
inline G4double GetRtor() const;
|
||||
inline G4double GetSPhi() const;
|
||||
inline G4double GetDPhi() const;
|
||||
inline G4double GetSinStartPhi () const;
|
||||
inline G4double GetCosStartPhi () const;
|
||||
inline G4double GetSinEndPhi () const;
|
||||
inline G4double GetCosEndPhi () const;
|
||||
|
||||
// Methods of solid
|
||||
|
||||
@@ -136,6 +131,7 @@ class G4Torus : public G4CSGSolid
|
||||
inline G4double GetSurfaceArea();
|
||||
|
||||
EInside Inside(const G4ThreeVector& p) const;
|
||||
void Extent(G4ThreeVector& pMin, G4ThreeVector& pMax) const;
|
||||
G4bool CalculateExtent(const EAxis pAxis,
|
||||
const G4VoxelLimits& pVoxelLimit,
|
||||
const G4AffineTransform& pTransform,
|
||||
@@ -190,10 +186,6 @@ class G4Torus : public G4CSGSolid
|
||||
G4double r,
|
||||
G4bool IsDistanceToIn) const;
|
||||
|
||||
G4ThreeVectorList*
|
||||
CreateRotatedVertices(const G4AffineTransform& pTransform,
|
||||
G4int& noPolygonVertices) const;
|
||||
|
||||
G4ThreeVector ApproxSurfaceNormal( const G4ThreeVector& p) const;
|
||||
// Algorithm for SurfaceNormal() following the original
|
||||
// specification for points not on the surface
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4Torus.icc 66356 2012-12-18 09:02:32Z gcosmo $
|
||||
// $Id: G4Torus.icc 100820 2016-11-02 15:18:48Z gcosmo $
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
// GEANT 4 inline definitions file
|
||||
@@ -64,6 +64,30 @@ G4double G4Torus::GetDPhi() const
|
||||
return fDPhi ;
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4Torus::GetSinStartPhi () const
|
||||
{
|
||||
return std::sin(fSPhi);
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4Torus::GetCosStartPhi () const
|
||||
{
|
||||
return std::cos(fSPhi);
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4Torus::GetSinEndPhi () const
|
||||
{
|
||||
return std::sin(fSPhi+fDPhi);
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4Torus::GetCosEndPhi () const
|
||||
{
|
||||
return std::cos(fSPhi+fDPhi);
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4Torus::GetCubicVolume()
|
||||
{
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4Trap.hh 83851 2014-09-19 10:12:12Z gcosmo $
|
||||
// $Id: G4Trap.hh 99509 2016-09-26 07:48:56Z gcosmo $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
@@ -206,6 +206,8 @@ class G4Trap : public G4CSGSolid
|
||||
const G4int n,
|
||||
const G4VPhysicalVolume* pRep );
|
||||
|
||||
void Extent(G4ThreeVector& pMin, G4ThreeVector& pMax) const;
|
||||
|
||||
G4bool CalculateExtent( const EAxis pAxis,
|
||||
const G4VoxelLimits& pVoxelLimit,
|
||||
const G4AffineTransform& pTransform,
|
||||
@@ -258,12 +260,6 @@ class G4Trap : public G4CSGSolid
|
||||
const G4ThreeVector& p4,
|
||||
TrapSidePlane& plane ) ;
|
||||
|
||||
G4ThreeVectorList*
|
||||
CreateRotatedVertices( const G4AffineTransform& pTransform ) const;
|
||||
//
|
||||
// Creates the List of transformed vertices in the format required
|
||||
// for G4CSGSolid:: ClipCrossSection and ClipBetweenSections
|
||||
|
||||
private:
|
||||
|
||||
G4ThreeVector ApproxSurfaceNormal( const G4ThreeVector& p ) const;
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4Trd.hh 79491 2014-03-05 15:24:29Z gcosmo $
|
||||
// $Id: G4Trd.hh 99509 2016-09-26 07:48:56Z gcosmo $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
@@ -109,6 +109,8 @@ class G4Trd : public G4CSGSolid
|
||||
const G4int n,
|
||||
const G4VPhysicalVolume* pRep );
|
||||
|
||||
void Extent(G4ThreeVector& pMin, G4ThreeVector& pMax) const;
|
||||
|
||||
G4bool CalculateExtent( const EAxis pAxis,
|
||||
const G4VoxelLimits& pVoxelLimit,
|
||||
const G4AffineTransform& pTransform,
|
||||
@@ -166,12 +168,6 @@ class G4Trd : public G4CSGSolid
|
||||
G4Trd& operator=(const G4Trd& rhs);
|
||||
// Copy constructor and assignment operator.
|
||||
|
||||
G4ThreeVectorList*
|
||||
CreateRotatedVertices( const G4AffineTransform& pTransform ) const;
|
||||
//
|
||||
// Creates the List of transformed vertices in the format required
|
||||
// for G4CSGSolid:: ClipCrossSection and ClipBetweenSections
|
||||
|
||||
G4ThreeVector ApproxSurfaceNormal( const G4ThreeVector& p ) const;
|
||||
// Algorithm for SurfaceNormal() following the original
|
||||
// specification for points not on the surface
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4Tubs.hh 79491 2014-03-05 15:24:29Z gcosmo $
|
||||
// $Id: G4Tubs.hh 100820 2016-11-02 15:18:48Z gcosmo $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
@@ -106,6 +106,10 @@ class G4Tubs : public G4CSGSolid
|
||||
inline G4double GetZHalfLength () const;
|
||||
inline G4double GetStartPhiAngle () const;
|
||||
inline G4double GetDeltaPhiAngle () const;
|
||||
inline G4double GetSinStartPhi () const;
|
||||
inline G4double GetCosStartPhi () const;
|
||||
inline G4double GetSinEndPhi () const;
|
||||
inline G4double GetCosEndPhi () const;
|
||||
|
||||
// Modifiers
|
||||
|
||||
@@ -124,6 +128,8 @@ class G4Tubs : public G4CSGSolid
|
||||
const G4int n,
|
||||
const G4VPhysicalVolume* pRep );
|
||||
|
||||
void Extent(G4ThreeVector& pMin, G4ThreeVector& pMax) const;
|
||||
|
||||
G4bool CalculateExtent( const EAxis pAxis,
|
||||
const G4VoxelLimits& pVoxelLimit,
|
||||
const G4AffineTransform& pTransform,
|
||||
@@ -175,12 +181,6 @@ class G4Tubs : public G4CSGSolid
|
||||
|
||||
protected:
|
||||
|
||||
G4ThreeVectorList*
|
||||
CreateRotatedVertices( const G4AffineTransform& pTransform ) const;
|
||||
//
|
||||
// Creates the List of transformed vertices in the format required
|
||||
// for G4VSolid:: ClipCrossSection and ClipBetweenSections
|
||||
|
||||
inline void Initialize();
|
||||
//
|
||||
// Reset relevant values to zero
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4Tubs.icc 83572 2014-09-01 15:23:27Z gcosmo $
|
||||
// $Id: G4Tubs.icc 100820 2016-11-02 15:18:48Z gcosmo $
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
// GEANT 4 inline definitions file
|
||||
@@ -64,6 +64,30 @@ G4double G4Tubs::GetDeltaPhiAngle () const
|
||||
return fDPhi;
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4Tubs::GetSinStartPhi () const
|
||||
{
|
||||
return sinSPhi;
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4Tubs::GetCosStartPhi () const
|
||||
{
|
||||
return cosSPhi;
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4Tubs::GetSinEndPhi () const
|
||||
{
|
||||
return sinEPhi;
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4Tubs::GetCosEndPhi () const
|
||||
{
|
||||
return cosEPhi;
|
||||
}
|
||||
|
||||
inline
|
||||
void G4Tubs::Initialize()
|
||||
{
|
||||
|
||||
@@ -77,6 +77,13 @@ class G4UBox : public G4USolid
|
||||
|
||||
inline G4GeometryType GetEntityType() const;
|
||||
|
||||
void Extent(G4ThreeVector& pMin, G4ThreeVector& pMax) const;
|
||||
|
||||
G4bool CalculateExtent(const EAxis pAxis,
|
||||
const G4VoxelLimits& pVoxelLimit,
|
||||
const G4AffineTransform& pTransform,
|
||||
G4double& pMin, G4double& pMax) const;
|
||||
|
||||
G4Polyhedron* CreatePolyhedron() const;
|
||||
|
||||
public: // without description
|
||||
|
||||
@@ -79,6 +79,10 @@ class G4UCons : public G4USolid
|
||||
G4double GetZHalfLength() const;
|
||||
G4double GetStartPhiAngle() const;
|
||||
G4double GetDeltaPhiAngle() const;
|
||||
G4double GetSinStartPhi() const;
|
||||
G4double GetCosStartPhi() const;
|
||||
G4double GetSinEndPhi() const;
|
||||
G4double GetCosEndPhi() const;
|
||||
|
||||
void SetInnerRadiusMinusZ (G4double Rmin1 );
|
||||
void SetOuterRadiusMinusZ (G4double Rmax1 );
|
||||
@@ -90,6 +94,13 @@ class G4UCons : public G4USolid
|
||||
|
||||
inline G4GeometryType GetEntityType() const;
|
||||
|
||||
void Extent(G4ThreeVector& pMin, G4ThreeVector& pMax) const;
|
||||
|
||||
G4bool CalculateExtent(const EAxis pAxis,
|
||||
const G4VoxelLimits& pVoxelLimit,
|
||||
const G4AffineTransform& pTransform,
|
||||
G4double& pMin, G4double& pMax) const;
|
||||
|
||||
G4Polyhedron* CreatePolyhedron() const;
|
||||
|
||||
public: // without description
|
||||
|
||||
@@ -71,6 +71,13 @@ class G4UOrb : public G4USolid
|
||||
|
||||
inline G4GeometryType GetEntityType() const;
|
||||
|
||||
void Extent(G4ThreeVector& pMin, G4ThreeVector& pMax) const;
|
||||
|
||||
G4bool CalculateExtent(const EAxis pAxis,
|
||||
const G4VoxelLimits& pVoxelLimit,
|
||||
const G4AffineTransform& pTransform,
|
||||
G4double& pmin, G4double& pmax) const;
|
||||
|
||||
G4Polyhedron* CreatePolyhedron() const;
|
||||
|
||||
public: // without description
|
||||
|
||||
@@ -77,6 +77,14 @@ class G4USphere : public G4USolid
|
||||
G4double GetDeltaPhiAngle () const;
|
||||
G4double GetStartThetaAngle() const;
|
||||
G4double GetDeltaThetaAngle() const;
|
||||
G4double GetSinStartPhi () const;
|
||||
G4double GetCosStartPhi () const;
|
||||
G4double GetSinEndPhi () const;
|
||||
G4double GetCosEndPhi () const;
|
||||
G4double GetSinStartTheta () const;
|
||||
G4double GetCosStartTheta () const;
|
||||
G4double GetSinEndTheta () const;
|
||||
G4double GetCosEndTheta () const;
|
||||
|
||||
void SetInnerRadius (G4double newRMin);
|
||||
void SetOuterRadius (G4double newRmax);
|
||||
@@ -87,6 +95,13 @@ class G4USphere : public G4USolid
|
||||
|
||||
inline G4GeometryType GetEntityType() const;
|
||||
|
||||
void Extent(G4ThreeVector& pMin, G4ThreeVector& pMax) const;
|
||||
|
||||
G4bool CalculateExtent(const EAxis pAxis,
|
||||
const G4VoxelLimits& pVoxelLimit,
|
||||
const G4AffineTransform& pTransform,
|
||||
G4double& pMin, G4double& pMax) const;
|
||||
|
||||
G4Polyhedron* CreatePolyhedron() const;
|
||||
|
||||
public: // without description
|
||||
|
||||
@@ -74,6 +74,10 @@ class G4UTorus : public G4USolid
|
||||
G4double GetRtor() const;
|
||||
G4double GetSPhi() const;
|
||||
G4double GetDPhi() const;
|
||||
G4double GetSinStartPhi() const;
|
||||
G4double GetCosStartPhi() const;
|
||||
G4double GetSinEndPhi () const;
|
||||
G4double GetCosEndPhi () const;
|
||||
|
||||
void SetRmin(G4double arg);
|
||||
void SetRmax(G4double arg);
|
||||
@@ -86,6 +90,13 @@ class G4UTorus : public G4USolid
|
||||
|
||||
inline G4GeometryType GetEntityType() const;
|
||||
|
||||
void Extent(G4ThreeVector& pMin, G4ThreeVector& pMax) const;
|
||||
|
||||
G4bool CalculateExtent(const EAxis pAxis,
|
||||
const G4VoxelLimits& pVoxelLimit,
|
||||
const G4AffineTransform& pTransform,
|
||||
G4double& pmin, G4double& pmax) const;
|
||||
|
||||
G4Polyhedron* CreatePolyhedron() const;
|
||||
|
||||
public: // without description
|
||||
|
||||
@@ -126,6 +126,13 @@ class G4UTrap : public G4USolid
|
||||
|
||||
inline G4GeometryType GetEntityType() const;
|
||||
|
||||
void Extent(G4ThreeVector& pMin, G4ThreeVector& pMax) const;
|
||||
|
||||
G4bool CalculateExtent(const EAxis pAxis,
|
||||
const G4VoxelLimits& pVoxelLimit,
|
||||
const G4AffineTransform& pTransform,
|
||||
G4double& pMin, G4double& pMax) const;
|
||||
|
||||
G4Polyhedron* CreatePolyhedron() const;
|
||||
|
||||
public: // without description
|
||||
|
||||
@@ -87,6 +87,13 @@ class G4UTrd : public G4USolid
|
||||
|
||||
inline G4GeometryType GetEntityType() const;
|
||||
|
||||
void Extent(G4ThreeVector& pMin, G4ThreeVector& pMax) const;
|
||||
|
||||
G4bool CalculateExtent(const EAxis pAxis,
|
||||
const G4VoxelLimits& pVoxelLimit,
|
||||
const G4AffineTransform& pTransform,
|
||||
G4double& pMin, G4double& pMax) const;
|
||||
|
||||
G4Polyhedron* CreatePolyhedron() const;
|
||||
|
||||
public: // without description
|
||||
|
||||
@@ -79,6 +79,10 @@ class G4UTubs : public G4USolid
|
||||
G4double GetZHalfLength () const;
|
||||
G4double GetStartPhiAngle () const;
|
||||
G4double GetDeltaPhiAngle () const;
|
||||
G4double GetSinStartPhi () const;
|
||||
G4double GetCosStartPhi () const;
|
||||
G4double GetSinEndPhi () const;
|
||||
G4double GetCosEndPhi () const;
|
||||
|
||||
void SetInnerRadius (G4double newRMin);
|
||||
void SetOuterRadius (G4double newRMax);
|
||||
@@ -88,6 +92,13 @@ class G4UTubs : public G4USolid
|
||||
|
||||
inline G4GeometryType GetEntityType() const;
|
||||
|
||||
void Extent(G4ThreeVector& pMin, G4ThreeVector& pMax) const;
|
||||
|
||||
G4bool CalculateExtent(const EAxis pAxis,
|
||||
const G4VoxelLimits& pVoxelLimit,
|
||||
const G4AffineTransform& pTransform,
|
||||
G4double& pMin, G4double& pMax) const;
|
||||
|
||||
G4Polyhedron* CreatePolyhedron() const;
|
||||
|
||||
public: // without description
|
||||
|
||||
Reference in New Issue
Block a user