Skip to content

Commit 666e53a

Browse files
committed
Updated to 1.11
1 parent cf1d4f2 commit 666e53a

8 files changed

+94
-187
lines changed

Project.toml

+1-3
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,9 @@ Geant4 = "559df036-b7a0-42fd-85df-7d5dd9d70f44"
66
GeometryBasics = "5c1252a2-5f33-56bf-86c9-59e7332b4326"
77
IGLWrap_jll = "283677c1-8365-580c-84e5-ef4b5d190868"
88
IJulia = "7073ff75-c697-5162-941a-fcdaad2a7d2a"
9+
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
910
Parameters = "d96e819e-fc66-5662-9728-84c9c7592b0a"
1011
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
1112
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
1213
Rotations = "6038ab10-8711-5258-84ad-4b1120ba62dc"
1314
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
14-
15-
[compat]
16-
FHist = "0.10"

tutorial/docs/02-wrapped-classes.ipynb

+3-3
Original file line numberDiff line numberDiff line change
@@ -433,15 +433,15 @@
433433
],
434434
"metadata": {
435435
"kernelspec": {
436-
"display_name": "Julia 1.10.0",
436+
"display_name": "Julia 1.11.1",
437437
"language": "julia",
438-
"name": "julia-1.10"
438+
"name": "julia-1.11"
439439
},
440440
"language_info": {
441441
"file_extension": ".jl",
442442
"mimetype": "application/julia",
443443
"name": "julia",
444-
"version": "1.10.0"
444+
"version": "1.11.1"
445445
}
446446
},
447447
"nbformat": 4,

tutorial/docs/03-geometry.ipynb

+8-8
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@
2121
"outputs": [],
2222
"source": [
2323
"using Geant4\n",
24-
"using Geant4.SystemOfUnits # defines the usints used by Geant4 \n",
25-
"using CairoMakie, Rotations, IGLWrap_jll # to force loading G4Vis extension"
24+
"using Geant4.SystemOfUnits # defines the units used by Geant4 (e.g. MeV, mm, ns, ...) \n",
25+
"using CairoMakie, Rotations, LinearAlgebra, IGLWrap_jll # to force loading G4Vis extension"
2626
]
2727
},
2828
{
2929
"cell_type": "markdown",
3030
"metadata": {},
3131
"source": [
3232
"## Defining Solids\n",
33-
"The first step is to define the solids. The following shapes are defined: `G4Box`, `G4Cons`, `G4Tubs`, `G4Orb`, `G4Sphere`, `G4Trd`, `G4CutTubs`, `G4Para`, `G4Trap`, `G4Torus`, `G4Polycone`, `G4Polyhedra`, `G4EllipticalTube`, `G4Ellipsoid`, `G4EllipticalCone`, `G4Paraboloid`, `G4Hype`, `G4Tet`, `G4ExtrudedSolid`, `G4TwistedBox`, `G4TwistedTrap`, `G4TwistedTrd`, `G4GenericTrap`, `G4TwistedTubs`. In addition there are the boolean shapes: `G4UnionSolid`, `G4SubtractionSolid`, `G4IntersectionSolid`.\n",
34-
"The definition of the constructor parameters can be found [documentation](https://geant4-userdoc.web.cern.ch/UsersGuides/ForApplicationDeveloper/html/Detector/Geometry/geomSolids.html#constructed-solid-geometry-csg-solids)\n",
33+
"The first step is to define the solids. The following shapes are defined: `G4Box`, `G4Cons`, `G4Tubs`, `G4Orb`, `G4Sphere`, `G4Trd`, `G4CutTubs`, `G4Para`, `G4Trap`, `G4Torus`, `G4Polycone`, `G4Polyhedra`, `G4EllipticalTube`, `G4Ellipsoid`, `G4EllipticalCone`, `G4Paraboloid`, `G4Hype`, `G4Tet`, `G4ExtrudedSolid`, `G4TwistedBox`, `G4TwistedTrap`, `G4TwistedTrd`, `G4GenericTrap`, `G4TwistedTubs`. In addition, there are the boolean shapes: `G4UnionSolid`, `G4SubtractionSolid`, `G4IntersectionSolid`.\n",
34+
"The definition of the constructor parameters can be found in the [documentation](https://geant4-userdoc.web.cern.ch/UsersGuides/ForApplicationDeveloper/html/Detector/Geometry/geomSolids.html#constructed-solid-geometry-csg-solids)\n",
3535
"\n",
36-
"Lets define a tube section like the following"
36+
"Lets define a tube section like the following:"
3737
]
3838
},
3939
{
@@ -494,15 +494,15 @@
494494
],
495495
"metadata": {
496496
"kernelspec": {
497-
"display_name": "Julia 1.10.0",
497+
"display_name": "Julia 1.11.1",
498498
"language": "julia",
499-
"name": "julia-1.10"
499+
"name": "julia-1.11"
500500
},
501501
"language_info": {
502502
"file_extension": ".jl",
503503
"mimetype": "application/julia",
504504
"name": "julia",
505-
"version": "1.10.0"
505+
"version": "1.11.1"
506506
}
507507
},
508508
"nbformat": 4,

tutorial/docs/04-physics-list.ipynb

+11-4
Original file line numberDiff line numberDiff line change
@@ -141,21 +141,28 @@
141141
"source": [
142142
"DumpList(app.physics)"
143143
]
144+
},
145+
{
146+
"cell_type": "code",
147+
"execution_count": null,
148+
"metadata": {},
149+
"outputs": [],
150+
"source": []
144151
}
145152
],
146153
"metadata": {
147154
"kernelspec": {
148-
"display_name": "Julia 1.10.0",
155+
"display_name": "Julia 1.11.1",
149156
"language": "julia",
150-
"name": "julia-1.10"
157+
"name": "julia-1.11"
151158
},
152159
"language_info": {
153160
"file_extension": ".jl",
154161
"mimetype": "application/julia",
155162
"name": "julia",
156-
"version": "1.10.0"
163+
"version": "1.11.1"
157164
}
158165
},
159166
"nbformat": 4,
160-
"nbformat_minor": 2
167+
"nbformat_minor": 4
161168
}

tutorial/docs/05-primary-particles.ipynb

+18-4
Original file line numberDiff line numberDiff line change
@@ -356,21 +356,35 @@
356356
"source": [
357357
"scatter(df.pos_x, df.pos_y, df.pos_z)"
358358
]
359+
},
360+
{
361+
"cell_type": "code",
362+
"execution_count": null,
363+
"metadata": {},
364+
"outputs": [],
365+
"source": []
366+
},
367+
{
368+
"cell_type": "code",
369+
"execution_count": null,
370+
"metadata": {},
371+
"outputs": [],
372+
"source": []
359373
}
360374
],
361375
"metadata": {
362376
"kernelspec": {
363-
"display_name": "Julia 1.10.0",
377+
"display_name": "Julia 1.11.1",
364378
"language": "julia",
365-
"name": "julia-1.10"
379+
"name": "julia-1.11"
366380
},
367381
"language_info": {
368382
"file_extension": ".jl",
369383
"mimetype": "application/julia",
370384
"name": "julia",
371-
"version": "1.10.0"
385+
"version": "1.11.1"
372386
}
373387
},
374388
"nbformat": 4,
375-
"nbformat_minor": 2
389+
"nbformat_minor": 4
376390
}

tutorial/docs/06-field.ipynb

+18-4
Original file line numberDiff line numberDiff line change
@@ -136,21 +136,35 @@
136136
"plot(r_values, B_values, xlabel=\"Distance (mm)\", ylabel=\"Magnetic Field (T)\", label=\"\", legend=:bottomright)\n",
137137
"title!(\"Magnetic Field vs. Distance from Wire\")"
138138
]
139+
},
140+
{
141+
"cell_type": "code",
142+
"execution_count": null,
143+
"metadata": {},
144+
"outputs": [],
145+
"source": []
146+
},
147+
{
148+
"cell_type": "code",
149+
"execution_count": null,
150+
"metadata": {},
151+
"outputs": [],
152+
"source": []
139153
}
140154
],
141155
"metadata": {
142156
"kernelspec": {
143-
"display_name": "Julia 1.10.0",
157+
"display_name": "Julia 1.11.1",
144158
"language": "julia",
145-
"name": "julia-1.10"
159+
"name": "julia-1.11"
146160
},
147161
"language_info": {
148162
"file_extension": ".jl",
149163
"mimetype": "application/julia",
150164
"name": "julia",
151-
"version": "1.10.0"
165+
"version": "1.11.1"
152166
}
153167
},
154168
"nbformat": 4,
155-
"nbformat_minor": 2
169+
"nbformat_minor": 4
156170
}

0 commit comments

Comments
 (0)