Geant4
10.02.p02
|
#include <G4Tubs.hh>
Protected Types | |
enum | ESide { kNull, kRMin, kRMax, kSPhi, kEPhi, kPZ, kMZ } |
enum | ENorm { kNRMin, kNRMax, kNSPhi, kNEPhi, kNZ } |
Protected Member Functions | |
G4ThreeVectorList * | CreateRotatedVertices (const G4AffineTransform &pTransform) const |
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 85 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 680 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 208 of file G4Tubs.cc.
References G4VSolid::ClipBetweenSections(), G4VSolid::ClipCrossSection(), CreateRotatedVertices(), fDPhi, fDz, fRMax, fRMin, G4VoxelLimits::GetMaxExtent(), 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(), G4AffineTransform::TransformPoint(), and twopi.
|
inlineprotected |
|
inlineprotected |
|
virtual |
|
virtual |
Reimplemented from G4VSolid.
Definition at line 197 of file G4Tubs.cc.
References G4VPVParameterisation::ComputeDimensions().
|
virtual |
Reimplemented from G4VSolid.
Definition at line 1919 of file G4Tubs.cc.
References fDPhi, fDz, fRMax, fRMin, and fSPhi.
Referenced by G4GMocrenFileSceneHandler::AddSolid(), and G4ArrowModel::G4ArrowModel().
|
protected |
Definition at line 1717 of file G4Tubs.cc.
References G4VSolid::DumpInfo(), FatalException, fDPhi, fDz, fPhiFullTube, fRMax, fRMin, fSPhi, G4Exception(), G4VSolid::kCarTolerance, kMaxMeshSections, kMeshAngleDefault, kMinMeshSections, and G4AffineTransform::TransformPoint().
Referenced by CalculateExtent().
|
virtual |
Implements G4VSolid.
Definition at line 1914 of file G4Tubs.cc.
References G4VGraphicsScene::AddSolid().
|
virtual |
Implements G4VSolid.
Definition at line 812 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 1232 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 |
|
inline |
Referenced by G4HepRepFileSceneHandler::AddSolid(), G4HepRepSceneHandler::AddSolid(), G4tgbVolume::BuildSolidForDivision(), G4ParameterisationTubsRho::ComputeDimensions(), G4ParameterisationTubsZ::ComputeDimensions(), export_G4Tubs(), 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(), G4ParameterisationTubsRho::ComputeDimensions(), G4ParameterisationTubsPhi::ComputeDimensions(), G4ParameterisationTubsZ::ComputeDimensions(), export_G4Tubs(), 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(), G4ParameterisationTubsPhi::ComputeDimensions(), G4ParameterisationTubsZ::ComputeDimensions(), export_G4Tubs(), G4ParameterisationTubsRho::G4ParameterisationTubsRho(), FFPrimaryGeneratorAction::GeneratePrimaries(), G4ParameterisationTubsRho::GetMaxParameter(), G4tgbGeometryDumper::GetSolidParams(), G4GDMLWriteParamvol::Tube_dimensionsWrite(), and G4GDMLWriteSolids::TubeWrite().
|
virtual |
|
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(), G4ParameterisationTubsRho::ComputeDimensions(), G4ParameterisationTubsPhi::ComputeDimensions(), G4ParameterisationTubsZ::ComputeTransformation(), UltraDetectorConstruction::ConstructUVscope(), export_G4Tubs(), 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 422 of file G4Tubs.cc.
References fDPhi, fDz, fPhiFullTube, fRMax, fRMin, fSPhi, halfAngTolerance, halfCarTolerance, halfRadTolerance, kInside, kOutside, kSurface, and twopi.
Referenced by CalculateExtent(), and DistanceToOut().
Definition at line 165 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 589 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(), CalculateExtent(), CreatePolyhedron(), CreateRotatedVertices(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
protected |
Definition at line 217 of file G4Tubs.hh.
Referenced by ApproxSurfaceNormal(), CalculateExtent(), CreatePolyhedron(), CreateRotatedVertices(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
protected |
Definition at line 226 of file G4Tubs.hh.
Referenced by ApproxSurfaceNormal(), CreateRotatedVertices(), DistanceToIn(), DistanceToOut(), Inside(), operator=(), and SurfaceNormal().
|
protected |
Definition at line 217 of file G4Tubs.hh.
Referenced by ApproxSurfaceNormal(), CalculateExtent(), CreatePolyhedron(), CreateRotatedVertices(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
protected |
Definition at line 217 of file G4Tubs.hh.
Referenced by ApproxSurfaceNormal(), CalculateExtent(), CreatePolyhedron(), CreateRotatedVertices(), DistanceToIn(), DistanceToOut(), GetPointOnSurface(), Inside(), operator=(), StreamInfo(), and SurfaceNormal().
|
protected |
Definition at line 217 of file G4Tubs.hh.
Referenced by ApproxSurfaceNormal(), CreatePolyhedron(), CreateRotatedVertices(), 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=().