sam-fogarty
released this
29 Aug 15:35
·
136 commits
to main
since this release
The main changes:
-
Add script for applying selections to data with external trigger matching (charge_cluster_selections.py)
- Selects only events which have a light trigger, have less than a certain number of hits per charge cluster, and less than a certain number of clusters per event. Current selection defaults are meant to be broad such that we can do further selections later but on a much smaller file.
-
Add script for matching between external triggers and light data processed by ndlar_flow (match_light_to_ext_triggers.py)
- Takes as input a clusters h5 file and a flow processed light h5 file
- Matches between external triggers and light events using PPS timestamp and unix second timestamp
- Saves a file with clusters and light events, with an association between them (note that this file will be relatively large O(GB)).
-
Add input config for module0 MC -> will need to add one for 2x2 and 2x2 MC eventually too
- MC works up to charge_cluster_selections.py, but need to process MC light data with flow in order to check the match_light_to_ext_triggers.py stage