Repository navigation
Step file input with sensor, hits and presupera output (format 3) - #18
Open
OmarAlterkait wants to merge 2 commits into
Open
OmarAlterkait wants to merge 2 commits into
OmarAlterkait wants to merge 2 commits into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reads edep-sim step files and writes
sensor,hitsandpresuperaper readout (format 3). edep-sim files as input still give the format-2 output.production/stepfile.py: step file reader; group 2 is a new group at every change of the step file's group or of volume, numbered per volume.--regroupdefines groups in the simulation instead.hits_threshold/16. Pixel sensor values are int32. presupera:group_to_track,group2_to_group1.confighas the same settings in each file, including what is needed to recompute charge and photons, and the pixel units of the response file that was loaded.load_step3,load_hits3,charge_and_photonsinproduction/load.py; docs indocs/production/data-formats.md.Also affects format 2: sensor datasets are written as one chunk each. Same values, different chunking.
Checked: full test suite including slow: 302 passed, 4 skipped. Same events, 10 events at equal thresholds, summed difference to the format-2 output: sensor 0.024% (wire) / 0.085% (pixel), hits 0.15% / 0.09%. Full chain from committed code on 10 and 200 events passes the consistency checks. No separate GPU closure test was run. Viewers and the notebook do not read format 3 yet.
Related: drinkingkazu/edep-sim#2 (writes the step files), drinkingkazu/pysupera#1, drinkingkazu/dprod#1 (to be merged last).