-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use custom overlap check instead of the one from G4GDML (#83)
* call overlap check after reading all GDML files * reduce verbosity of overlap check; do not show lines of _succeeded_ checks * also increase the number of points in overlap check, increasing from the default of 1000 to 3000 * this now catches overlaps that were not previously reported...
- Loading branch information
Showing
5 changed files
with
57 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?xml version="1.0" ?> | ||
<gdml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://service-spi.web.cern.ch/service-spi/app/releases/GDML/schema/gdml.xsd"> | ||
<define/> | ||
<materials/> | ||
<solids> | ||
<box name="World" x="10" y="10" z="10" lunit="m"/> | ||
<box name="Box" x="1" y="1" z="1" lunit="m"/> | ||
</solids> | ||
<structure> | ||
<volume name="Box"> | ||
<materialref ref="G4_Pb"/> | ||
<solidref ref="Box"/> | ||
</volume> | ||
<volume name="World"> | ||
<materialref ref="G4_Pb"/> | ||
<solidref ref="World"/> | ||
<physvol name="Box1"> | ||
<volumeref ref="Box"/> | ||
<position name="Box_pos" x="0" y="0" z="0" unit="m"/> | ||
<rotation name="Box_rot" x="0" y="0" z="0" unit="rad"/> | ||
</physvol> | ||
<physvol name="Box2"> | ||
<volumeref ref="Box"/> | ||
<position name="Box_pos" x="0" y="0.5" z="0" unit="m"/> | ||
<rotation name="Box_rot" x="0" y="0" z="0" unit="rad"/> | ||
</physvol> | ||
</volume> | ||
</structure> | ||
<setup name="Default" version="1.0"> | ||
<world ref="World"/> | ||
</setup> | ||
</gdml> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/RMG/Geometry/IncludeGDMLFile gdml/overlaps.gdml | ||
/run/initialize |