Geant4 11.2.2
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.
Referenced by Clone().
|
overridedefault |
G4Tubs::G4Tubs | ( | __void__ & | a | ) |
|
default |
|
protectedvirtual |
Definition at line 576 of file G4Tubs.cc.
Referenced by SurfaceNormal().
|
overridevirtual |
Reimplemented from G4VSolid.
Definition at line 165 of file G4Tubs.cc.
Referenced by CalculateExtent().
|
overridevirtual |
Implements G4VSolid.
Definition at line 208 of file G4Tubs.cc.
|
inlineprotected |
Referenced by G4Tubs().
|
inlineprotected |
|
overridevirtual |
Reimplemented from G4VSolid.
Definition at line 1619 of file G4Tubs.cc.
|
overridevirtual |
Reimplemented from G4VSolid.
Definition at line 154 of file G4Tubs.cc.
|
overridevirtual |
Reimplemented from G4VSolid.
Definition at line 1737 of file G4Tubs.cc.
Referenced by G4GMocrenFileSceneHandler::AddSolid(), and G4ArrowModel::G4ArrowModel().
|
overridevirtual |
|
overridevirtual |
Implements G4VSolid.
Definition at line 1084 of file G4Tubs.cc.
|
overridevirtual |
Implements G4VSolid.
Definition at line 708 of file G4Tubs.cc.
Referenced by DistanceToIn().
|
overridevirtual |
Implements G4VSolid.
Definition at line 1550 of file G4Tubs.cc.
|
overridevirtual |
Implements G4VSolid.
Definition at line 1128 of file G4Tubs.cc.
|
inlineprotected |
Referenced by DistanceToOut().
|
inline |
Referenced by BoundingLimits(), and CalculateExtent().
|
inline |
Referenced by BoundingLimits(), and CalculateExtent().
|
inline |
|
overridevirtual |
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), BoundingLimits(), G4tgbVolume::BuildSolidForDivision(), CalculateExtent(), G4tgbGeometryDumper::GetSolidParams(), G4PSCylinderSurfaceCurrent::IsSelectedSurface(), G4PSCylinderSurfaceFlux::IsSelectedSurface(), G4GDMLWriteParamvol::Tube_dimensionsWrite(), and G4GDMLWriteSolids::TubeWrite().
|
inline |
|
overridevirtual |
Reimplemented from G4VSolid.
Definition at line 1651 of file G4Tubs.cc.
|
inline |
Referenced by BoundingLimits(), and CalculateExtent().
|
inline |
Referenced by BoundingLimits(), and CalculateExtent().
|
inline |
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), BoundingLimits(), G4tgbVolume::BuildSolidForDivision(), CalculateExtent(), G4tgbGeometryDumper::GetSolidParams(), G4PSCylinderSurfaceCurrent::IsSelectedSurface(), G4PSCylinderSurfaceFlux::IsSelectedSurface(), G4GDMLWriteParamvol::Tube_dimensionsWrite(), and G4GDMLWriteSolids::TubeWrite().
|
inlineprotected |
|
inlineprotected |
|
overridevirtual |
Implements G4VSolid.
Definition at line 318 of file G4Tubs.cc.
Referenced by DistanceToOut().
Definition at line 120 of file G4Tubs.cc.
|
inline |
|
inline |
|
inline |
|
inline |
|
overridevirtual |
Reimplemented from G4CSGSolid.
Definition at line 1628 of file G4Tubs.cc.
|
overridevirtual |
Implements G4VSolid.
Definition at line 485 of file G4Tubs.cc.
|
protected |
Definition at line 214 of file G4Tubs.hh.
Referenced by DistanceToIn(), DistanceToIn(), DistanceToOut(), DistanceToOut(), and operator=().
|
protected |
Definition at line 215 of file G4Tubs.hh.
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToIn(), DistanceToOut(), DistanceToOut(), GetPointOnSurface(), operator=(), and SurfaceNormal().
|
protected |
Definition at line 214 of file G4Tubs.hh.
Referenced by DistanceToIn(), and operator=().
|
protected |
Definition at line 214 of file G4Tubs.hh.
Referenced by DistanceToIn(), and operator=().
|
protected |
Definition at line 214 of file G4Tubs.hh.
Referenced by operator=().
|
protected |
Definition at line 215 of file G4Tubs.hh.
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToIn(), DistanceToOut(), DistanceToOut(), GetPointOnSurface(), operator=(), and SurfaceNormal().
|
protected |
Definition at line 210 of file G4Tubs.hh.
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
protected |
Definition at line 210 of file G4Tubs.hh.
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), DistanceToIn(), DistanceToIn(), DistanceToOut(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
protected |
Definition at line 223 of file G4Tubs.hh.
Referenced by DistanceToOut(), and operator=().
|
protected |
Definition at line 223 of file G4Tubs.hh.
Referenced by DistanceToIn(), and operator=().
|
protected |
Definition at line 219 of file G4Tubs.hh.
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToIn(), DistanceToOut(), DistanceToOut(), Inside(), operator=(), and SurfaceNormal().
|
protected |
Definition at line 210 of file G4Tubs.hh.
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), DistanceToIn(), DistanceToIn(), DistanceToOut(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
protected |
Definition at line 210 of file G4Tubs.hh.
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), DistanceToIn(), DistanceToIn(), DistanceToOut(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
protected |
Definition at line 210 of file G4Tubs.hh.
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
protected |
Definition at line 227 of file G4Tubs.hh.
Referenced by DistanceToOut(), G4Tubs(), Inside(), operator=(), and SurfaceNormal().
|
protected |
Definition at line 227 of file G4Tubs.hh.
Referenced by DistanceToIn(), DistanceToOut(), G4Tubs(), Inside(), operator=(), and SurfaceNormal().
|
protected |
Definition at line 227 of file G4Tubs.hh.
Referenced by DistanceToIn(), G4Tubs(), Inside(), and operator=().
|
protected |
Definition at line 201 of file G4Tubs.hh.
Referenced by G4Tubs(), and operator=().
|
staticconstexprprotected |
Definition at line 205 of file G4Tubs.hh.
Referenced by DistanceToOut().
|
protected |
Definition at line 201 of file G4Tubs.hh.
Referenced by DistanceToIn(), DistanceToOut(), G4Tubs(), and operator=().
|
protected |
Definition at line 214 of file G4Tubs.hh.
Referenced by DistanceToIn(), DistanceToIn(), DistanceToOut(), DistanceToOut(), and operator=().
|
protected |
Definition at line 215 of file G4Tubs.hh.
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToIn(), DistanceToOut(), DistanceToOut(), GetPointOnSurface(), operator=(), and SurfaceNormal().
|
protected |
Definition at line 215 of file G4Tubs.hh.
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToIn(), DistanceToOut(), DistanceToOut(), GetPointOnSurface(), operator=(), and SurfaceNormal().