legend-simflow
End-to-end Snakemake workflow to run Monte Carlo simulations of signal and background signatures in the LEGEND experiment and produce probability-density functions (pdfs). Configuration metadata (e.g. rules for generating simulation macros or post-processing settings) is stored at legend-simflow-config.
Features
- Tier-based Snakemake workflow taking Geant4 (remage) Monte Carlo events all the way to analysis-ready pdfs.
- Simulated statistics weighted by the livetime of a user-selected list of data taking runs (run partitioning).
- Fully metadata-driven: a production is configured by editing a single YAML file, no code required. Runs locally or on HPC sites through ready-made Snakemake profiles.
Detector response models
Physics and detector models tuned to real LEGEND-200 data and applied during post-processing:
- HPGe energy: per-detector energy scale and measured energy resolution FWHM(E) used to smear the simulated energy.
- HPGe active volume: dead-layer / active-volume model from detector geometry and metadata.
- HPGe pulse shape and PSD: Extraction of the A/E PSD observables based on drift-time maps and ideal pulse-shape libraries computed with SolidStateDetectors.jl. This is combined with an electronics-response model's fitted to data waveforms.
- Liquid-argon scintillation and SiPMs: scintillation photon generation, photoelectron detection sampled from optical maps, per-photoelectron amplitude resolution, and time clustering reproducing the SiPM time response.
- Detector status: per-run usability and PSD-usability flags.
- Event building: time-coincidence maps (TCM) across detectors to group hits into physics events.
Documentation
Full documentation is hosted at legend-simflow.readthedocs.io. Good entry points:
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file legend_simflow-1.4.0.tar.gz.
File metadata
- Download URL: legend_simflow-1.4.0.tar.gz
- Upload date:
- Size: 417.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72f5f1318cc8f0b469257a70ca23ead625f944d6ca73db8b002e2099607cc3b1
|
|
| MD5 |
d3b670d6227baabbb5cc852fb329da01
|
|
| BLAKE2b-256 |
3a94d69b72335593972384a3fb8a5d596a456d1f081bc6c61457282adee48398
|
Provenance
The following attestation bundles were made for legend_simflow-1.4.0.tar.gz:
Publisher:
distribution.yml on legend-exp/legend-simflow
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
legend_simflow-1.4.0.tar.gz -
Subject digest:
72f5f1318cc8f0b469257a70ca23ead625f944d6ca73db8b002e2099607cc3b1 - Sigstore transparency entry: 2187832465
- Sigstore integration time:
-
Permalink:
legend-exp/legend-simflow@10a3e00a62fbfc45d99580c0aca9d8716460109e -
Branch / Tag:
refs/tags/v1.4.0 - Owner: https://github.com/legend-exp
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
distribution.yml@10a3e00a62fbfc45d99580c0aca9d8716460109e -
Trigger Event:
release
-
Statement type:
File details
Details for the file legend_simflow-1.4.0-py3-none-any.whl.
File metadata
- Download URL: legend_simflow-1.4.0-py3-none-any.whl
- Upload date:
- Size: 185.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d3d3645607089056d553cfe472ad124b7653fe16cced59d2d3af75a071ca355
|
|
| MD5 |
0244870c822f75a50a379d613ee86ab8
|
|
| BLAKE2b-256 |
249c1875ce6458cef9d39f3989003c25d45acca423f0fb073f062ffbfc8dc2e5
|
Provenance
The following attestation bundles were made for legend_simflow-1.4.0-py3-none-any.whl:
Publisher:
distribution.yml on legend-exp/legend-simflow
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
legend_simflow-1.4.0-py3-none-any.whl -
Subject digest:
8d3d3645607089056d553cfe472ad124b7653fe16cced59d2d3af75a071ca355 - Sigstore transparency entry: 2187832472
- Sigstore integration time:
-
Permalink:
legend-exp/legend-simflow@10a3e00a62fbfc45d99580c0aca9d8716460109e -
Branch / Tag:
refs/tags/v1.4.0 - Owner: https://github.com/legend-exp
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
distribution.yml@10a3e00a62fbfc45d99580c0aca9d8716460109e -
Trigger Event:
release
-
Statement type: