Skip to content

Commit

Permalink
update materials with mass fraction fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lobis committed Jul 27, 2024
1 parent 1883e46 commit 1611f4e
Show file tree
Hide file tree
Showing 33 changed files with 25,083 additions and 9,179 deletions.
1,071 changes: 784 additions & 287 deletions gdml/BabyIAXO/Chamber.gdml

Large diffs are not rendered by default.

1,071 changes: 784 additions & 287 deletions gdml/BabyIAXO/ChamberAndPipe.gdml

Large diffs are not rendered by default.

1,071 changes: 784 additions & 287 deletions gdml/BabyIAXO/CompleteVeto1Layers.gdml

Large diffs are not rendered by default.

1,071 changes: 784 additions & 287 deletions gdml/BabyIAXO/CompleteVeto2Layers.gdml

Large diffs are not rendered by default.

1,071 changes: 784 additions & 287 deletions gdml/BabyIAXO/CompleteVeto3Layers.gdml

Large diffs are not rendered by default.

1,071 changes: 784 additions & 287 deletions gdml/BabyIAXO/CompleteVeto4Layers.gdml

Large diffs are not rendered by default.

1,071 changes: 784 additions & 287 deletions gdml/BabyIAXO/Default.gdml

Large diffs are not rendered by default.

1,071 changes: 784 additions & 287 deletions gdml/BabyIAXO/DefaultXenon.gdml

Large diffs are not rendered by default.

1,069 changes: 783 additions & 286 deletions gdml/BabyIAXO/DetectorPipe.gdml

Large diffs are not rendered by default.

1,071 changes: 784 additions & 287 deletions gdml/BabyIAXO/NoVetos.gdml

Large diffs are not rendered by default.

1,069 changes: 783 additions & 286 deletions gdml/BabyIAXO/Shielding.gdml

Large diffs are not rendered by default.

1,071 changes: 784 additions & 287 deletions gdml/BabyIAXO/ShieldingLayers.gdml

Large diffs are not rendered by default.

1,071 changes: 784 additions & 287 deletions gdml/BabyIAXO/ShieldingLayersNoCopperBox.gdml

Large diffs are not rendered by default.

1,069 changes: 783 additions & 286 deletions gdml/BabyIAXO/Veto.gdml

Large diffs are not rendered by default.

1,069 changes: 783 additions & 286 deletions gdml/BabyIAXO/VetoSystem.gdml

Large diffs are not rendered by default.

1,071 changes: 784 additions & 287 deletions gdml/BabyIAXO/WithTelescopePipe.gdml

Large diffs are not rendered by default.

1,071 changes: 784 additions & 287 deletions gdml/IAXO-D1/Chamber.gdml

Large diffs are not rendered by default.

1,071 changes: 784 additions & 287 deletions gdml/IAXO-D1/ChamberAndPipe.gdml

Large diffs are not rendered by default.

1,071 changes: 784 additions & 287 deletions gdml/IAXO-D1/CompleteVeto1Layers.gdml

Large diffs are not rendered by default.

1,071 changes: 784 additions & 287 deletions gdml/IAXO-D1/CompleteVeto2Layers.gdml

Large diffs are not rendered by default.

1,071 changes: 784 additions & 287 deletions gdml/IAXO-D1/CompleteVeto3Layers.gdml

Large diffs are not rendered by default.

1,071 changes: 784 additions & 287 deletions gdml/IAXO-D1/CompleteVeto4Layers.gdml

Large diffs are not rendered by default.

1,071 changes: 784 additions & 287 deletions gdml/IAXO-D1/Default.gdml

Large diffs are not rendered by default.

1,071 changes: 784 additions & 287 deletions gdml/IAXO-D1/DefaultXenon.gdml

Large diffs are not rendered by default.

1,069 changes: 783 additions & 286 deletions gdml/IAXO-D1/DetectorPipe.gdml

Large diffs are not rendered by default.

1,071 changes: 784 additions & 287 deletions gdml/IAXO-D1/NoVetos.gdml

Large diffs are not rendered by default.

1,069 changes: 783 additions & 286 deletions gdml/IAXO-D1/Shielding.gdml

Large diffs are not rendered by default.

1,071 changes: 784 additions & 287 deletions gdml/IAXO-D1/ShieldingLayers.gdml

Large diffs are not rendered by default.

1,071 changes: 784 additions & 287 deletions gdml/IAXO-D1/ShieldingLayersNoCopperBox.gdml

Large diffs are not rendered by default.

1,069 changes: 783 additions & 286 deletions gdml/IAXO-D1/Veto.gdml

Large diffs are not rendered by default.

1,069 changes: 783 additions & 286 deletions gdml/IAXO-D1/VetoSystem.gdml

Large diffs are not rendered by default.

1,071 changes: 784 additions & 287 deletions gdml/IAXO-LiquidO/Default.gdml

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions generator/src/main/kotlin/Materials.kt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import space.kscience.gdml.*

const val materialsUrl = "https://raw.githubusercontent.com/lobis/geant4-materials-xml/main/materials.xml"
const val materialsUrl = "https://raw.githubusercontent.com/rest-for-physics/materials/main/output/materials.xml"

private val materialsGdml = Gdml {
loadMaterialsFromUrl(materialsUrl)
Expand All @@ -19,8 +19,8 @@ fun resolveMaterialByRef(material: Materials): GdmlMaterial {

enum class Materials(val ref: GdmlRef<GdmlMaterial>) {
Air(resolve("G4_AIR")),
GasArgon(resolve("GasMixture-Argon2%Isobutane1.4Bar")),
GasXenon(resolve("GasMixture-XenonNeon2.3%Isobutane1.05Bar")),
GasArgon(resolve("Argon1%Isobutane1.4bar")),
GasXenon(resolve("XenonNeon2.3%Isobutane1.05bar")),
Vacuum(resolve("G4_Galactic")),
Copper(resolve("G4_Cu")),
Teflon(resolve("G4_TEFLON")),
Expand Down

0 comments on commit 1611f4e

Please sign in to comment.