Geant4-11
|
#include <G4GeomTestVolume.hh>
Public Member Functions | |
G4GeomTestVolume (G4VPhysicalVolume *theTarget, G4double theTolerance=0.0, G4int numberOfPoints=10000, G4bool theVerbosity=true) | |
G4int | GetErrorsThreshold () const |
G4int | GetResolution () const |
G4double | GetTolerance () const |
G4bool | GetVerbosity () const |
void | SetErrorsThreshold (G4int max) |
void | SetResolution (G4int points) |
void | SetTolerance (G4double tolerance) |
void | SetVerbosity (G4bool verbosity) |
void | TestOverlapInTree () const |
void | TestRecursiveOverlap (G4int sLevel=0, G4int depth=-1) |
~G4GeomTestVolume () | |
Private Attributes | |
G4int | maxErr = 1 |
G4int | resolution |
G4VPhysicalVolume * | target |
G4double | tolerance |
G4bool | verbosity |
Definition at line 43 of file G4GeomTestVolume.hh.
G4GeomTestVolume::G4GeomTestVolume | ( | G4VPhysicalVolume * | theTarget, |
G4double | theTolerance = 0.0 , |
||
G4int | numberOfPoints = 10000 , |
||
G4bool | theVerbosity = true |
||
) |
Definition at line 43 of file G4GeomTestVolume.cc.
G4GeomTestVolume::~G4GeomTestVolume | ( | ) |
Definition at line 54 of file G4GeomTestVolume.cc.
G4int G4GeomTestVolume::GetErrorsThreshold | ( | ) | const |
Definition at line 107 of file G4GeomTestVolume.cc.
References maxErr.
G4int G4GeomTestVolume::GetResolution | ( | ) | const |
Definition at line 75 of file G4GeomTestVolume.cc.
References resolution.
G4double G4GeomTestVolume::GetTolerance | ( | ) | const |
Definition at line 59 of file G4GeomTestVolume.cc.
References tolerance.
G4bool G4GeomTestVolume::GetVerbosity | ( | ) | const |
Definition at line 91 of file G4GeomTestVolume.cc.
References verbosity.
void G4GeomTestVolume::SetErrorsThreshold | ( | G4int | max | ) |
Definition at line 115 of file G4GeomTestVolume.cc.
References G4INCL::Math::max(), and maxErr.
Referenced by G4GeometryMessenger::SetNewValue(), and TestRecursiveOverlap().
void G4GeomTestVolume::SetResolution | ( | G4int | points | ) |
Definition at line 83 of file G4GeomTestVolume.cc.
References resolution.
Referenced by G4GeometryMessenger::SetNewValue().
void G4GeomTestVolume::SetTolerance | ( | G4double | tolerance | ) |
Definition at line 67 of file G4GeomTestVolume.cc.
References tolerance.
Referenced by G4GeometryMessenger::SetNewValue().
void G4GeomTestVolume::SetVerbosity | ( | G4bool | verbosity | ) |
Definition at line 99 of file G4GeomTestVolume.cc.
References verbosity.
Referenced by G4GeometryMessenger::SetNewValue().
void G4GeomTestVolume::TestOverlapInTree | ( | ) | const |
Definition at line 123 of file G4GeomTestVolume.cc.
References G4VPhysicalVolume::CheckOverlaps(), G4cout, G4endl, G4LogicalVolume::GetDaughter(), G4VSolid::GetEntityType(), G4VPhysicalVolume::GetLogicalVolume(), G4VPhysicalVolume::GetName(), G4LogicalVolume::GetNoDaughters(), G4LogicalVolume::GetSolid(), maxErr, resolution, target, tolerance, and verbosity.
Definition at line 172 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().
|
private |
Definition at line 83 of file G4GeomTestVolume.hh.
Referenced by GetErrorsThreshold(), SetErrorsThreshold(), TestOverlapInTree(), and TestRecursiveOverlap().
|
private |
Definition at line 82 of file G4GeomTestVolume.hh.
Referenced by GetResolution(), SetResolution(), TestOverlapInTree(), and TestRecursiveOverlap().
|
private |
Definition at line 80 of file G4GeomTestVolume.hh.
Referenced by TestOverlapInTree(), and TestRecursiveOverlap().
|
private |
Definition at line 81 of file G4GeomTestVolume.hh.
Referenced by GetTolerance(), SetTolerance(), TestOverlapInTree(), and TestRecursiveOverlap().
|
private |
Definition at line 84 of file G4GeomTestVolume.hh.
Referenced by GetVerbosity(), SetVerbosity(), TestOverlapInTree(), and TestRecursiveOverlap().