name: smsim-geant4-io description: Workflow for SMSimulator Geant4 simulation data input/output. Use when modifying or debugging macro commands, tree-based beam input, ROOT event output, g4input generation, or branch-level data compatibility across apps/sim_deuteron, libs/smg4lib, scripts/event_generator, scripts/simulation, and libs/analysis EventDataReader.
SMSimulator Geant4 IO
Use this skill for simulation input/output pipeline issues only.
Workflow
- Read
references/workflow.mdto locate the current IO entry point. - If the task involves QMD raw text datasets, read
references/qmdrawdata-columns.mdbefore changing parsers or converters. - Edit only the owning files listed in
references/path-map.md. - Run focused command(s) in
references/workflow.md. - Run
scripts/check_sync.shbefore finishing.
When Structure Changes
If files are moved/renamed and this skill becomes stale:
- Update file paths in
references/path-map.md. - Update path checks and change patterns in
scripts/check_sync.sh. - Re-run
scripts/check_sync.shuntil no missing anchors are reported.
Resources
references/workflow.mdreferences/qmdrawdata-columns.mdreferences/path-map.mdscripts/check_sync.sh