You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: t35_positronium_source/readme.md
+22-12Lines changed: 22 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,21 +1,31 @@
1
-
# Benchmark for PositroniumSource based on the ExtendedVSource benchmark
1
+
# Benchmark for PositroniumSource
2
2
3
-
Runs 4 simulations for 4 different decays:
3
+
`PositroniumSource` is the current implementation of positronium gamma emission in Gate, superseding the legacy `ExtendedVSource` (benchmarked in `t17_extended_source`).
4
+
Key improvements over the legacy source:
4
5
5
-
*pPs --> 2 gammas
6
-
*pPs* --> 2 gammas + prompt gamma
7
-
*oPs --> 3 gammas
8
-
*oPs* --> 3gammas + prompt gamma
6
+
*Configurable positronium fractions, lifetimes, and decay kinds per component via dedicated macro commands.
7
+
*Support for oPs pick-off/quenching (a `k2Gamma` channel from an oPs component), which the legacy source did not model.
8
+
*Optional positron range smearing.
9
+
*Explicit `setPositronInteractions` command for precise ROOT-level tagging of each decay channel as `kParaPs`, `kOrthoPs`, or `kDirect`. When this command is omitted, `sourceType` in the ROOT output defaults to `1` (generic source gamma); use `setPositronInteractions` when per-species classification is needed in analysis.
9
10
10
-
where pPs is para-positronium, oPs is ortho-positronium, prompt gamma is deexcitation gamma.
11
+
## Simulated decays
11
12
12
-
We simulate a point source with spherical detector.
13
+
Runs 4 simulations for 4 different decay configurations:
13
14
14
-
The test compares reference energy deposition distributions with ones generated during simulations and validates them by using the two-sample Kolmogorov-Smirnov test.
15
+
* pPs → 2 gammas
16
+
* pPs\* → 2 gammas + prompt gamma
17
+
* oPs → 3 gammas
18
+
* oPs\* → 3 gammas + prompt gamma
15
19
16
-
Null hypothesis is that two two distributions are identical with p-value threshold equals 0.05 (5%).
20
+
where pPs is para-positronium, oPs is ortho-positronium, and the prompt gamma is a deexcitation gamma emitted alongside the positronium decay.
17
21
18
-
Additionally, if data contains signals from other particles test fails because we do not expect them to be present for given macros.
22
+
A point source at the origin is surrounded by a spherical scintillator detector. Each run simulates 1,000,000 primaries.
23
+
24
+
## Validation
25
+
26
+
The test compares reference energy deposition distributions (stored in `data/`) with those generated during simulation, validated using the two-sample Kolmogorov–Smirnov test (p-value threshold 0.05).
27
+
28
+
An additional check verifies that all recorded hits originate from the expected source gammas (`sourceType == 1`). The test fails if any KS test fails or if unexpected particles are detected.
19
29
20
30
## How to run
21
31
@@ -34,7 +44,7 @@ python3 runAnalysis.py output
34
44
Or run both steps at once from the `GateBenchmarks/` root:
0 commit comments