Skip to content

Add a script to split HDF file based on event list from scintillator for polarization calibration - #291

Open
sujaymate wants to merge 1 commit into
cositools:develop/emfrom
sujaymate:pol_cal_HDF_split_update
Open

sujaymate wants to merge 1 commit into
cositools:develop/emfrom
sujaymate:pol_cal_HDF_split_update

Conversation

@sujaymate

Copy link
Copy Markdown

No description provided.

@ckierans

ckierans commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator

Thanks, Sujay!

How much has this been tested?

What is the format for the text file with Event IDs? Does that correspond to EventIDs in the Nuclearizer sense (starting with Event ID 1), or something else? I worry about a mismatch there since running Nuclearizer on the new split file will number its events 1…N, so the original IDs might be lost. Does that matter?

@sujaymate

Copy link
Copy Markdown
Author

It has been tested to the extent that a sample event list from Nicole was used to create a separate HDF file which "ran" successfully through nuclearizer. Will need more testing once Nicole takes a detailed look at the polarization data.

About your question on eventIDs: The list she gives is a row number in the EventID table. The script then correctly picks up the corresponding events in FEE Hits and EventIndex table, reassigns the eventIDs and dumps the new file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants