53 : target(theTarget), tolerance(theTolerance),
54 resolution(numberOfPoints), maxErr(1), verbosity(theVerbosity)
135 if (depth == 0)
return;
136 if (depth != -1) depth--;
137 if (slevel != 0) slevel--;
151 std::set<const G4LogicalVolume *> tested;
156 for( iDaughter=0; iDaughter<nDaughter; ++iDaughter )
165 std::pair<std::set<const G4LogicalVolume *>::iterator,
G4bool>
166 there = tested.insert(daughterLogical);
167 if (!there.second)
continue;
void TestRecursiveOverlap(G4int sLevel=0, G4int depth=-1)
void SetResolution(G4int points)
void SetVerbosity(G4bool verbosity)
G4GeomTestVolume(G4VPhysicalVolume *theTarget, G4double theTolerance=0.0, G4int numberOfPoints=10000, G4bool theVerbosity=true)
G4VPhysicalVolume * GetDaughter(const G4int i) const
void SetTolerance(G4double tolerance)
G4double GetTolerance() const
G4int GetErrorsThreshold() const
G4int GetResolution() const
G4ErrorTarget * theTarget
G4bool GetVerbosity() const
G4int GetNoDaughters() const
G4LogicalVolume * GetLogicalVolume() const
T max(const T t1, const T t2)
brief Return the largest of the two arguments
G4VPhysicalVolume * target
void SetErrorsThreshold(G4int max)
virtual G4bool CheckOverlaps(G4int res=1000, G4double tol=0., G4bool verbose=true, G4int errMax=1)