Geant4  10.01.p02
G4GeometryTolerance Class Reference

#include <G4GeometryTolerance.hh>

+ Collaboration diagram for G4GeometryTolerance:

Public Member Functions

G4double GetSurfaceTolerance () const
 
G4double GetAngularTolerance () const
 
G4double GetRadialTolerance () const
 

Static Public Member Functions

static G4GeometryToleranceGetInstance ()
 

Protected Member Functions

 G4GeometryTolerance ()
 
 ~G4GeometryTolerance ()
 

Static Protected Member Functions

static void SetSurfaceTolerance (G4double worldExtent)
 

Static Private Attributes

static G4GeometryTolerancefpInstance = 0
 
static G4double fCarTolerance = 1E-9*mm
 
static G4double fAngTolerance = 1E-9*rad
 
static G4double fRadTolerance = 1E-9*mm
 
static G4bool fInitialised = false
 

Friends

class G4GeometryManager
 

Detailed Description

Definition at line 56 of file G4GeometryTolerance.hh.

Constructor & Destructor Documentation

G4GeometryTolerance::G4GeometryTolerance ( )
protected

Definition at line 56 of file G4GeometryTolerance.cc.

Referenced by GetInstance().

+ Here is the caller graph for this function:

G4GeometryTolerance::~G4GeometryTolerance ( )
protected

Definition at line 64 of file G4GeometryTolerance.cc.

References fpInstance.

Member Function Documentation

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

Definition at line 74 of file G4GeometryTolerance.cc.

References fpInstance, and G4GeometryTolerance().

Referenced by G4NavigationLogger::AlongComputeStepLog(), G4VTwistSurface::AmIOnLeftSide(), G4tgbGeometryDumper::approxTo0(), G4PAIPhotonModel::BuildLambdaVector(), G4tgbVolume::BuildSolidForDivision(), ExN02DetectorConstruction::Construct(), G4VParameterisationPolyhedra::ConvertRadiusFactor(), B2aDetectorConstruction::DefineVolumes(), B2bDetectorConstruction::DefineVolumes(), 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(), 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(), G4PSSphereSurfaceCurrent::IsSelectedSurface(), G4PSCylinderSurfaceFlux::IsSelectedSurface(), G4PSCylinderSurfaceCurrent::IsSelectedSurface(), G4PSSphereSurfaceFlux::IsSelectedSurface(), G4PSFlatSurfaceCurrent::IsSelectedSurface(), G4PSFlatSurfaceFlux::IsSelectedSurface(), G4VoxelNavigation::LocateNextVoxel(), DicomPhantomZSliceHeader::operator+(), G4ForwardXrayTR::PostStepDoIt(), G4ErrorFreeTrajState::PropagateError(), G4PathFinder::ReLocate(), G4ITPathFinder::ReLocate(), G4AuxiliaryNavServices::ReportTolerances(), G4Torus::SetAllParameters(), G4ErrorSurfaceTrajParam::SetParameters(), G4GeometryManager::SetWorldMaximumExtent(), and G4MagInt_Driver::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(), G4PAIPhotonModel::BuildLambdaVector(), ExN02DetectorConstruction::Construct(), B2aDetectorConstruction::DefineVolumes(), B2bDetectorConstruction::DefineVolumes(), 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(), G4VoxelSafety::G4VoxelSafety(), G4VSolid::G4VSolid(), G4VTrackTerminator::G4VTrackTerminator(), G4VTwistSurface::G4VTwistSurface(), G4SolidExtentList::GetExtent(), G4tgrUtils::GetRotationFromDirection(), G4ErrorCylSurfaceTarget::GetTangentPlane(), G4ITStepProcessor::Initialize(), G4PSSphereSurfaceCurrent::IsSelectedSurface(), G4PSCylinderSurfaceFlux::IsSelectedSurface(), G4PSSphereSurfaceFlux::IsSelectedSurface(), G4PSCylinderSurfaceCurrent::IsSelectedSurface(), G4PSFlatSurfaceCurrent::IsSelectedSurface(), G4PSFlatSurfaceFlux::IsSelectedSurface(), G4VoxelNavigation::LocateNextVoxel(), G4ForwardXrayTR::PostStepDoIt(), G4ErrorFreeTrajState::PropagateError(), G4AuxiliaryNavServices::ReportTolerances(), G4ErrorSurfaceTrajParam::SetParameters(), and G4MagInt_Driver::WarnEndPointTooFar().

+ Here is the caller graph for this function:

void G4GeometryTolerance::SetSurfaceTolerance ( G4double  worldExtent)
staticprotected

Definition at line 107 of file G4GeometryTolerance.cc.

References fCarTolerance, fInitialised, 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 = 1E-9*rad
staticprivate

Definition at line 88 of file G4GeometryTolerance.hh.

Referenced by GetAngularTolerance().

G4double G4GeometryTolerance::fCarTolerance = 1E-9*mm
staticprivate

Definition at line 87 of file G4GeometryTolerance.hh.

Referenced by GetSurfaceTolerance(), and SetSurfaceTolerance().

G4bool G4GeometryTolerance::fInitialised = false
staticprivate

Definition at line 90 of file G4GeometryTolerance.hh.

Referenced by SetSurfaceTolerance().

G4GeometryTolerance * G4GeometryTolerance::fpInstance = 0
staticprivate

Definition at line 86 of file G4GeometryTolerance.hh.

Referenced by GetInstance(), and ~G4GeometryTolerance().

G4double G4GeometryTolerance::fRadTolerance = 1E-9*mm
staticprivate

Definition at line 89 of file G4GeometryTolerance.hh.

Referenced by GetRadialTolerance().


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