Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
|
#include <G4Tubs.hh>
Protected Types | |
enum | ESide { kNull , kRMin , kRMax , kSPhi , kEPhi , kPZ , kMZ } |
enum | ENorm { kNRMin , kNRMax , kNSPhi , kNEPhi , kNZ } |
Protected Member Functions | |
void | Initialize () |
void | CheckSPhiAngle (G4double sPhi) |
void | CheckDPhiAngle (G4double dPhi) |
void | CheckPhiAngles (G4double sPhi, G4double dPhi) |
void | InitializeTrigonometry () |
G4double | FastInverseRxy (const G4ThreeVector &pos, G4double invRad, G4double normalTolerance) const |
virtual G4ThreeVector | ApproxSurfaceNormal (const G4ThreeVector &p) const |
Protected Member Functions inherited from G4CSGSolid | |
G4double | GetRadiusInRing (G4double rmin, G4double rmax) const |
Protected Member Functions inherited from G4VSolid | |
void | CalculateClippedPolygonExtent (G4ThreeVectorList &pPolygon, const G4VoxelLimits &pVoxelLimit, const EAxis pAxis, G4double &pMin, G4double &pMax) const |
void | ClipCrossSection (G4ThreeVectorList *pVertices, const G4int pSectionIndex, const G4VoxelLimits &pVoxelLimit, const EAxis pAxis, G4double &pMin, G4double &pMax) const |
void | ClipBetweenSections (G4ThreeVectorList *pVertices, const G4int pSectionIndex, const G4VoxelLimits &pVoxelLimit, const EAxis pAxis, G4double &pMin, G4double &pMax) const |
void | ClipPolygon (G4ThreeVectorList &pPolygon, const G4VoxelLimits &pVoxelLimit, const EAxis pAxis) const |
Protected Attributes | |
G4double | kRadTolerance |
G4double | kAngTolerance |
G4double | fRMin |
G4double | fRMax |
G4double | fDz |
G4double | fSPhi |
G4double | fDPhi |
G4double | sinCPhi |
G4double | cosCPhi |
G4double | cosHDPhi |
G4double | cosHDPhiOT |
G4double | cosHDPhiIT |
G4double | sinSPhi |
G4double | cosSPhi |
G4double | sinEPhi |
G4double | cosEPhi |
G4bool | fPhiFullTube |
G4double | fInvRmax |
G4double | fInvRmin |
G4double | halfCarTolerance |
G4double | halfRadTolerance |
G4double | halfAngTolerance |
Protected Attributes inherited from G4CSGSolid | |
G4double | fCubicVolume = 0.0 |
G4double | fSurfaceArea = 0.0 |
G4bool | fRebuildPolyhedron = false |
G4Polyhedron * | fpPolyhedron = nullptr |
Protected Attributes inherited from G4VSolid | |
G4double | kCarTolerance |
Static Protected Attributes | |
static constexpr G4double | kNormTolerance = 1.0e-6 |
|
protected |
|
protected |
G4Tubs::G4Tubs | ( | const G4String & | pName, |
G4double | pRMin, | ||
G4double | pRMax, | ||
G4double | pDz, | ||
G4double | pSPhi, | ||
G4double | pDPhi | ||
) |
Definition at line 58 of file G4Tubs.cc.
G4Tubs::G4Tubs | ( | __void__ & | a | ) |
G4Tubs::G4Tubs | ( | const G4Tubs & | rhs | ) |
|
protectedvirtual |
Definition at line 598 of file G4Tubs.cc.
Referenced by SurfaceNormal().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 187 of file G4Tubs.cc.
Referenced by CalculateExtent().
|
virtual |
Implements G4VSolid.
Definition at line 230 of file G4Tubs.cc.
|
inlineprotected |
Referenced by G4Tubs().
|
inlineprotected |
|
virtual |
|
virtual |
Reimplemented from G4VSolid.
Definition at line 176 of file G4Tubs.cc.
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1759 of file G4Tubs.cc.
Referenced by G4GMocrenFileSceneHandler::AddSolid(), and G4ArrowModel::G4ArrowModel().
|
virtual |
|
virtual |
Implements G4VSolid.
Definition at line 1106 of file G4Tubs.cc.
|
virtual |
Implements G4VSolid.
Definition at line 730 of file G4Tubs.cc.
Referenced by DistanceToIn().
|
virtual |
Implements G4VSolid.
Definition at line 1572 of file G4Tubs.cc.
|
virtual |
Implements G4VSolid.
Definition at line 1150 of file G4Tubs.cc.
|
inlineprotected |
Referenced by DistanceToOut().
|
inline |
Referenced by BoundingLimits(), and CalculateExtent().
|
inline |
Referenced by BoundingLimits(), and CalculateExtent().
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), BoundingLimits(), G4tgbVolume::BuildSolidForDivision(), CalculateExtent(), G4ParameterisationTubsRho::ComputeDimensions(), G4ParameterisationTubsZ::ComputeDimensions(), G4ParameterisationTubsPhi::G4ParameterisationTubsPhi(), G4ParameterisationTubsPhi::GetMaxParameter(), G4tgbGeometryDumper::GetSolidParams(), G4GDMLWriteParamvol::Tube_dimensionsWrite(), and G4GDMLWriteSolids::TubeWrite().
|
virtual |
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), BoundingLimits(), G4tgbVolume::BuildSolidForDivision(), CalculateExtent(), G4ParameterisationTubsRho::ComputeDimensions(), G4ParameterisationTubsPhi::ComputeDimensions(), G4ParameterisationTubsZ::ComputeDimensions(), G4ParameterisationTubsRho::G4ParameterisationTubsRho(), G4ParameterisationTubsRho::GetMaxParameter(), G4tgbGeometryDumper::GetSolidParams(), G4PSCylinderSurfaceCurrent::IsSelectedSurface(), G4PSCylinderSurfaceFlux::IsSelectedSurface(), G4GDMLWriteParamvol::Tube_dimensionsWrite(), and G4GDMLWriteSolids::TubeWrite().
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), BoundingLimits(), G4tgbVolume::BuildSolidForDivision(), CalculateExtent(), G4ParameterisationTubsPhi::ComputeDimensions(), G4ParameterisationTubsZ::ComputeDimensions(), G4ParameterisationTubsRho::G4ParameterisationTubsRho(), G4ParameterisationTubsRho::GetMaxParameter(), G4tgbGeometryDumper::GetSolidParams(), G4GDMLWriteParamvol::Tube_dimensionsWrite(), and G4GDMLWriteSolids::TubeWrite().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1673 of file G4Tubs.cc.
|
inline |
Referenced by BoundingLimits(), and CalculateExtent().
|
inline |
Referenced by BoundingLimits(), and CalculateExtent().
|
inline |
Referenced by G4tgbVolume::BuildSolidForDivision(), G4ParameterisationTubsRho::ComputeDimensions(), G4ParameterisationTubsPhi::ComputeDimensions(), G4ParameterisationTubsZ::ComputeDimensions(), G4tgbGeometryDumper::GetSolidParams(), G4GDMLWriteParamvol::Tube_dimensionsWrite(), and G4GDMLWriteSolids::TubeWrite().
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), BoundingLimits(), G4tgbVolume::BuildSolidForDivision(), CalculateExtent(), G4ParameterisationTubsRho::ComputeDimensions(), G4ParameterisationTubsPhi::ComputeDimensions(), G4ParameterisationTubsZ::ComputeTransformation(), G4ParameterisationTubsZ::G4ParameterisationTubsZ(), G4ParameterisationTubsZ::GetMaxParameter(), G4tgbGeometryDumper::GetSolidParams(), G4PSCylinderSurfaceCurrent::IsSelectedSurface(), G4PSCylinderSurfaceFlux::IsSelectedSurface(), G4GDMLWriteParamvol::Tube_dimensionsWrite(), and G4GDMLWriteSolids::TubeWrite().
|
inlineprotected |
|
inlineprotected |
|
virtual |
Implements G4VSolid.
Definition at line 340 of file G4Tubs.cc.
Referenced by DistanceToOut().
Definition at line 142 of file G4Tubs.cc.
|
inline |
|
inline |
|
inline |
|
inline |
|
virtual |
Reimplemented from G4CSGSolid.
Definition at line 1650 of file G4Tubs.cc.
|
virtual |
Implements G4VSolid.
Definition at line 507 of file G4Tubs.cc.
|
protected |
Definition at line 215 of file G4Tubs.hh.
Referenced by DistanceToIn(), DistanceToOut(), and operator=().
|
protected |
Definition at line 216 of file G4Tubs.hh.
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), operator=(), and SurfaceNormal().
|
protected |
Definition at line 215 of file G4Tubs.hh.
Referenced by DistanceToIn(), and operator=().
|
protected |
Definition at line 215 of file G4Tubs.hh.
Referenced by DistanceToIn(), and operator=().
|
protected |
Definition at line 215 of file G4Tubs.hh.
Referenced by operator=().
|
protected |
Definition at line 216 of file G4Tubs.hh.
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), operator=(), and SurfaceNormal().
|
protected |
Definition at line 211 of file G4Tubs.hh.
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
protected |
Definition at line 211 of file G4Tubs.hh.
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
protected |
Definition at line 224 of file G4Tubs.hh.
Referenced by DistanceToOut(), and operator=().
|
protected |
Definition at line 224 of file G4Tubs.hh.
Referenced by DistanceToIn(), and operator=().
|
protected |
Definition at line 220 of file G4Tubs.hh.
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToOut(), Inside(), operator=(), and SurfaceNormal().
|
protected |
Definition at line 211 of file G4Tubs.hh.
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
protected |
Definition at line 211 of file G4Tubs.hh.
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
protected |
Definition at line 211 of file G4Tubs.hh.
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
protected |
Definition at line 228 of file G4Tubs.hh.
Referenced by DistanceToOut(), G4Tubs(), Inside(), operator=(), and SurfaceNormal().
|
protected |
Definition at line 228 of file G4Tubs.hh.
Referenced by DistanceToIn(), DistanceToOut(), G4Tubs(), Inside(), operator=(), and SurfaceNormal().
|
protected |
Definition at line 228 of file G4Tubs.hh.
Referenced by DistanceToIn(), G4Tubs(), Inside(), and operator=().
|
protected |
Definition at line 202 of file G4Tubs.hh.
Referenced by G4Tubs(), and operator=().
|
staticconstexprprotected |
Definition at line 206 of file G4Tubs.hh.
Referenced by DistanceToOut().
|
protected |
Definition at line 202 of file G4Tubs.hh.
Referenced by DistanceToIn(), DistanceToOut(), G4Tubs(), and operator=().
|
protected |
Definition at line 215 of file G4Tubs.hh.
Referenced by DistanceToIn(), DistanceToOut(), and operator=().
|
protected |
Definition at line 216 of file G4Tubs.hh.
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), operator=(), and SurfaceNormal().
|
protected |
Definition at line 216 of file G4Tubs.hh.
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), operator=(), and SurfaceNormal().