Geant4
10.03
|
#include <G4CutTubs.hh>
Protected Member Functions | |
G4ThreeVector | ApproxSurfaceNormal (const G4ThreeVector &p) const |
G4bool | IsCrossingCutPlanes () const |
G4double | GetCutZ (const G4ThreeVector &p) const |
void | GetMaxMinZ (G4double &zmin, G4double &zmax) const |
![]() | |
void | Initialize () |
void | CheckSPhiAngle (G4double sPhi) |
void | CheckDPhiAngle (G4double dPhi) |
void | CheckPhiAngles (G4double sPhi, G4double dPhi) |
void | InitializeTrigonometry () |
![]() | |
G4double | GetRadiusInRing (G4double rmin, G4double rmax) const |
![]() | |
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 |
Private Attributes | |
G4ThreeVector | fLowNorm |
G4ThreeVector | fHighNorm |
G4bool | fPhiFullCutTube |
G4double | halfCarTolerance |
G4double | halfRadTolerance |
G4double | halfAngTolerance |
Additional Inherited Members | |
![]() | |
enum | ESide { kNull, kRMin, kRMax, kSPhi, kEPhi, kPZ, kMZ } |
enum | ENorm { kNRMin, kNRMax, kNSPhi, kNEPhi, kNZ } |
![]() | |
G4double | kRadTolerance |
G4double | kAngTolerance |
G4double | fRMin |
G4double | fRMax |
G4double | fDz |
G4double | fSPhi |
G4double | fDPhi |
G4double | sinCPhi |
G4double | cosCPhi |
G4double | cosHDPhiOT |
G4double | cosHDPhiIT |
G4double | sinSPhi |
G4double | cosSPhi |
G4double | sinEPhi |
G4double | cosEPhi |
G4bool | fPhiFullTube |
G4double | halfCarTolerance |
G4double | halfRadTolerance |
G4double | halfAngTolerance |
![]() | |
G4double | fCubicVolume |
G4double | fSurfaceArea |
G4bool | fRebuildPolyhedron |
G4Polyhedron * | fpPolyhedron |
![]() | |
G4double | kCarTolerance |
Definition at line 51 of file G4CutTubs.hh.
G4CutTubs::G4CutTubs | ( | const G4String & | pName, |
G4double | pRMin, | ||
G4double | pRMax, | ||
G4double | pDz, | ||
G4double | pSPhi, | ||
G4double | pDPhi, | ||
G4ThreeVector | pLowNorm, | ||
G4ThreeVector | pHighNorm | ||
) |
Definition at line 65 of file G4CutTubs.cc.
References FatalException, fHighNorm, fLowNorm, fPhiFullCutTube, G4endl, G4Exception(), G4GeometryTolerance::GetAngularTolerance(), G4GeometryTolerance::GetInstance(), G4VSolid::GetName(), G4GeometryTolerance::GetRadialTolerance(), halfAngTolerance, halfCarTolerance, halfRadTolerance, JustWarning, G4OTubs::kAngTolerance, G4VSolid::kCarTolerance, G4OTubs::kRadTolerance, and twopi.
Referenced by Clone().
G4CutTubs::~G4CutTubs | ( | ) |
Definition at line 159 of file G4CutTubs.cc.
G4CutTubs::G4CutTubs | ( | __void__ & | a | ) |
Definition at line 148 of file G4CutTubs.cc.
G4CutTubs::G4CutTubs | ( | const G4CutTubs & | rhs | ) |
Definition at line 167 of file G4CutTubs.cc.
|
protectedvirtual |
Reimplemented from G4OTubs.
Definition at line 583 of file G4CutTubs.cc.
References G4VSolid::DumpInfo(), G4OTubs::fDPhi, G4OTubs::fDz, fHighNorm, fLowNorm, fPhiFullCutTube, G4OTubs::fRMax, G4OTubs::fRMin, G4OTubs::fSPhi, G4Exception(), JustWarning, G4OTubs::kNEPhi, G4OTubs::kNRMax, G4OTubs::kNRMin, G4OTubs::kNSPhi, G4OTubs::kNZ, G4INCL::Math::min(), and twopi.
Referenced by SurfaceNormal().
|
virtual |
Implements G4VSolid.
Definition at line 262 of file G4CutTubs.cc.
References G4BoundingEnvelope::BoundingBoxVsVoxelLimits(), G4BoundingEnvelope::CalculateExtent(), deg, Extent(), G4OTubs::GetCosEndPhi(), G4OTubs::GetCosStartPhi(), G4OTubs::GetDeltaPhiAngle(), G4OTubs::GetInnerRadius(), G4OTubs::GetOuterRadius(), G4OTubs::GetSinEndPhi(), G4OTubs::GetSinStartPhi(), and twopi.
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1725 of file G4CutTubs.cc.
References G4CutTubs().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1838 of file G4CutTubs.cc.
References G4OTubs::CreatePolyhedron(), G4OTubs::fDz, GetCutZ(), G4VSolid::kCarTolerance, n, and G4InuclParticleNames::nn.
|
virtual |
Implements G4VSolid.
Definition at line 1833 of file G4CutTubs.cc.
References G4VGraphicsScene::AddSolid().
|
virtual |
Implements G4VSolid.
Definition at line 725 of file G4CutTubs.cc.
References G4OTubs::cosCPhi, G4OTubs::cosEPhi, G4OTubs::cosHDPhiIT, G4OTubs::cosSPhi, G4OTubs::fDz, fHighNorm, fLowNorm, fPhiFullCutTube, G4OTubs::fRMax, G4OTubs::fRMin, GetCutZ(), halfCarTolerance, halfRadTolerance, kInfinity, G4OTubs::kRadTolerance, G4OTubs::sinCPhi, G4OTubs::sinEPhi, and G4OTubs::sinSPhi.
|
virtual |
Implements G4VSolid.
Definition at line 1178 of file G4CutTubs.cc.
References G4OTubs::cosCPhi, G4OTubs::cosEPhi, G4OTubs::cosSPhi, G4OTubs::fDPhi, G4OTubs::fDz, fHighNorm, fLowNorm, fPhiFullCutTube, G4OTubs::fRMax, G4OTubs::fRMin, G4INCL::Math::max(), G4OTubs::sinCPhi, G4OTubs::sinEPhi, and G4OTubs::sinSPhi.
|
virtual |
Implements G4VSolid.
Definition at line 1238 of file G4CutTubs.cc.
References G4OTubs::cosCPhi, G4OTubs::cosEPhi, G4OTubs::cosSPhi, d2, G4VSolid::DumpInfo(), G4OTubs::fDPhi, G4OTubs::fDz, fHighNorm, fLowNorm, fPhiFullCutTube, G4OTubs::fRMax, G4OTubs::fRMin, G4OTubs::fSPhi, G4cout, G4endl, G4Exception(), halfAngTolerance, halfCarTolerance, JustWarning, G4VSolid::kCarTolerance, G4OTubs::kEPhi, kInfinity, G4OTubs::kMZ, G4OTubs::kNull, G4OTubs::kPZ, G4OTubs::kRadTolerance, G4OTubs::kRMax, G4OTubs::kRMin, G4OTubs::kSPhi, mm, pi, G4OTubs::sinCPhi, G4OTubs::sinEPhi, G4OTubs::sinSPhi, and twopi.
|
virtual |
Implements G4VSolid.
Definition at line 1669 of file G4CutTubs.cc.
References G4OTubs::cosCPhi, G4OTubs::cosEPhi, G4OTubs::cosSPhi, G4OTubs::fDz, fHighNorm, fLowNorm, fPhiFullCutTube, G4OTubs::fRMax, G4OTubs::fRMin, G4INCL::Math::min(), G4OTubs::sinCPhi, G4OTubs::sinEPhi, and G4OTubs::sinSPhi.
|
virtual |
Reimplemented from G4VSolid.
Definition at line 205 of file G4CutTubs.cc.
References G4GeomTools::DiskExtent(), G4VSolid::DumpInfo(), G4Exception(), G4OTubs::GetCosEndPhi(), G4OTubs::GetCosStartPhi(), G4OTubs::GetDeltaPhiAngle(), GetHighNorm(), G4OTubs::GetInnerRadius(), GetLowNorm(), G4VSolid::GetName(), G4OTubs::GetOuterRadius(), G4OTubs::GetSinEndPhi(), G4OTubs::GetSinStartPhi(), G4OTubs::GetZHalfLength(), JustWarning, and twopi.
Referenced by CalculateExtent().
|
protected |
Definition at line 1921 of file G4CutTubs.cc.
References G4OTubs::fDz, fHighNorm, and fLowNorm.
Referenced by CreatePolyhedron(), DistanceToIn(), GetMaxMinZ(), GetPointOnSurface(), and IsCrossingCutPlanes().
|
virtual |
Implements G4VSolid.
Definition at line 1716 of file G4CutTubs.cc.
|
inline |
Referenced by G4GDMLWriteSolids::CutTubeWrite(), and Extent().
|
inline |
Referenced by G4GDMLWriteSolids::CutTubeWrite(), and Extent().
Definition at line 1945 of file G4CutTubs.cc.
References G4OTubs::fDPhi, G4OTubs::fDz, fHighNorm, fLowNorm, G4OTubs::fRMax, G4OTubs::fRMin, G4OTubs::fSPhi, GetCutZ(), G4INCL::Math::max(), G4INCL::Math::min(), pi, and twopi.
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1759 of file G4CutTubs.cc.
References G4OTubs::fDPhi, G4OTubs::fDz, G4OTubs::fRMax, G4OTubs::fRMin, G4OTubs::fSPhi, GetCutZ(), G4CSGSolid::GetRadiusInRing(), G4INCL::DeJongSpin::shoot(), and twopi.
|
virtual |
Implements G4VSolid.
Definition at line 373 of file G4CutTubs.cc.
References G4OTubs::fDPhi, G4OTubs::fDz, fHighNorm, fLowNorm, fPhiFullCutTube, G4OTubs::fRMax, G4OTubs::fRMin, G4OTubs::fSPhi, halfAngTolerance, halfCarTolerance, halfRadTolerance, kInside, kOutside, kSurface, and twopi.
|
protected |
Definition at line 1898 of file G4CutTubs.cc.
References G4OTubs::fDz, G4OTubs::fRMax, and GetCutZ().
Definition at line 180 of file G4CutTubs.cc.
References fHighNorm, fLowNorm, fPhiFullCutTube, halfAngTolerance, halfCarTolerance, halfRadTolerance, and G4OTubs::operator=().
|
virtual |
Reimplemented from G4CSGSolid.
Definition at line 1734 of file G4CutTubs.cc.
References degree, G4OTubs::fDPhi, G4OTubs::fDz, fHighNorm, fLowNorm, G4OTubs::fRMax, G4OTubs::fRMin, G4OTubs::fSPhi, G4VSolid::GetName(), and mm.
|
virtual |
Implements G4VSolid.
Definition at line 480 of file G4CutTubs.cc.
References ApproxSurfaceNormal(), G4OTubs::fDPhi, G4OTubs::fDz, fHighNorm, fLowNorm, fPhiFullCutTube, G4OTubs::fRMax, G4OTubs::fRMin, G4OTubs::fSPhi, G4cout, G4endl, G4Exception(), halfAngTolerance, halfCarTolerance, JustWarning, kInfinity, and twopi.
|
private |
Definition at line 143 of file G4CutTubs.hh.
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToOut(), G4CutTubs(), GetCutZ(), GetMaxMinZ(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 143 of file G4CutTubs.hh.
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToOut(), G4CutTubs(), GetCutZ(), GetMaxMinZ(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 147 of file G4CutTubs.hh.
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToOut(), G4CutTubs(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 151 of file G4CutTubs.hh.
Referenced by DistanceToOut(), G4CutTubs(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 151 of file G4CutTubs.hh.
Referenced by DistanceToIn(), DistanceToOut(), G4CutTubs(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 151 of file G4CutTubs.hh.
Referenced by DistanceToIn(), G4CutTubs(), Inside(), and operator=().