Geant4  10.01.p02
G4GeomTestVolume Class Reference

#include <G4GeomTestVolume.hh>

+ Collaboration diagram for G4GeomTestVolume:

Public Member Functions

 G4GeomTestVolume (G4VPhysicalVolume *theTarget, G4double theTolerance=0.0, G4int numberOfPoints=10000, G4bool theVerbosity=true)
 
 ~G4GeomTestVolume ()
 
G4double GetTolerance () const
 
void SetTolerance (G4double tolerance)
 
G4int GetResolution () const
 
void SetResolution (G4int points)
 
G4bool GetVerbosity () const
 
void SetVerbosity (G4bool verbosity)
 
G4int GetErrorsThreshold () const
 
void SetErrorsThreshold (G4int max)
 
void TestRecursiveOverlap (G4int sLevel=0, G4int depth=-1)
 

Private Attributes

G4VPhysicalVolumetarget
 
G4double tolerance
 
G4int resolution
 
G4int maxErr
 
G4bool verbosity
 

Detailed Description

Definition at line 49 of file G4GeomTestVolume.hh.

Constructor & Destructor Documentation

G4GeomTestVolume::G4GeomTestVolume ( G4VPhysicalVolume theTarget,
G4double  theTolerance = 0.0,
G4int  numberOfPoints = 10000,
G4bool  theVerbosity = true 
)

Definition at line 49 of file G4GeomTestVolume.cc.

G4GeomTestVolume::~G4GeomTestVolume ( )

Definition at line 60 of file G4GeomTestVolume.cc.

Member Function Documentation

G4int G4GeomTestVolume::GetErrorsThreshold ( ) const

Definition at line 113 of file G4GeomTestVolume.cc.

References maxErr.

G4int G4GeomTestVolume::GetResolution ( ) const

Definition at line 81 of file G4GeomTestVolume.cc.

References resolution.

G4double G4GeomTestVolume::GetTolerance ( ) const

Definition at line 65 of file G4GeomTestVolume.cc.

References tolerance.

G4bool G4GeomTestVolume::GetVerbosity ( ) const

Definition at line 97 of file G4GeomTestVolume.cc.

References verbosity.

void G4GeomTestVolume::SetErrorsThreshold ( G4int  max)

Definition at line 121 of file G4GeomTestVolume.cc.

References G4INCL::Math::max(), and maxErr.

Referenced by G4GeometryMessenger::SetNewValue(), and TestRecursiveOverlap().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4GeomTestVolume::SetResolution ( G4int  points)

Definition at line 89 of file G4GeomTestVolume.cc.

References resolution.

Referenced by G4GeometryMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4GeomTestVolume::SetTolerance ( G4double  tolerance)

Definition at line 73 of file G4GeomTestVolume.cc.

References tolerance.

Referenced by G4GeometryMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4GeomTestVolume::SetVerbosity ( G4bool  verbosity)

Definition at line 105 of file G4GeomTestVolume.cc.

References verbosity.

Referenced by G4GeometryMessenger::SetNewValue().

+ Here is the caller graph for this function:

void G4GeomTestVolume::TestRecursiveOverlap ( G4int  sLevel = 0,
G4int  depth = -1 
)

Definition at line 129 of file G4GeomTestVolume.cc.

References G4VPhysicalVolume::CheckOverlaps(), G4LogicalVolume::GetDaughter(), G4VPhysicalVolume::GetLogicalVolume(), G4LogicalVolume::GetNoDaughters(), maxErr, resolution, SetErrorsThreshold(), target, TestRecursiveOverlap(), tolerance, and verbosity.

Referenced by G4GeometryMessenger::RecursiveOverlapTest(), and TestRecursiveOverlap().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4int G4GeomTestVolume::maxErr
private
G4int G4GeomTestVolume::resolution
private

Definition at line 84 of file G4GeomTestVolume.hh.

Referenced by GetResolution(), SetResolution(), and TestRecursiveOverlap().

G4VPhysicalVolume* G4GeomTestVolume::target
private

Definition at line 82 of file G4GeomTestVolume.hh.

Referenced by TestRecursiveOverlap().

G4double G4GeomTestVolume::tolerance
private

Definition at line 83 of file G4GeomTestVolume.hh.

Referenced by GetTolerance(), SetTolerance(), and TestRecursiveOverlap().

G4bool G4GeomTestVolume::verbosity
private

Definition at line 86 of file G4GeomTestVolume.hh.

Referenced by GetVerbosity(), SetVerbosity(), and TestRecursiveOverlap().


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