Geant4  10.03
G4GeometryTolerance Class Reference

#include <G4GeometryTolerance.hh>

+ Collaboration diagram for G4GeometryTolerance:

Public Member Functions

G4double GetSurfaceTolerance () const
 
G4double GetAngularTolerance () const
 
G4double GetRadialTolerance () const
 
 ~G4GeometryTolerance ()
 

Static Public Member Functions

static G4GeometryToleranceGetInstance ()
 

Protected Member Functions

void SetSurfaceTolerance (G4double worldExtent)
 
 G4GeometryTolerance ()
 

Private Attributes

G4double fCarTolerance
 
G4double fAngTolerance
 
G4double fRadTolerance
 
G4bool fInitialised
 

Static Private Attributes

static G4ThreadLocal
G4GeometryTolerance
fpInstance = 0
 

Friends

class G4GeometryManager
 

Detailed Description

Definition at line 56 of file G4GeometryTolerance.hh.

Constructor & Destructor Documentation

G4GeometryTolerance::~G4GeometryTolerance ( )

Definition at line 64 of file G4GeometryTolerance.cc.

G4GeometryTolerance::G4GeometryTolerance ( )
protected

Definition at line 53 of file G4GeometryTolerance.cc.

References fAngTolerance, fCarTolerance, fRadTolerance, mm, and rad.

Referenced by GetInstance().

+ Here is the caller graph for this function:

Member Function Documentation

G4double G4GeometryTolerance::GetAngularTolerance ( ) const
G4GeometryTolerance * G4GeometryTolerance::GetInstance ( void  )
static

Definition at line 73 of file G4GeometryTolerance.cc.

References fpInstance, G4GeometryTolerance(), and G4AutoDelete::Register().

Referenced by G4ExtrudedSolid::AddGeneralPolygonFacets(), G4NavigationLogger::AlongComputeStepLog(), G4VTwistSurface::AmIOnLeftSide(), G4tgbGeometryDumper::approxTo0(), G4tgbVolume::BuildSolidForDivision(), G4GeomTools::CheckSnip(), ExN02DetectorConstruction::Construct(), G4VParameterisationPolyhedra::ConvertRadiusFactor(), DetectorConstruction::DefineVolumes(), B2aDetectorConstruction::DefineVolumes(), B2bDetectorConstruction::DefineVolumes(), G4GeomTools::DiskExtent(), G4TwistTubsHypeSide::DistanceToSurface(), ExExChProcessChanneling::ExExChProcessChanneling(), G4tgbVolume::FindOrConstructG4Solid(), G4ClippablePolygon::G4ClippablePolygon(), G4Cons::G4Cons(), G4CutTubs::G4CutTubs(), G4Ellipsoid::G4Ellipsoid(), G4EllipticalCone::G4EllipticalCone(), G4EnclosingCylinder::G4EnclosingCylinder(), G4IntersectingCone::G4IntersectingCone(), G4ITNavigator1::G4ITNavigator1(), G4ITNavigator2::G4ITNavigator2(), G4ITPathFinder::G4ITPathFinder(), G4Navigator::G4Navigator(), G4OpBoundaryProcess::G4OpBoundaryProcess(), G4Orb::G4Orb(), G4OTubs::G4OTubs(), G4PathFinder::G4PathFinder(), G4PhantomParameterisation::G4PhantomParameterisation(), G4PolyconeSide::G4PolyconeSide(), G4PolyhedraSide::G4PolyhedraSide(), G4PolyPhiFace::G4PolyPhiFace(), G4PropagatorInField::G4PropagatorInField(), G4ReflectionFactory::G4ReflectionFactory(), G4RegularNavigation::G4RegularNavigation(), G4ReplicaNavigation::G4ReplicaNavigation(), G4Sphere::G4Sphere(), G4SteppingManager::G4SteppingManager(), G4SurfaceVoxelizer::G4SurfaceVoxelizer(), G4Tubs::G4Tubs(), G4UCNBoundaryProcess::G4UCNBoundaryProcess(), G4VDivisionParameterisation::G4VDivisionParameterisation(), G4VIntersectionLocator::G4VIntersectionLocator(), G4VoxelNavigation::G4VoxelNavigation(), G4VoxelSafety::G4VoxelSafety(), G4VSolid::G4VSolid(), G4VTrackTerminator::G4VTrackTerminator(), G4VTwistedFaceted::G4VTwistedFaceted(), G4VTwistSurface::G4VTwistSurface(), G4TwistTubsFlatSide::GetAreaCode(), G4SolidExtentList::GetExtent(), G4tgrUtils::GetRotationFromDirection(), G4ErrorCylSurfaceTarget::GetTangentPlane(), G4ITStepProcessor::Initialize(), G4UnionSolid::Inside(), G4SubtractionSolid::Inside(), G4TwistTubsHypeSide::Inside(), G4TwistedTubs::Inside(), G4GeomTools::IsConvex(), G4PSSphereSurfaceCurrent::IsSelectedSurface(), G4PSCylinderSurfaceFlux::IsSelectedSurface(), G4PSCylinderSurfaceCurrent::IsSelectedSurface(), G4PSFlatSurfaceCurrent::IsSelectedSurface(), G4PSSphereSurfaceFlux::IsSelectedSurface(), G4PSFlatSurfaceFlux::IsSelectedSurface(), DicomVFileImage::operator+(), DicomPhantomZSliceHeader::operator+(), G4ForwardXrayTR::PostStepDoIt(), G4ErrorFreeTrajState::PropagateError(), G4PathFinder::ReLocate(), G4ITPathFinder::ReLocate(), G4AuxiliaryNavServices::ReportTolerances(), G4Torus::SetAllParameters(), G4ErrorSurfaceTrajParam::SetParameters(), G4GeometryManager::SetWorldMaximumExtent(), G4GeomTools::SphereExtent(), G4MagInt_Driver::WarnEndPointTooFar(), and G4FSALIntegrationDriver::WarnEndPointTooFar().

+ Here is the call graph for this function:

G4double G4GeometryTolerance::GetSurfaceTolerance ( ) const

Definition at line 87 of file G4GeometryTolerance.cc.

References fCarTolerance.

Referenced by G4tgbGeometryDumper::approxTo0(), G4GeomTools::CheckSnip(), ExN02DetectorConstruction::Construct(), DetectorConstruction::DefineVolumes(), B2aDetectorConstruction::DefineVolumes(), B2bDetectorConstruction::DefineVolumes(), G4GeomTools::DiskExtent(), ExExChProcessChanneling::ExExChProcessChanneling(), G4ClippablePolygon::G4ClippablePolygon(), G4EnclosingCylinder::G4EnclosingCylinder(), G4IntersectingCone::G4IntersectingCone(), G4ITNavigator1::G4ITNavigator1(), G4ITNavigator2::G4ITNavigator2(), G4ITPathFinder::G4ITPathFinder(), G4Navigator::G4Navigator(), G4OpBoundaryProcess::G4OpBoundaryProcess(), G4PathFinder::G4PathFinder(), G4PhantomParameterisation::G4PhantomParameterisation(), G4PolyconeSide::G4PolyconeSide(), G4PolyhedraSide::G4PolyhedraSide(), G4PolyPhiFace::G4PolyPhiFace(), G4PropagatorInField::G4PropagatorInField(), G4ReflectionFactory::G4ReflectionFactory(), G4RegularNavigation::G4RegularNavigation(), G4ReplicaNavigation::G4ReplicaNavigation(), G4SteppingManager::G4SteppingManager(), G4SurfaceVoxelizer::G4SurfaceVoxelizer(), G4UCNBoundaryProcess::G4UCNBoundaryProcess(), G4VDivisionParameterisation::G4VDivisionParameterisation(), G4VIntersectionLocator::G4VIntersectionLocator(), G4VoxelNavigation::G4VoxelNavigation(), G4VoxelSafety::G4VoxelSafety(), G4VSolid::G4VSolid(), G4VTrackTerminator::G4VTrackTerminator(), G4VTwistSurface::G4VTwistSurface(), G4SolidExtentList::GetExtent(), G4tgrUtils::GetRotationFromDirection(), G4ErrorCylSurfaceTarget::GetTangentPlane(), G4ITStepProcessor::Initialize(), G4GeomTools::IsConvex(), G4PSSphereSurfaceCurrent::IsSelectedSurface(), G4PSCylinderSurfaceFlux::IsSelectedSurface(), G4PSCylinderSurfaceCurrent::IsSelectedSurface(), G4PSSphereSurfaceFlux::IsSelectedSurface(), G4PSFlatSurfaceCurrent::IsSelectedSurface(), G4PSFlatSurfaceFlux::IsSelectedSurface(), G4ForwardXrayTR::PostStepDoIt(), G4ErrorFreeTrajState::PropagateError(), G4AuxiliaryNavServices::ReportTolerances(), G4ErrorSurfaceTrajParam::SetParameters(), G4GeomTools::SphereExtent(), G4MagInt_Driver::WarnEndPointTooFar(), and G4FSALIntegrationDriver::WarnEndPointTooFar().

void G4GeometryTolerance::SetSurfaceTolerance ( G4double  worldExtent)
protected

Definition at line 107 of file G4GeometryTolerance.cc.

References fCarTolerance, fInitialised, fRadTolerance, G4cout, G4endl, G4Exception(), JustWarning, and mm.

Referenced by G4GeometryManager::SetWorldMaximumExtent().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Friends And Related Function Documentation

friend class G4GeometryManager
friend

Definition at line 58 of file G4GeometryTolerance.hh.

Member Data Documentation

G4double G4GeometryTolerance::fAngTolerance
private

Definition at line 92 of file G4GeometryTolerance.hh.

Referenced by G4GeometryTolerance(), and GetAngularTolerance().

G4double G4GeometryTolerance::fCarTolerance
private
G4bool G4GeometryTolerance::fInitialised
private

Definition at line 94 of file G4GeometryTolerance.hh.

Referenced by SetSurfaceTolerance().

G4ThreadLocal G4GeometryTolerance * G4GeometryTolerance::fpInstance = 0
staticprivate

Definition at line 90 of file G4GeometryTolerance.hh.

Referenced by GetInstance().

G4double G4GeometryTolerance::fRadTolerance
private

The documentation for this class was generated from the following files: