Geant4
10.00.p01
|
#include <G4CutTubs.hh>
Protected Member Functions | |
G4ThreeVectorList * | CreateRotatedVertices (const G4AffineTransform &pTransform) const |
G4ThreeVector | ApproxSurfaceNormal (const G4ThreeVector &p) const |
G4bool | IsCrossingCutPlanes () const |
G4double | GetCutZ (const G4ThreeVector &p) const |
void | GetMaxMinZ (G4double &zmin, G4double &zmax) const |
Protected Member Functions inherited from G4OTubs | |
G4ThreeVectorList * | CreateRotatedVertices (const G4AffineTransform &pTransform) const |
void | Initialize () |
void | CheckSPhiAngle (G4double sPhi) |
void | CheckDPhiAngle (G4double dPhi) |
void | CheckPhiAngles (G4double sPhi, G4double dPhi) |
void | InitializeTrigonometry () |
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 |
G4double | EstimateCubicVolume (G4int nStat, G4double epsilon) const |
G4double | EstimateSurfaceArea (G4int nStat, G4double ell) const |
Private Attributes | |
G4ThreeVector | fLowNorm |
G4ThreeVector | fHighNorm |
G4bool | fPhiFullCutTube |
G4double | halfCarTolerance |
G4double | halfRadTolerance |
G4double | halfAngTolerance |
Additional Inherited Members | |
Protected Types inherited from G4OTubs | |
enum | ESide { kNull, kRMin, kRMax, kSPhi, kEPhi, kPZ, kMZ } |
enum | ENorm { kNRMin, kNRMax, kNSPhi, kNEPhi, kNZ } |
Protected Attributes inherited from G4OTubs | |
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 |
Protected Attributes inherited from G4CSGSolid | |
G4double | fCubicVolume |
G4double | fSurfaceArea |
G4Polyhedron * | fpPolyhedron |
Protected Attributes inherited from G4VSolid | |
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 61 of file G4CutTubs.cc.
References FatalException, fHighNorm, fLowNorm, fPhiFullCutTube, G4endl, G4Exception(), G4GeometryTolerance::GetAngularTolerance(), G4GeometryTolerance::GetInstance(), G4VSolid::GetName(), G4GeometryTolerance::GetRadialTolerance(), halfAngTolerance, halfCarTolerance, halfRadTolerance, IsCrossingCutPlanes(), JustWarning, G4OTubs::kAngTolerance, G4VSolid::kCarTolerance, and G4OTubs::kRadTolerance.
Referenced by Clone().
G4CutTubs::~G4CutTubs | ( | ) |
Definition at line 152 of file G4CutTubs.cc.
G4CutTubs::G4CutTubs | ( | __void__ & | a | ) |
Definition at line 141 of file G4CutTubs.cc.
G4CutTubs::G4CutTubs | ( | const G4CutTubs & | rhs | ) |
Definition at line 160 of file G4CutTubs.cc.
|
protectedvirtual |
Reimplemented from G4OTubs.
Definition at line 621 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, and G4INCL::Math::min().
Referenced by SurfaceNormal().
|
virtual |
Implements G4VSolid.
Definition at line 198 of file G4CutTubs.cc.
References G4VSolid::ClipBetweenSections(), G4VSolid::ClipCrossSection(), CreateRotatedVertices(), G4OTubs::fDPhi, G4OTubs::fRMax, G4OTubs::fRMin, G4VoxelLimits::GetMaxExtent(), GetMaxMinZ(), G4VoxelLimits::GetMaxXExtent(), G4VoxelLimits::GetMaxYExtent(), G4VoxelLimits::GetMaxZExtent(), G4VoxelLimits::GetMinExtent(), G4VoxelLimits::GetMinXExtent(), G4VoxelLimits::GetMinYExtent(), G4VoxelLimits::GetMinZExtent(), Inside(), G4AffineTransform::Inverse(), G4AffineTransform::IsRotated(), G4VoxelLimits::IsXLimited(), G4VoxelLimits::IsYLimited(), G4VoxelLimits::IsZLimited(), G4VSolid::kCarTolerance, kInfinity, kOutside, kXAxis, kYAxis, kZAxis, G4AffineTransform::NetTranslation(), and G4AffineTransform::TransformPoint().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1855 of file G4CutTubs.cc.
References G4CutTubs().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1968 of file G4CutTubs.cc.
References G4OTubs::CreatePolyhedron(), G4OTubs::fDz, GetCutZ(), G4VSolid::kCarTolerance, n, and G4InuclParticleNames::nn.
|
protected |
Definition at line 1760 of file G4CutTubs.cc.
References G4VSolid::DumpInfo(), FatalException, G4OTubs::fDPhi, G4OTubs::fDz, fPhiFullCutTube, G4OTubs::fRMax, G4OTubs::fRMin, G4OTubs::fSPhi, G4Exception(), GetCutZ(), G4VSolid::kCarTolerance, kMaxMeshSections, kMeshAngleDefault, kMinMeshSections, and G4AffineTransform::TransformPoint().
Referenced by CalculateExtent().
|
virtual |
Implements G4VSolid.
Definition at line 1963 of file G4CutTubs.cc.
References G4VGraphicsScene::AddSolid().
|
virtual |
Implements G4VSolid.
Definition at line 763 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 1216 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 1276 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, G4INCL::Math::pi, G4OTubs::sinCPhi, G4OTubs::sinEPhi, and G4OTubs::sinSPhi.
|
virtual |
Implements G4VSolid.
Definition at line 1707 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.
|
protected |
Definition at line 2051 of file G4CutTubs.cc.
References G4OTubs::fDz, fHighNorm, and fLowNorm.
Referenced by CreatePolyhedron(), CreateRotatedVertices(), DistanceToIn(), GetMaxMinZ(), GetPointOnSurface(), and IsCrossingCutPlanes().
|
virtual |
Implements G4VSolid.
Definition at line 1846 of file G4CutTubs.cc.
|
inline |
|
inline |
Definition at line 2075 of file G4CutTubs.cc.
References G4OTubs::fDPhi, G4OTubs::fDz, fHighNorm, fLowNorm, G4OTubs::fRMax, G4OTubs::fRMin, G4OTubs::fSPhi, GetCutZ(), G4INCL::Math::max(), G4INCL::Math::min(), G4INCL::Math::pi, and z.
Referenced by CalculateExtent().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1889 of file G4CutTubs.cc.
References G4OTubs::fDPhi, G4OTubs::fDz, G4OTubs::fRMax, G4OTubs::fRMin, G4OTubs::fSPhi, GetCutZ(), G4CSGSolid::GetRadiusInRing(), and G4INCL::DeJongSpin::shoot().
|
virtual |
Implements G4VSolid.
Definition at line 411 of file G4CutTubs.cc.
References G4OTubs::fDPhi, G4OTubs::fDz, fHighNorm, fLowNorm, fPhiFullCutTube, G4OTubs::fRMax, G4OTubs::fRMin, G4OTubs::fSPhi, halfAngTolerance, halfCarTolerance, halfRadTolerance, kInside, kOutside, and kSurface.
Referenced by CalculateExtent().
|
protected |
Definition at line 2028 of file G4CutTubs.cc.
References G4OTubs::fDz, G4OTubs::fRMax, and GetCutZ().
Referenced by G4CutTubs().
Definition at line 173 of file G4CutTubs.cc.
References fHighNorm, fLowNorm, fPhiFullCutTube, halfAngTolerance, halfCarTolerance, halfRadTolerance, and G4OTubs::operator=().
|
virtual |
Reimplemented from G4CSGSolid.
Definition at line 1864 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 518 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, and kInfinity.
|
private |
Definition at line 147 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(), GetCutZ(), GetMaxMinZ(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
private |
Definition at line 151 of file G4CutTubs.hh.
Referenced by ApproxSurfaceNormal(), CreateRotatedVertices(), DistanceToIn(), DistanceToOut(), G4CutTubs(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 155 of file G4CutTubs.hh.
Referenced by DistanceToOut(), G4CutTubs(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 155 of file G4CutTubs.hh.
Referenced by DistanceToIn(), DistanceToOut(), G4CutTubs(), Inside(), operator=(), and SurfaceNormal().
|
private |
Definition at line 155 of file G4CutTubs.hh.
Referenced by DistanceToIn(), G4CutTubs(), Inside(), and operator=().