69 theFullGeometry(aGeometry),
73 theNewWorldBox(new
G4Box(
"world",1.,1.,1.)),
124 "Cannot create full world. Exiting...");
168 theNewLV = aMotherLV;
189 G4cout <<
"Warning: Primary generator is not OlapGenerator!" <<
G4endl
190 <<
"Overlap Detection will not work!" <<
G4endl;
208 void OlapDetConstr::DrawPolyOutline()
213 G4double ex(0), first_r(0), first_z(0);
224 for (
G4int i=0; i<nr; i++)
247 for (
G4int i=0; i<nr; i++)
295 void OlapDetConstr::ConstructNewWorld()
320 G4double worldDim = std::sqrt(extX*extX + extY*extY + extZ*extZ);
321 worldDim += worldDim/100.;
339 delete theNewWorldRot;
341 std::sin(thePhi)*std::sin(theTheta),
361 for (
G4int i=0; i<nr; i++)
385 if (dynamic_cast<G4PVPlacement*>(pv))
438 void OlapDetConstr::DeleteNewWorld()
444 G4cout <<
"OlapDetConstr::DeleteNewWorld(): no daughter in NewWorld!"
453 "Too many daughters in NewWorldLV! Exiting...");
462 for (
G4int i=0; i<nrd; i++)
478 void OlapDetConstr::ResetColors()
489 void OlapDetConstr::ColorFirstLevel()