Skip to content

Commit

Permalink
fixed overlaps
Browse files Browse the repository at this point in the history
  • Loading branch information
lobis committed Mar 7, 2024
1 parent 16a4405 commit 6863148
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions generator/src/main/kotlin/BabyIAXO/Chamber.kt
Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,12 @@ open class Chamber(
}
val gasSolidAux2 =
gdml.solids.subtraction(gasSolidAux1, cathodeWindowAluminiumSolid, "gasSolidAux2") {
position(z = Height / 2 - CathodeWindowAliminiumThickness / 2) { unit = LUnit.MM }
position(z = Height / 2 - CathodeWindowMylarThickness - CathodeWindowAliminiumThickness / 2) {
unit = LUnit.MM
}
}
val gasSolid = gdml.solids.subtraction(gasSolidAux2, cathodeWindowMylarSolid, "gasSolid") {
position(z = Height / 2 + CathodeWindowAliminiumThickness - CathodeWindowMylarThickness / 2) {
position(z = Height / 2 - CathodeWindowMylarThickness / 2) {
unit = LUnit.MM
}
}
Expand All @@ -230,12 +232,14 @@ open class Chamber(
rotation(z = 45) { unit = AUnit.DEG }
}
physVolume(cathodeWindowMylarVolume, name = "cathodeWindowMylar") {
position(z = Height / 2 + CathodeWindowAliminiumThickness - CathodeWindowMylarThickness / 2) {
position(z = Height / 2 - CathodeWindowMylarThickness / 2) {
unit = LUnit.MM
}
}
physVolume(cathodeWindowAluminiumVolume, name = "cathodeWindowAluminium") {
position(z = Height / 2 - CathodeWindowAliminiumThickness / 2) { unit = LUnit.MM }
position(z = Height / 2 - CathodeWindowMylarThickness - CathodeWindowAliminiumThickness / 2) {
unit = LUnit.MM
}
}
physVolume(cathodeTeflonDiskVolume, name = "cathodeTeflonDisk") {
position(z = Height / 2 + CathodeTeflonDiskThickness / 2) { unit = LUnit.MM }
Expand Down

0 comments on commit 6863148

Please sign in to comment.