Geant4
10.03
|
#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 () |
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 | 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 |
G4bool | fRebuildPolyhedron |
G4Polyhedron * | fpPolyhedron |
Protected Attributes inherited from G4VSolid | |
G4double | kCarTolerance |
|
protected |
|
protected |
G4Tubs::G4Tubs | ( | const G4String & | pName, |
G4double | pRMin, | ||
G4double | pRMax, | ||
G4double | pDz, | ||
G4double | pSPhi, | ||
G4double | pDPhi | ||
) |
Definition at line 89 of file G4Tubs.cc.
References CheckPhiAngles(), FatalException, G4endl, G4Exception(), G4GeometryTolerance::GetAngularTolerance(), G4GeometryTolerance::GetInstance(), G4VSolid::GetName(), G4GeometryTolerance::GetRadialTolerance(), halfAngTolerance, halfCarTolerance, halfRadTolerance, kAngTolerance, G4VSolid::kCarTolerance, and kRadTolerance.
Referenced by Clone().
|
protectedvirtual |
Definition at line 622 of file G4Tubs.cc.
References G4VSolid::DumpInfo(), fDPhi, fDz, fPhiFullTube, fRMax, fRMin, fSPhi, G4Exception(), JustWarning, kNEPhi, kNRMax, kNRMin, kNSPhi, kNZ, and twopi.
Referenced by SurfaceNormal().
|
virtual |
Implements G4VSolid.
Definition at line 254 of file G4Tubs.cc.
References G4BoundingEnvelope::BoundingBoxVsVoxelLimits(), G4BoundingEnvelope::CalculateExtent(), deg, Extent(), GetCosEndPhi(), GetCosStartPhi(), GetDeltaPhiAngle(), GetInnerRadius(), GetOuterRadius(), GetSinEndPhi(), GetSinStartPhi(), GetZHalfLength(), and twopi.
|
inlineprotected |
|
inlineprotected |
|
virtual |
|
virtual |
Reimplemented from G4VSolid.
Definition at line 201 of file G4Tubs.cc.
References G4VPVParameterisation::ComputeDimensions().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1767 of file G4Tubs.cc.
References fDPhi, fDz, fRMax, fRMin, and fSPhi.
Referenced by G4GMocrenFileSceneHandler::AddSolid(), and G4ArrowModel::G4ArrowModel().
|
virtual |
Implements G4VSolid.
Definition at line 1762 of file G4Tubs.cc.
References G4VGraphicsScene::AddSolid().
|
virtual |
Implements G4VSolid.
Definition at line 754 of file G4Tubs.cc.
References cosCPhi, cosEPhi, cosHDPhiIT, cosSPhi, fDz, fPhiFullTube, fRMax, fRMin, halfCarTolerance, halfRadTolerance, kInfinity, kRadTolerance, sinCPhi, sinEPhi, and sinSPhi.
|
virtual |
|
virtual |
Implements G4VSolid.
Definition at line 1174 of file G4Tubs.cc.
References cosCPhi, cosEPhi, cosSPhi, d2, G4VSolid::DumpInfo(), fDPhi, fDz, fPhiFullTube, fRMax, fRMin, fSPhi, G4cout, G4endl, G4Exception(), halfAngTolerance, halfCarTolerance, JustWarning, G4VSolid::kCarTolerance, kEPhi, kInfinity, kMZ, kNull, kPZ, kRadTolerance, kRMax, kRMin, kSPhi, mm, pi, sinCPhi, sinEPhi, sinSPhi, and twopi.
|
virtual |
|
virtual |
Reimplemented from G4VSolid.
Definition at line 212 of file G4Tubs.cc.
References G4GeomTools::DiskExtent(), G4VSolid::DumpInfo(), G4Exception(), GetCosEndPhi(), GetCosStartPhi(), GetDeltaPhiAngle(), GetInnerRadius(), G4VSolid::GetName(), GetOuterRadius(), GetSinEndPhi(), GetSinStartPhi(), GetZHalfLength(), JustWarning, and twopi.
Referenced by CalculateExtent().
|
inline |
|
inline |
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), G4tgbVolume::BuildSolidForDivision(), CalculateExtent(), G4ParameterisationTubsRho::ComputeDimensions(), G4ParameterisationTubsZ::ComputeDimensions(), export_G4Tubs(), Extent(), G4ParameterisationTubsPhi::G4ParameterisationTubsPhi(), G4ParameterisationTubsPhi::GetMaxParameter(), G4tgbGeometryDumper::GetSolidParams(), G4PSCylinderSurfaceFlux::ProcessHits(), G4PSCylinderSurfaceCurrent::ProcessHits(), G4GDMLWriteParamvol::Tube_dimensionsWrite(), and G4GDMLWriteSolids::TubeWrite().
|
inline |
|
inline |
|
virtual |
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), G4tgbVolume::BuildSolidForDivision(), CalculateExtent(), G4ParameterisationTubsRho::ComputeDimensions(), G4ParameterisationTubsPhi::ComputeDimensions(), G4ParameterisationTubsZ::ComputeDimensions(), export_G4Tubs(), Extent(), G4ParameterisationTubsRho::G4ParameterisationTubsRho(), G4ParameterisationTubsRho::GetMaxParameter(), G4tgbGeometryDumper::GetSolidParams(), G4PSCylinderSurfaceFlux::IsSelectedSurface(), G4PSCylinderSurfaceCurrent::IsSelectedSurface(), G4PSCylinderSurfaceFlux::ProcessHits(), G4PSCylinderSurfaceCurrent::ProcessHits(), G4GDMLWriteParamvol::Tube_dimensionsWrite(), and G4GDMLWriteSolids::TubeWrite().
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), G4tgbVolume::BuildSolidForDivision(), CalculateExtent(), G4ParameterisationTubsPhi::ComputeDimensions(), G4ParameterisationTubsZ::ComputeDimensions(), export_G4Tubs(), Extent(), G4ParameterisationTubsRho::G4ParameterisationTubsRho(), FFPrimaryGeneratorAction::GeneratePrimaries(), G4ParameterisationTubsRho::GetMaxParameter(), G4tgbGeometryDumper::GetSolidParams(), G4GDMLWriteParamvol::Tube_dimensionsWrite(), and G4GDMLWriteSolids::TubeWrite().
|
virtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by G4tgbVolume::BuildSolidForDivision(), G4ParameterisationTubsRho::ComputeDimensions(), G4ParameterisationTubsPhi::ComputeDimensions(), G4ParameterisationTubsZ::ComputeDimensions(), ExExChProcessChanneling::ComputePositionInTheCrystal(), export_G4Tubs(), G4tgbGeometryDumper::GetSolidParams(), G4GDMLWriteParamvol::Tube_dimensionsWrite(), and G4GDMLWriteSolids::TubeWrite().
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), G4tgbVolume::BuildSolidForDivision(), CalculateExtent(), G4ParameterisationTubsRho::ComputeDimensions(), G4ParameterisationTubsPhi::ComputeDimensions(), G4ParameterisationTubsZ::ComputeTransformation(), UltraDetectorConstruction::ConstructUVscope(), export_G4Tubs(), Extent(), G4ParameterisationTubsZ::G4ParameterisationTubsZ(), FFPrimaryGeneratorAction::GeneratePrimaries(), G4ParameterisationTubsZ::GetMaxParameter(), G4tgbGeometryDumper::GetSolidParams(), G4PSCylinderSurfaceFlux::IsSelectedSurface(), G4PSCylinderSurfaceCurrent::IsSelectedSurface(), G4PSCylinderSurfaceFlux::ProcessHits(), G4PSCylinderSurfaceCurrent::ProcessHits(), G4GDMLWriteParamvol::Tube_dimensionsWrite(), and G4GDMLWriteSolids::TubeWrite().
|
inlineprotected |
|
inlineprotected |
|
virtual |
Implements G4VSolid.
Definition at line 364 of file G4Tubs.cc.
References fDPhi, fDz, fPhiFullTube, fRMax, fRMin, fSPhi, halfAngTolerance, halfCarTolerance, halfRadTolerance, kInside, kOutside, kSurface, and twopi.
Referenced by DistanceToOut().
Definition at line 169 of file G4Tubs.cc.
References cosCPhi, cosEPhi, cosHDPhiIT, cosHDPhiOT, cosSPhi, fDPhi, fDz, fPhiFullTube, fRMax, fRMin, fSPhi, halfAngTolerance, halfCarTolerance, halfRadTolerance, kAngTolerance, kRadTolerance, G4CSGSolid::operator=(), sinCPhi, sinEPhi, and sinSPhi.
|
inline |
Referenced by ExN04CalorimeterParametrisation::ComputeDimensions(), ExN04TrackerParametrisation::ComputeDimensions(), RE05TrackerParametrisation::ComputeDimensions(), RE01CalorimeterParametrisation::ComputeDimensions(), RE01TrackerParametrisation::ComputeDimensions(), RE05CalorimeterParametrisation::ComputeDimensions(), B2bChamberParameterisation::ComputeDimensions(), G4ParameterisationTubsRho::ComputeDimensions(), G4GDMLParameterisation::ComputeDimensions(), G4ParameterisationTubsPhi::ComputeDimensions(), G4ParameterisationTubsZ::ComputeDimensions(), and export_G4Tubs().
|
inline |
Referenced by ExN04CalorimeterParametrisation::ComputeDimensions(), ExN04TrackerParametrisation::ComputeDimensions(), RE05TrackerParametrisation::ComputeDimensions(), RE01CalorimeterParametrisation::ComputeDimensions(), RE01TrackerParametrisation::ComputeDimensions(), RE05CalorimeterParametrisation::ComputeDimensions(), B2bChamberParameterisation::ComputeDimensions(), G4ParameterisationTubsRho::ComputeDimensions(), G4GDMLParameterisation::ComputeDimensions(), G4ParameterisationTubsPhi::ComputeDimensions(), G4ParameterisationTubsZ::ComputeDimensions(), and export_G4Tubs().
|
inline |
Referenced by ExN04CalorimeterParametrisation::ComputeDimensions(), ExN04TrackerParametrisation::ComputeDimensions(), RE05TrackerParametrisation::ComputeDimensions(), RE01CalorimeterParametrisation::ComputeDimensions(), RE01TrackerParametrisation::ComputeDimensions(), RE05CalorimeterParametrisation::ComputeDimensions(), B2bChamberParameterisation::ComputeDimensions(), G4ParameterisationTubsRho::ComputeDimensions(), G4GDMLParameterisation::ComputeDimensions(), G4ParameterisationTubsPhi::ComputeDimensions(), G4ParameterisationTubsZ::ComputeDimensions(), and export_G4Tubs().
Referenced by ExN04CalorimeterParametrisation::ComputeDimensions(), ExN04TrackerParametrisation::ComputeDimensions(), RE05TrackerParametrisation::ComputeDimensions(), RE01CalorimeterParametrisation::ComputeDimensions(), RE01TrackerParametrisation::ComputeDimensions(), RE05CalorimeterParametrisation::ComputeDimensions(), B2bChamberParameterisation::ComputeDimensions(), G4ParameterisationTubsRho::ComputeDimensions(), G4GDMLParameterisation::ComputeDimensions(), G4ParameterisationTubsPhi::ComputeDimensions(), G4ParameterisationTubsZ::ComputeDimensions(), and export_G4Tubs().
|
inline |
Referenced by ExN04CalorimeterParametrisation::ComputeDimensions(), ExN04TrackerParametrisation::ComputeDimensions(), RE05CalorimeterParametrisation::ComputeDimensions(), RE05TrackerParametrisation::ComputeDimensions(), RE01CalorimeterParametrisation::ComputeDimensions(), RE01TrackerParametrisation::ComputeDimensions(), B2bChamberParameterisation::ComputeDimensions(), G4ParameterisationTubsRho::ComputeDimensions(), G4GDMLParameterisation::ComputeDimensions(), G4ParameterisationTubsPhi::ComputeDimensions(), G4ParameterisationTubsZ::ComputeDimensions(), export_G4Tubs(), and ElectronBenchmarkDetector::SetPrimFoilThickness().
|
virtual |
|
virtual |
Implements G4VSolid.
Definition at line 531 of file G4Tubs.cc.
References ApproxSurfaceNormal(), fDPhi, fDz, fPhiFullTube, fRMax, fRMin, fSPhi, G4cout, G4endl, G4Exception(), halfAngTolerance, halfCarTolerance, JustWarning, kInfinity, and twopi.
|
protected |
Definition at line 221 of file G4Tubs.hh.
Referenced by DistanceToIn(), DistanceToOut(), and operator=().
|
protected |
Definition at line 221 of file G4Tubs.hh.
Referenced by DistanceToIn(), DistanceToOut(), and operator=().
|
protected |
Definition at line 221 of file G4Tubs.hh.
Referenced by DistanceToIn(), and operator=().
|
protected |
Definition at line 221 of file G4Tubs.hh.
Referenced by operator=().
|
protected |
Definition at line 221 of file G4Tubs.hh.
Referenced by DistanceToIn(), DistanceToOut(), and operator=().
|
protected |
Definition at line 217 of file G4Tubs.hh.
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
protected |
Definition at line 217 of file G4Tubs.hh.
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
protected |
Definition at line 226 of file G4Tubs.hh.
Referenced by ApproxSurfaceNormal(), DistanceToIn(), DistanceToOut(), Inside(), operator=(), and SurfaceNormal().
|
protected |
Definition at line 217 of file G4Tubs.hh.
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
protected |
Definition at line 217 of file G4Tubs.hh.
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
protected |
Definition at line 217 of file G4Tubs.hh.
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
protected |
Definition at line 230 of file G4Tubs.hh.
Referenced by DistanceToOut(), G4Tubs(), Inside(), operator=(), and SurfaceNormal().
|
protected |
Definition at line 230 of file G4Tubs.hh.
Referenced by DistanceToIn(), DistanceToOut(), G4Tubs(), Inside(), operator=(), and SurfaceNormal().
|
protected |
Definition at line 230 of file G4Tubs.hh.
Referenced by DistanceToIn(), G4Tubs(), Inside(), and operator=().
|
protected |
Definition at line 213 of file G4Tubs.hh.
Referenced by G4Tubs(), and operator=().
|
protected |
Definition at line 213 of file G4Tubs.hh.
Referenced by DistanceToIn(), DistanceToOut(), G4Tubs(), and operator=().
|
protected |
Definition at line 221 of file G4Tubs.hh.
Referenced by DistanceToIn(), DistanceToOut(), and operator=().
|
protected |
Definition at line 221 of file G4Tubs.hh.
Referenced by DistanceToIn(), DistanceToOut(), and operator=().
|
protected |
Definition at line 221 of file G4Tubs.hh.
Referenced by DistanceToIn(), DistanceToOut(), and operator=().