Command-line utilities¶
simulate_pixels.py¶
The main simulation entry point. Run with --help for the full option
list:
simulate_pixels.py --help
Key options:
Option |
Description |
|---|---|
|
Named configuration keyword ( |
|
Path to HDF5 input file (edep-sim output) |
|
Path for the HDF5 output file |
|
Path to pixel layout YAML |
|
Path to detector properties YAML |
|
Path to charge response |
|
|
|
Path to light LUT |
|
Path to SiPM noise spectrum |
|
|
dumpTree.py¶
Converts the ROOT output of edep-sim into the HDF5 format expected by
simulate_pixels.py. Requires ROOT and Geant4 to be installed; it is
independent from the rest of the larnd-sim package.
Converts ROOT file created by edep-sim into HDF5 format
list_config_keys.py¶
Prints all configuration keywords defined in
larndsim/config/config.yaml:
list_config_keys.py
diff_files.py¶
Utility for comparing two larnd-sim HDF5 output files field-by-field. Useful for regression testing after code changes.
sort_packets.py¶
Sorts the packets dataset of a larnd-sim output file by timestamp.
Some downstream tools assume time-ordered packets.